Author: Marc Sherman Date: To: exim-users Subject: Re: [exim] Check for rcpt_fail_count not working all the time?
srunschke@??? wrote: >
> When using exim -bhc for testing, the connection gets dropped
> at the fifths wrong recipient - while exim claims it's the fourth...
> *cough* ;)
> This is done by doing a repeated "rcpt to: abc@???" at the
> prompt. Does the virus use another way of addressing multiple
> accounts and does exim not recognize that? And does exim "forget"
> to take the first wrong recipient into account?
No, exim is behaving correctly for your configuration. You're testing
$rcpt_fail_count in your RCPT acl; the rcpt currently being processed
can't be counted as a failure, because it has not yet been rejected. So
while processing the fifth RCPT, $rcpt_fail_count will be 4, and the
fifth RCPT will trigger the drop even if it happens to be a good address
(for example, if it was addressed to +relay_to_domains).