NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Postfix and local mail redirection



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

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

Attachment: pgplOteV4QcoJ.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index