Re: [Exim] Where to put 'acl_smtp_data' section?

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Erik Enge
CC: Nico Erfurth, exim-users
Assumpte: Re: [Exim] Where to put 'acl_smtp_data' section?
On 17 Dec 2002, Erik Enge wrote:

> acl_check_data:
>
>   # Only spammers put 8-bit junk in "Subject" and "From".
>   # This should keep the Asian spammers out, at least until
>   # they figure out about RFC 2047.
>   deny    condition = ${if match {$h_subject:}{\N[\x80-\xFF]{3,}\N} {yes}{no}}
>           message   = 8-bit characters not allowed in subject\n\
>                       (see RFC 2822, sections 3.6.5, 2.2.1)
>   deny    condition = ${if match {$h_from:}   {\N[\x80-\xFF]{3,}\N} {yes}{no}}
>           message   = 8-bit characters not allowed in header addresses\n\
>                       (see RFC 2822, sections 3.4, 3.2.4, 3.2.5)
>   # Stop the spam from .kr domains
>   require message = no .kr spam allowed - contact postmaster@???
>           !sender_domains = *.kr
>           condition = ${if match {\N\.kr$\N}{$h_reply_to} {0} {1}}

>
> If I run Exim with this configuration it now denies all mail. Did I
> manage to mistype something?


I don't see any "accept" statement...

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.