At Fri, 22 Nov 2024 17:27:52 +0000, Sad Clouds <[email protected]> 
wrote:
Subject: Postfix and local mail redirection
>
> Does anyone who uses Postfix perform local mail redirection to a
> central mail hub? If yes, can you suggest what settings you use?

I add something like the following to /etc/postfix/main.cf:

        myhostname = myhost.domain.name
        mydomain = domain.name
        inet_interfaces = loopback-only
        mydestination =
        local_recipient_maps =
        luser_relay = [email protected]
        relayhost = mail.domain.name:587

Note here the receiving system answers on the "submission" port, not
SMTP, but I don't have any authentication set up for mail submission.

I also change this entry:

        147c147
        < inet_protocols = all
        ---
        > inet_protocols = ipv4

--
                                        Greg A. Woods <[email protected]>

Kelowna, BC     +1 250 762-7675           RoboHack <[email protected]>
Planix, Inc. <[email protected]>     Avoncote Farms <[email protected]>

Attachment: pgpp8x3W7Zc3o.pgp
Description: OpenPGP Digital Signature

Reply via email to