Re: [exim] Where event msg:fail:delivery appears?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jasen Betts
日付:  
To: exim-users
題目: Re: [exim] Where event msg:fail:delivery appears?
On 2017-03-28, marcin@??? <marcin@???> wrote:
>
> As for know I'm thinking about:
>  transport_xxx:
>     event_action = ${if eq {msg:delivery}{$event_name}\
>              {${lookup pgsql{PSQL_QUERY1}}} \
>             {${if eq {msg:fail:delivery}{$event_name}} \
>                           {${lookup pgsql{PSQL_QUERY2}}\
>                              }}

>
> but it's so ugly:/
>


I haven't found a truly non-ugly way.

   warn 
   acl=event_${extract{$event_name}{\
     msg:delivery      = msg_delivery \
     msg:fail:delivery = msg_fail_delivery \
   }{$value}{accept}}


gives an option to fork to different ACL code



--
This email has not been checked by half-arsed antivirus software