George Szekely wrote:
> Dear List:
>
> I know that this has been discussed many times in the past, and the
> following deny is "supposed to" work according to prior posts, but it
> blocks everything coming from AOL.
> Also, what would be the proper X-Mailer for hotmail?
>
> acl_check_rcpt:
>
> deny sender_domains = aol.com
> message = X-Forgery: NOT AOL MAILER
> condition = ${if match {${lc:$h_X-Mailer:}} {a(?:ol|tlas)}
> {no}{yes}}
>
This is a header check, so it must go into the _DATA_ acl, not the _RCPT_ acl.
At the time the RCPT acl is being processed, the message headers have not been
received yet.