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


        Geert

-- 
Geert Hendrickx  -=-  g...@telenet.be  -=-  PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!

Reply via email to