fetchmail-friends
[Top] [All Lists]

Re: [fetchmail] [PATCH] Debian bug #156592 again + update

2003-08-06 16:33:12
"Eric S. Raymond" <esr(_at_)thyrsus(_dot_)com> writes:

What is this patch supposed to actually accomplish?  (The list archives
seem to be unreachable.)

When an arbitrary port is specified with the smtphost keyword
(i.e. "smpthost host/port"), port is not stripped from email addresses
(as ctl->destaddr is set in smtp_open), so fetchmail uses invalid
email addresses and smtp hosts reject mail.  My patch fixes this
behavior (last attempt do no introduce another bug :-)).

Another workaround is to use the smtpaddress keyword, but fetchmail
should anyway strip the port from email addresses if smtpaddress is not
specified.

Cheers,
Benjamin

-- 
  .''`.
 ; ;' ;      Debian GNU/Linux     |   Benjamin Drieu
 `. `'    http://www.debian.org/  |  <benj(_at_)debian(_dot_)org>
   `-    

Attachment: pgp2pnPSX03kz.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>