At Fri, 22 Nov 2024 17:27:52 +0000, Sad Clouds <cryintotheblue...@gmail.com> 
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 = $u...@mail.domain.name
        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 <gwo...@acm.org>

Kelowna, BC     +1 250 762-7675           RoboHack <wo...@robohack.ca>
Planix, Inc. <wo...@planix.com>     Avoncote Farms <wo...@avoncote.ca>

Attachment: pgpp8x3W7Zc3o.pgp
Description: OpenPGP Digital Signature

Reply via email to