> 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 

-- 
## 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