Re: [exim] WG: Remove header disposition-notification-to in …

Top Page
Delete this message
Reply to this message
Author: Jasen Betts
Date:  
To: exim-users
Subject: Re: [exim] WG: Remove header disposition-notification-to in an acl


> I am trying to remove a soecial header from within acl_check_recpi: header
> disposition-notification-to.


> I tried this without any success
>
> condition = ${if def:disposition-notification-to: {1}{0}}
> headers_remove = disposition-notification-to


assuming you mean "def:h_disposition-notification-to:"
the rcpt ACL can't see any headers, so that condition is always false.

There's no harm in trying to remove a header that is not present, or
speculatvely scheduling removal of a header that has not yet been seen.

so just do

headers_remove = disposition-notification-to

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