Forward from to another MTA

2022-08-16 Thread thiery
Hello, I have some difficulties to create rule sets for a specific use case. I use an OpenSMPTD/Dovecot as main mail server and Sympa ( https://www.sympa.org/index) running on an other server to manage mailing list. On the main mail server, I have two sets of aliases: table aliases

Re: Forward from to another MTA

2022-08-16 Thread Tassilo Philipp
I might misunderstand your question, but I noticed that your line: match for rcpt-to action "mailinglist" does not specify a "from" option, so it defaults to "from local". This means it won't match for non-local IPs. Maybe that's the culprit? hth On Tue, Aug 16, 2022 at 10:07:02AM +0200,

Re: Forward from to another MTA

2022-08-16 Thread thiery
On 2022-08-16 10:13, Tassilo Philipp wrote: I might misunderstand your question, but I noticed that your line: match for rcpt-to action "mailinglist" does not specify a "from" option, so it defaults to "from local". This means it won't match for non-local IPs. Maybe that's the culprit? hth

Re: Forward from to another MTA

2022-08-16 Thread thiery
On 2022-08-16 11:30, Tassilo Philipp wrote: I'm not sure, I'm afraid I cannot help you further with this. I guess the forward seems to match and work now, as your new problem seems to be related to theor "RCPT TO:" stuff, which isn't list.domain.tld..., glad we got that sorted at least. In

Re: Forward from to another MTA

2022-08-16 Thread Tassilo Philipp
Good thinking Reio! Indeed, there's only a relay line for auth'ed mail, but none for this type of forwarded, local mail. You probably need a further, specific match line. The debug output should help you spot this and write a rule accordingly. Thanks Reio On Tue, Aug 16, 2022 at 12:39:34PM

Re: Forward from to another MTA

2022-08-16 Thread Tassilo Philipp
I'm not sure, I'm afraid I cannot help you further with this. I guess the forward seems to match and work now, as your new problem seems to be related to theor "RCPT TO:" stuff, which isn't list.domain.tld..., glad we got that sorted at least. In order to further debug this, I would recommend

Re: Forward from to another MTA

2022-08-16 Thread Reio Remma
Hello! I may be wrong, but list.domain.tld might be routed back to the same server (domain.tld)? Maybe you should be relaying to the Sympa server? Good luck Reio On 16.08.2022 12:16, thiery wrote: On 2022-08-16 10:13, Tassilo Philipp wrote: I might misunderstand your question, but I

Re:[Solved] Forward from to another MTA

2022-08-16 Thread thiery
On 2022-08-16 12:05, Tassilo Philipp wrote: Good thinking Reio! Indeed, there's only a relay line for auth'ed mail, but none for this type of forwarded, local mail. You probably need a further, specific match line. The debug output should help you spot this and write a rule accordingly. Thanks