Auteur: William Thompson Date: À: Lane Vance CC: exim-users Sujet: Re: [Exim] ACL to Reject based on Subject
> I have been reading the online manual and searching on Google but I can't > find anything that will do what I am looking to do.
>
> Using an acl_smtp_data I would like to scan the subject line of the
> incoming message. If it matches against a list of keywords (like viagra
> or mortgage) Exim would refuse the message.
>
> Is this possible? If so, can anyone point me in the right direction?
Yes, check the $h_Subject: variable in your data acl.
NOTE: this isn't an exim variable and you can't use ${h_Subject:}