Author: Nico Erfurth Date: To: William Thompson CC: exim-users Subject: Re: [Exim] ACL question
William Thompson wrote: > Is it possible to have ACLs do something immediately after (HE|EH)LO or MAIL
> FROM: commands?
>
> I'm playing with the 4.12 that I found in debian's pool tree. (apparently
> it's not in sid yet)
Since 4.12 you can use acl_smtp_mail that runs after a MAIL FROM was
received and processed.
There is no ACL for HELO/EHLO, but you can use the acl_smtp_mail for the
check instead.
But be careful, unless you are REALLY sure, you should not block before
RCPT TO: because someone could try to mail your postmaster-account,
because you blocked them......