On Tue, Feb 17, 2015 at 07:03:39PM +0000, Steve Zeng wrote:

> Thanks for the hint. The transport map seems do the trick...
> 
> /etc/postfix/main.cf
> transport_maps = hash:/etc/postfix/transport
> 
> /etc/postfix/transport
> mypartnerorg.com   :
> mycompany.com      :
> *                            error: 5.1.2 recipient domains not allowed

1.  No space between "error:" and the DSN code.

        error:5.1.2 ...

2.  If this system accepts inbound mail to your domains, it may
    not be able to send back bounce messages to the external
    sender domains.  So generally such transport entries are only
    for null-client MSAs that punt all mail to "smarthosts".

    If that describes your system, you're fine.  Otherwise, you
    need a more sophisticated approach.

-- 
        Viktor.

Reply via email to