For the reasons set out in my earlier question Originating (non-critical) emails from a "less-trusted" host, it unfortunately seems that we must run an SMTP server for the sole purpose of accepting and then immediately discarding bounce messages!
We would like to use Exim for this purpose.
To that end, I have placed the following in its acl_smtp_mail
access control list:
discard senders = :
drop
Whilst this yields the desired behaviour in response to the SMTP MAIL
command, Exim is now responding with 250 Accepted
to all RCPT TO
commands. We would like for it only to accept valid recipients, and reject invalid ones (so that clients do not get the erroneous impression that we're openly relaying messages).
Why is Exim now accepting all recipients (it wasn't before the introduction of the above access list), and how can it now be configured to reject invalid recipients?