Re: [exim] message / log_message from sub ACLs

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jeremy Harris
Fecha:  
A: exim-users @ exim. org
Asunto: Re: [exim] message / log_message from sub ACLs
Chris Edwards wrote:
> On Mon, 11 Apr 2005, Tony Finch wrote:
>
> | On Mon, 11 Apr 2005, Chris Edwards wrote:
> | >
> | > then is there any way to get at the "message" or the "log_message" setup by
> | > whichever acl_check_spam statement denied ?
> |
> | It should "just work" (it does for me). You might get a better result if
> | you put any message and log_message modifiers immediately after the ACL
> | verb instead of after all the conditions. The evaluation order of ACLs is
> | sometimes confusing, and I've found this rule of thumb helps to avoid
> | problems.
>
> OK - so I've put message and log_message first now, but nothing is logged.
>
> To recap, this is, a sub-acl returning "deny"


That's your problem.

>called from a condition on a
> top-level "warn" verb.


Irrelevant.

log_message works in a warn acl. RTFM. Then see if logwrite fits
your needs.

- Jeremy