On 28/03/17 15:45, [email protected] wrote:
> msg:fail:delivery      after    main        per recipient
> 
> Do I correctly understand that action which uses msg:fail:delivery
> should be defined at main config level? I'm asking because I suspect
> that it's happens at transport level.

It uses the transport definition.  I'll fix the docs.

> Additional question, how create pretty config for more than one type of
> event? I mean I'd like to to some action when msg:delivery happens and
> msg:rcpt:defer.

I do things like:

log_deliv:
  warn  condition =     ${if eq {tls:cert} {$event_name}}
         acl =          cert_chk

  warn  condition =     ${if eq {tcp:connect}{$event_name}}
        condition =     ${if bool{$lookup_dnssec_authenticated}}
        logwrite =      $host: TLSA \
                            ${lookup dnsdb {defer_never,tlsa=\
                                _$host_port._tcp.$host} \
                            {$value}{none}}
  accept

...

 transport_xxx:
    event_action =        ${acl {log_deliv}}


-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to