Re: [exim] Conditionally removing/rewriting received header …

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Lena
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Conditionally removing/rewriting received header based on destination MX hostname
> From: David North

> IF message is to be delivered to *.google.com via the remote_smtp transport


In acl_check_rcpt:

  warn condition = ${if match{${lookup dnsdb{>: mxh=$domain}}}\
                             {\N\.google\.com(:|$)\N}}
       set acl_m_togmail = 1


In acl_check_data or router:

       condition = $acl_m_togmail