[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sloppy option



On 22-11-2003 at 02:03:07AM +0200, Matti Aarnio wrote:
MA> The 'S' thing in  smtpserver.conf  works only, if the remote ends
MA> greets with  HELO/EHLO.  But there are some weird clients that
MA> don't bother to do even that :-(
MA> 
MA> I was trying to figure out, what was hammering one work server of mine
MA> with that utterly sloppy "start straight with 'MAIL FROM:foo@bar'"
MA> thingie.
MA> 
Some mail clients make space between ":" and "<" (with normal sequence HELO before).

Maybe You thought about some option to don't accept messages "MAIL FROM:<>"?
policytest.c:
1446    if (len == 0) /* MAIL FROM:<> -- error message ? */
1447      return 0;   /* We accept it, sigh.. */

Here "-1" and next nice option for spammers :-)

BTW, someone should think up SMTPng with better antispam mechanism.

Bartek.
GPG-key-ID:  0x948DE45D - http://www.bartek.indigo.pl/public_key.txt
Fingerprint: 95E9 8E2D 1801 7864 2244  6EAA 03E5 764D 948D E45D

PGP signature