Le 14/02/2011 22:22, mouss a écrit : > >> # MAL FORMATED EMAIL ADDRESS >> >> /^From:.*\.@.*/ REJECT "1 - Your Email address is not compliant with >> RFC, Go Away" >> >> /^From:.*<.*\.\..*@.*>/ REJECT "2 - Your Email address is not compliant with >> RFC, Go Away" >> > > > > you can probably make all that simpler. > if /^From:/ > /\.@/ REJECT 1 blah blah > /\.\./ REJECT 2 blah blah > /(\[|\].....)/ REJECT 3 or 4 blah blah > endif >
me saying to me: nop. that's not the same thing. forget about this part. but anyway: > > do not invent new rules. besides, will these reject a lot of spam? and > will they reject spam that can't be rejected via safer mechanisms? if you have spam that gets through your filter, consider - blacklisting the origin - training your Bayes - adding spamassassin rules (but don't rely on a single spam "sign". use META rules or create rules that add few points to make the message exceed the threshold).