Matt, I think you're describing exactly the problem that's handled by /virtual alias domains/ that were added to support this case.
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht...
I did an integration between Mailman3 and Zimbra which uses Postfix, and came across the same issue with domains managed by Postfix and Mailman simultaneously.
I documented the case in my Zimbra - Mailman3 integration document here: https://gitlab.com/MojoLA/mailman3.3-zimbra-8.8-integration/-/blob/master/ma...
See if that helps ...
Best regards, Mojo
On 12/14/20 9:38 PM, matthew@alberti.us wrote:
I checked all over the mailman core logs and couldn't find a problem. But then I noticed that the 550 error was coming from dovecot-lmtp. I should rename this thread because the actual problem seems to be unrelated to re-created lists.
It seems like the actual problem seems to occur in the following situation:
- Using Postfix
- Using Dovecot
- /etc/postfix/virtual includes addresses with same domain as mailman lists.
- An e-mail address subscribed to a mailman list is in the /etc/postfix/virtual file as an alias (possibly also if destination address for an alias).
- (Possibly related) E-mail address is also one of the list owners.
In that environment, Postfix seems to check only 'virtual_transport' list, which in my case is dovecot-lmtp, and when it doesn't find the mailman listname@domain entry in there, it sends a 550 user unknown. It seems to be that it isn't getting passed to 'transport_maps', which is mailman-lmtp.
When I remove that one address (that is in /etc/postfix/virtual) from the list of subscribers, I'm able to post again. Interestingly enough, when I put it back in as a subscriber. I'm still able to post. So it seems unsubscribing and re-subscribing that address fixed it, or adding an additional list owner and deleting it fixed it, or some combination of those.
I know this might be shaping up to be a very unlikely scenario. But basically the account is mine, an admin, doing testing before/after a deployment.. I'll try to create a few test procedures to document the method to reproduce the problem, and also hopefully fix it. If I can do that, I'll open another thread. This could also be a postfix config error of some kind, which is definitely possible if not likely.
Thanks for reading.
- Matt Alberti
-----Original Message----- From: Abhilash Raj <maxking@asynchronous.in> Sent: Monday, December 14, 2020 11:42 PM To: matthew@alberti.us; Mailman users <mailman-users@mailman3.org> Subject: [MM3-users] Re: Message Sent to A Re-Created List Results In Error
On Tue, Dec 15, 2020, at 10:00 AM, matthew@alberti.us <mailto:matthew@alberti.us> wrote:
I created a list in the Postorius interface, used it, and then deleted it. A week or so later, I re-created the list, and things were fine thru the creation and subscription process. But when I sent a message to the list, a "550 user unknown" error was sent back.
Can you share more error details from the Mailman logs? If 550 error response was sent, there must be some internal error traceback in the logs.
I tried to determine if this is a known issue by searching the issues in Gitlab; but didn't find anything. But wanted to ask if this was a known issue or not?
I personally don't remember seeing such an issue, but Mark or others might know.
Thanks.
- Matt Alberti
Mailman-users mailing list -- mailman-users@mailman3.org
<mailto:mailman-users@mailman3.org> To
unsubscribe send an email to mailman-users-leave@mailman3.org <mailto:mailman-users-leave@mailman3.org> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
Mailman-users mailing list -- mailman-users@mailman3.org <mailto:mailman-users@mailman3.org> To unsubscribe send an email to mailman-users-leave@mailman3.org <mailto:mailman-users-leave@mailman3.org> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- Morris Jones, Monrovia, CA BridgeMojo <http://bridgemojo.com> Old Town Sidewalk Astronomers <http://otastro.org> Mojo's Blog <http://mojo.whiteoaks.com>