Re: [Exim] cannot check header contents in ACL for RCPT (onl…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Niels Dettenbach
CC: exim-users
Sujet: Re: [Exim] cannot check header contents in ACL for RCPT (only possible in ACL for DATA)
On Mon, 17 Feb 2003, Niels Dettenbach wrote:

> "cannot check header contents in ACL for RCPT (only possible in ACL for DATA)"


It means exactly what it says. At the time RCPT is received, the
contents of the message have not yet been received.

> The only ACL-related config seems to be:
>
> acl_smtp_rcpt = acl_check_rcpt
>
> and in ACL-section:
>
> acl_check_rcpt:
>
>   deny    local_parts   = ^.*[@%!/|]

>
>   accept  local_parts   = postmaster
>           domains       = +local_domains
>           verify        = recipient

>
>    require verify        = sender

>
>    deny   senders = :
>           message = A valid sender header is required for bounces
>           log_message = Absender Header Fehler
>           !verify  = header_sender

>
>    deny   senders = :
>           message = A valid header syntax is required for bounces
>           log_message = Header Syntax Fehler
>           !verify  = header_syntax

            ^^^^^^^^^^^^^^^^^^^^^^^^
            ^^^^^^^^^^^^^^^^^^^^^^^^
            ^^^^^^^^^^^^^^^^^^^^^^^^
            ^^^^^^^^^^^^^^^^^^^^^^^^
There you are. You cannot put that in a RCPT ACL because the headers are
not known till later.



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