Sounds good

Do you want me to try the lines for the dsl mta's

I lost that email

Will try if you'll resend the code.
-A

 -----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Len Conrad
Sent:   Monday, January 06, 2003 10:16 AM
To:     [EMAIL PROTECTED]
Subject:        [IMGate] some new lines for header_checks.regexp



/^Subject:.*(       |\.\.\.\.\.\.|\. \. \. \.|-\-\-\-\-|_____)/ 554 ACL 3
/^Subject:.*(a d v|adv\:|adv\]|adv\)|adv\-|adv\/)/ 554 ACL 4
/^Subject:.*(xxx|fuck|teensex|suck|clit|hgh|viagra|penis|cum
|Phentermine|Viagra)/ 554 ACL 5

/[\x00-\x08\x0b\x0c\x0e-\x1f\x7f-\x9f\xff]/ REJECT illegal characters in
Subject:
/(?:[a-z0-9]?[\x80-\xff]){6,}/  REJECT illegal characters in Subject:

The last two reject messages with binary codes in the Subject:.   The other
approach is to use

strict_7bit_headers = yes

... but this is not logged, just rejected silently.  Rejecting binary with
header_checks.regexp logs the reject.

Len



Reply via email to