Re: [exim] for-loop inside an ACL

Inizio della pagina
Delete this message
Reply to this message
Autore: Heiko Schlittermann
Data:  
To: exim-users
Oggetto: 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