On Wed, 2014-08-27 at 15:23 +0100, Oliver Howe wrote:
> I have this set in my config file -
>
> acl_smtp_data = acl_check_data
>
> and then in the ACL section I check each message to see if it has a
> Content-type header present by doing this -
>
> accept condition = ${if def:header_Content-Type:}
> set acl_c_ctnm = yes
> accept
That's setting an ACL variable for the duration of the *connection*. If
the first message in sets it, it's set regardless of additional messages
and their headers.
You could use acl_m_ctnm instead, which is set for that *message*.
Graeme
--
## 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/