Re: Always relay outgoing messages to their MX server

2022-11-28 Thread Viktor Dukhovni
On Mon, Nov 28, 2022 at 10:18:22AM -0300, Gustavo Balduino wrote: > On 27/11/2022 11:46 AM, Wietse Venema wrote: > > I think there is no risk of (false) loop detection between MSA > > instance and MTA instance, because the MSA instance is supposed to > > send all mail to the security gateway, rega

Re: Always relay outgoing messages to their MX server

2022-11-28 Thread Wietse Venema
Gustavo Balduino: > From what you two concluded, there's no way to reach this behavior > without splitting the instances, am i correct? A single instance may be possible but it would be more complicated and more difficult to maintain than to the two-instance approach. It would in fact be the si

Re: Always relay outgoing messages to their MX server

2022-11-28 Thread Gustavo Balduino
On 27/11/2022 11:46 AM, Wietse Venema wrote: I think there is no risk of (false) loop detection between MSA instance and MTA instance, because the MSA instance is supposed to send all mail to the security gateway, regardless of destination: MSA client -> port 465/587 MSA server -> security ga

Re: Always relay outgoing messages to their MX server

2022-11-27 Thread Wietse Venema
Viktor Dukhovni: > On Sat, Nov 26, 2022 at 04:56:49PM -0500, Wietse Venema wrote: > > Viktor Dukhovni: > > > On Sat, Nov 26, 2022 at 08:26:08AM -0500, Wietse Venema wrote: > > > > > > > > For different message routing for submission vs. inbound port 25 see: > > > > > > > > > > https://www.pos

Re: Always relay outgoing messages to their MX server

2022-11-26 Thread Viktor Dukhovni
On Sat, Nov 26, 2022 at 04:56:49PM -0500, Wietse Venema wrote: > Viktor Dukhovni: > > On Sat, Nov 26, 2022 at 08:26:08AM -0500, Wietse Venema wrote: > > > > > > For different message routing for submission vs. inbound port 25 see: > > > > > > > > https://www.postfix.org/MULTI_INSTANCE_README.

Re: Always relay outgoing messages to their MX server

2022-11-26 Thread Wietse Venema
Viktor Dukhovni: > On Sat, Nov 26, 2022 at 08:26:08AM -0500, Wietse Venema wrote: > > > > For different message routing for submission vs. inbound port 25 see: > > > > > > https://www.postfix.org/MULTI_INSTANCE_README.html > > > > > > One Postfix instance listens on port 25 only, and another

Re: Always relay outgoing messages to their MX server

2022-11-26 Thread Viktor Dukhovni
On Sat, Nov 26, 2022 at 08:26:08AM -0500, Wietse Venema wrote: > > For different message routing for submission vs. inbound port 25 see: > > > > https://www.postfix.org/MULTI_INSTANCE_README.html > > > > One Postfix instance listens on port 25 only, and another on port > > [submission] only.

Re: Always relay outgoing messages to their MX server

2022-11-26 Thread Wietse Venema
Viktor Dukhovni: > On Fri, Nov 25, 2022 at 06:15:40PM -0300, Gustavo Balduino wrote: > > > What i expected to happen is that, when b...@domain-a.com sends a message > > to al...@domain-b.com, as the message is entering through a submission > > smtpd, it should not rewrite it and always relay the

Re: Always relay outgoing messages to their MX server

2022-11-25 Thread Viktor Dukhovni
On Fri, Nov 25, 2022 at 06:15:40PM -0300, Gustavo Balduino wrote: > What i expected to happen is that, when b...@domain-a.com sends a message > to al...@domain-b.com, as the message is entering through a submission > smtpd, it should not rewrite it and always relay the message to the > destinat

Always relay outgoing messages to their MX server

2022-11-25 Thread Gustavo Balduino
Hi, I have a postfix setup which has several domains hosted using virtual alias domains/maps, the maps resolve the accounts to internal mailbox addresses which have their own transport configured. Recently one of the hosted domains configured an e-mail security gateway, which uses a third-pa