Re: [exim] for-loop inside an ACL

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: exim-users
Sujet: Re: [exim] for-loop inside an ACL
Hi,

> Sorry my fault, wrong ACL name :
>
> It's the "acl_check_data" , which has the original spamassassin
> entries from the default config.


It was not about the exact wording, it was about the place you want to perform
the check.

IMHO during recipient check (acl_smtp_rcpt) you should do *something*
like this:

    acl_check_rcpt:




        warn    condition = $local_part@$domain … wants spamcheck
                set acl_m_check = true



    acl_check_data:


        deny    message   = Your message didn't pass our spam check.
                condition = $acl_m_check
                spam      = nobody
                        ….



If, and only if I understood what you intend to do.

--
Heiko :: dresden : linux : SCHLITTERMANN.de
GPG Key 48D0359B : 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B