[Dovecot] Patch for vpopmail roaming users support

Timo Sirainen tss at iki.fi
Tue Jun 7 16:57:16 EEST 2011


On Tue, 2011-06-07 at 08:52 -0500, Matt Brookings wrote:
> >> +                  /*
> >> +                          vpopmail 5.4 does not understand IPv6
> >> +                  */
> >> +
> >> +                  if (!(strcmp(host, "::1")))
> >> +                         host = "127.0.0.1";
> > 
> > Does this code really matter? Wouldn't SMTP relay be open from localhost
> > always anyway?
> 
> Unfortunately, the 5.4 branch does not understand "::1" as the loopback,
> and it parses the value incorrectly, leading to an open relay situation.
>  Not all systems allow localhost to relay via SMTP without authentication.

Doesn't it also mean that if someone connects via a remote IPv6 address,
it again leads to open relay? How about the attached patch instead?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: text/x-patch
Size: 737 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20110607/ef18a8a4/attachment.bin>


More information about the dovecot mailing list