Re: [exim] adding a header to a message in an ACL, even when…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Josip Rodin
Päiväys:  
Vastaanottaja: exim users
Aihe: Re: [exim] adding a header to a message in an ACL, even when the condition defers
On Sun, Nov 12, 2006 at 02:47:10AM +0800, W B Hacker wrote:
> > Perhaps something like:
> >
> >   accept !verify = sender/callout=60s
> >          set acl_m7 = true
> >   ...
> >   warn message = X-Exim-ACL-envelope-sender-verify: failed ($acl_verify_message)
> >        condition acl_m7 = true

> >
> > ?
> >
>
> This example wroks, but is NOT a sender verification.


What?

> All you should need to do is make that substitution and adjust the header
> and logging text:


> warn, deny, accept verbs have different rules for when they exit the case
> structure.
>
> Sequencing appropriate to each class of verb is very important!


That's all fine and well, but it does nothing to answer the actual question -
how to get the warn verb not to get skipped when verify defers.

-- 
     2. That which causes joy or happiness.