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

Tony Finch writes:
> On Wed, 2 Mar 2005, Justin Mason wrote:
> > Shane Williams writes:
> > > I noticed the HELO_DYNAMIC_* thread and the conclusion that IMP adding
> > > a Received header may be a source of problems.
> >
> > I think the problem is being caused by IMP being "too good" at
> > generating a Received header that looks like a normal one added
> > by an MTA.
> 
> How is this different from authenticated SMTP submission?
> 
> > Could someone open a bug about this?  we may indeed be able to
> > look for the "with HTTP" and ignore that.
> 
> That was already added along with the esmtpa/esmtpsa/asmtp protocol
> tokens.

both correct, good points - thx Tony!

In fact, HELO_DYNAMIC* et al shouldn't fire for authenticated
handovers, and yep, "with HTTP" implies an auth handover.

here's an idea of the patch -- I'm on a plane right now, but someone
remind me when they see this mail and I can post the patch to a bug ;)

header HELO_DYNAMIC_IPADDR X-Spam-Relays-Untrusted =~ /^[^\]]+ 
helo=[a-z]\S*\d+[^\d\s]\d+[^\d\s]\d+[^\d\s]\d+[^\d\s][^\.]*\.\S+\.\S+/i

becomes:

header HELO_DYNAMIC_IPADDR X-Spam-Relays-Untrusted =~ /^[^\]]+ 
helo=[a-z]\S*\d+[^\d\s]\d+[^\d\s]\d+[^\d\s]\d+[^\d\s][^\.]*\.\S+\.\S+[^\]]+ 
auth= /i

so that "auth=HTTP",  "auth=esmtpa", etc. handovers are ignored.

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFCKI5bMJF5cimLx9ARAi+KAJ9RtBYcmzN+nQ1dA5LuimvohiU12ACfVM63
oDoEMKv80sdFXxPliXZrT9A=
=sjPZ
-----END PGP SIGNATURE-----

Reply via email to