[Dovecot] Patch for vpopmail roaming users support

Matt Brookings matt at inter7.com
Tue Jun 7 16:52:58 EEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/07/2011 08:47 AM, Timo Sirainen wrote:
> On Tue, 2011-06-07 at 08:43 -0500, Matt Brookings wrote:
>> Timo, here is a patch against the Mercurial repository that fixes and
>> updates the support for roaming users under the vpopmail module.
> 
> OK, but one question:
> 
>> +                  /*
>> +                          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.

When I have this situation sorted out, I'll send along another patch
that either removes this, or uses the new code.
- -- 
/*
    Matt Brookings <matt at inter7.com>       GnuPG Key FAE0672C
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3uLToACgkQIwet2/rgZyxZTQCeI53+ejF6gCGPW+3wlSP75YN2
IUQAn31S+tWcw59QzbRqyvjPf4mIsXLL
=QI9m
-----END PGP SIGNATURE-----


More information about the dovecot mailing list