On 4/8/2015 3:51 AM, Jonathan Bees wrote:

> 
> Hoping someone knows a good way to send all unknown recepient in
> local tables (referred by mysql-virtual.cf
> <http://mysql-virtual.cf>) to a smarthost (192.168.1.1), which would
> decide whether to forward this to the remote server or answer with a
> bounce message.

This is a broken design.  The edge gateway MX must know all valid
recipients, even for internal systems.  Unknown recipients must be
rejected during the initial SMTP, and not bounced later.

Either transfer the valid recipient list from the smarthost, or you
might be able to use reject_unverified_recipient to let postfix
decide for itself.

Sending bounces for unknown users will clog your queue with
undeliverable mail, and will get your server blacklisted as a
backscatter source.


  -- Noel Jones

Reply via email to