Geert Hendrickx wrote:
On Tue, Dec 29, 2009 at 04:07:01PM -0800, Daniel L. Miller wrote:
My understanding is a MUA (for convenience, call it Thunderbird) will talk
to a local MTA (Postfix, of course!) to send mail. After authentication and
any other local checks, the local MTA accepts responsibility for the message
- the MUA disconnects. The local MTA then attempts to send the message to
the remote MTA. If successful...unless there's something else I don't know
about, nothing further happens between the local MTA and MUA. If
unsuccessful, and idiot OP's like me don't have soft_bounce enabled, the MTA
will generate a bounce message and send it to the sender's address, and
cancel the send.
Then do the recipient domain validity check *before* accepting and
queuing the message: put "reject_unknown_recipient_domain" in your
smtpd_recipient_restrictions. This will make Postfix respond with:
450 4.1.2 <x...@y.z>: Recipient address rejected: Domain not found
You know, it's not fair to give me an answer that not only answers my
question - but eliminates the need for a complicated new project just by
proper configuration! Geez!
Hmm...can I extend this and use reject_unverified_recipient? Or will
this cause problems?
--
Daniel5276