On 2025-12-08 at 10:13:59 UTC-0500 (Mon, 8 Dec 2025 10:13:59 -0500)
Dennis Putnam via Postfix-users <[email protected]>
is rumored to have said:
On 12/6/2025 2:49 PM, Bill Cole via Postfix-users wrote:
On 2025-12-06 at 13:27:19 UTC-0500 (Sat, 6 Dec 2025 13:27:19 -0500)
Dennis Putnam via Postfix-users <[email protected]>
is rumored to have said:
I'm implementing Mailman 3 on Utuntu 24.04. The problem is that my
ISP munges the outgoing from addresses from mailman. I am trying to
set up a different relay host for outgoing mail from mailman. Other
mail can go through my ISP relay by default.
What triggers postfix to use which relay?
The transport map. See the man page for transport(5) for all the
details.
My current configuration only goes through my ISP and nothing goes
through the alternate relay. I assume I would have to use some
header from mailman to implement that trigger.
Since the envelope sender used by Mailman is idiosyncratic, you can
use sender_dependent_relayhost_maps, documented in the man page for
postconf(5).
I know how to configure a relay host but it is the answer to that,
that has me at a standstill.
I would appreciate any help resolving this issue.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Hi Bill,
Thanks for the reply but I don't see how this helps. It seems that
triggering the relay is based on the "to" header domain.
Please read postconf(5) man page cited, specifically looking for the
entries documenting the sender_dependent_transport_maps and
sender_dependent_relayhost_maps. They refer to *sender dependent*
transport maps. The *sender* (envelope "From" a.k.a. Return-Path, NOT
the header 'From:') determines the routing when those mechanisms are
used.
I don't see how to trigger it based on something like the list owner
or reply-to header. It is not practical to add the domain of each list
member in the transport map. What am I missing?
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
--
Bill Cole
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]