On Tuesday 29 September 2009 08:32:45 D G Teed wrote:
> On an outbound only SMTP service, what
> is the recommended way to reject mail sent
> to a particular domain?  There is a domain people often
> typo, and it has no MX record, so it rots for some time
> before people learn it won't deliver.  I'd rather that
> be a reject code so they immediately fix the typo
> in their mail client.

reject_unknown_recipient_domain rejects many (but not all) typo
domains. At least it will work for the one you described. If you
decide to block some typo domains which are real, try a
check_recipient_access lookup:
    bad.example.com    REJECT did you mean good.example.com?
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

Reply via email to