David Brodbeck wrote:
| One way around this would be to set a flag in your HELO ACL based on the
| results of your PTR test, then do the actual rejection in the RCPT ACL if
| the domain isn't one of the excluded ones. Any rejection that happens
| before DATA has pretty minimal overhead, so waiting 'till RCPT doesn't hurt
| you much.
Yes.
However, even easier - put the test(s) themselves in the RCPT ACL. At
least, that's what we do here. The HELO ACL does almost nothing.
--
Chris Edwards, Glasgow University Computing Service