From: Nico G. <ni...@ng...> - 2005-08-15 18:55:15
|
Hi, * Rob Funk <rf...@fu...> [2005-08-15 18:48]: > Nico Golde wrote: > > I received this bug message: > > When i do 'fetchmail --bsmtp test.mail' > > test.mail looks like that: > > > > MAIL FROM:us...@us... > > RCPT TO: us...@us... > > DATA.. > > There are supposed to be <angle brackets> around those email addresses. > I'm a bit concerned that they aren't there. It should look like: > > MAIL FROM:<us...@us...> > RCPT TO:<us...@us...> --- sink.c 2005-08-15 18:54:07.000000000 +0200 +++ la.c 2005-08-15 18:54:58.000000000 +0200 @@ -721,7 +721,7 @@ /* see the ap computation under the SMTP branch */ fprintf(sinkfp, - "MAIL FROM:%s", (msg->return_path[0]) ? msg->return_path : user); + "MAIL FROM:<%s>", (msg->return_path[0]) ? msg->return_path : user); if (ctl->pass8bits || (ctl->mimemsg & MSG_IS_8BIT)) fputs(" BODY=8BITMIME", sinkfp); @@ -746,7 +746,7 @@ for (idp = msg->recipients; idp; idp = idp->next) if (idp->val.status.mark == XMIT_ACCEPT) { - fprintf(sinkfp, "RCPT TO: %s\r\n", + fprintf(sinkfp, "RCPT TO:<%s>\r\n", rcpt_address (ctl, idp->id, 1)); (*good_addresses)++; } Regards Nico -- Nico Golde - JAB: ni...@ja... | GPG: 0x73647CFF http://www.ngolde.de | http://www.muttng.org | http://grml.org VIM has two modes - the one in which it beeps and the one in which it doesn't -- encrypted mail preferred |