I removed "relay_transport" and inserted "transport_maps = 
hash:/etc/postfic/transport" containing ".our.local.domain     relay:[MDA 
server IP]"

I sent a message from another server and got the attached info in the logs: 
(redacted.  Sorry, but it is required)


-----Original Message-----
From: <owner-postfix-us...@postfix.org> on behalf of Daniel White 
<daniel.e.wh...@nasa.gov>
Date: Friday, August 6, 2021 at 06:19
To: "postfix-users@postfix.org" <postfix-users@postfix.org>
Subject: Re: [EXTERNAL] Re: Inbound/Outbound Settings on a Postfix Relay-Only

    My apologies.
    I am not permitted to post *actual unobfuscated* details to a publicly 
accessable mailing list.

    The *actual unobfuscated* recipient address domain is "our.local.domain".
    It was rejected because the system tried to deliver it locally to the relay 
rather than pushing it to the MDA.

    I can try replacing "relay_transport" with "transport_maps" to see what 
happens

    -----Original Message-----
    From: <owner-postfix-us...@postfix.org> on behalf of Viktor Dukhovni 
<postfix-us...@dukhovni.org>
    Reply-To: "postfix-users@postfix.org" <postfix-users@postfix.org>
    Date: Thursday, August 5, 2021 at 15:58
    To: "postfix-users@postfix.org" <postfix-users@postfix.org>
    Subject: [EXTERNAL] Re: Inbound/Outbound Settings on a Postfix Relay-Only

        On Thu, Aug 05, 2021 at 06:14:56PM +0000, White, Daniel E. 
(GSFC-770.0)[NICS] wrote:

        > On my relay, I tried these settings:
        > 
        > local_transport = error: local mail delivery is disabled
        > mail_version = 3.5.8
        > relay_transport = hash:/etc/postfix/transport

        The "relay_transport" parametr is not table-valued.  Its syntax
        is "transport:nexthop", not "type:table".

        >       .our.local.domain     relay:[MDA server IP]

        This goes into one of the tables named via "transport_maps", not
        "relay_transport".

        > smtpd_recipient_restrictions = permit_mynetworks
        > relayhost = [ upstream relay ]
        > 
        > And when I send mail, I get "Recipient address rejected: local mail 
delivery is disabled"
        > 
        > What am I missing, please ?

        Logs that show the *actual unobfuscated* recipient domain that got
        rejected, and the result of "postmap -q" for the purported lookup
        key in the transport_maps table in question.  Post the output of:

            $ postmap -q .our.local.domain $(postmap -xh transport_maps)

        with ".our.local.domain" replaced by the actual unobfuscated domain.

        -- 
            Viktor.



<<attachment: logz.txt.zip>>

Reply via email to