Dennis Putnam via Postfix-users:

Checking application/pgp-signature: FAILURE
-- Start of PGP signed section.
> 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. 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?

sender_dependent_relayhost_maps uses the envelope sender address,
i.e. the bounce address in mailman outbound messages. With the
postfix-users list that address is '[email protected]'.

Postfix logs that address like this

     postfix/qmgr[PID]: QUEUEID: from=<[email protected]>, ...

It is distinct from other email.

        Wietse

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to