Re: [exim] Don't add received header for scanned mails

Góra strony
Delete this message
Reply to this message
Autor: Matthias Rieber
Data:  
Dla: exim-users
Temat: Re: [exim] Don't add received header for scanned mails
Hello,

On Tue, 20 Oct 2020, Wolfgang Breyha via Exim-users wrote:

> On 20/10/2020 13:43, Matthias Rieber via Exim-users wrote:
>> Another issue while trying to do that in the ACL phase was, that I couldn't
>> access the result of the verified RCPT TO address. I thought the result of
>> the last router is available in the $address_data variable in the
>> acl_smtp_rcpt ACLs. Probably I did something wrong.
>
> Only if the specific router actually set $address_data.
>
> If you use
> verify = recipient
> in your ACL you'll get the last value of $address_data any of your routers
> set. If not it's emtpy/undefined.


Ha! Thanks, that explains alot :)

The relevant router is a redirect router which does an LDAP lookup so I
just need to replace?:

data = ..ldap..
with
address_data = ..ldap..
data = $address_data

Matthias