"held for moderation" - alias domain details sought
Hi friends. I've viewed this old thread: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/W... and documentation here: https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht... (and the Postfix docs it links to). Those documents don't seem to guide my situation, or maybe I just need a more specific example.
The problem is that when messages are delivered to the alias domain, they are held for moderation. I.e., mail to the alias domain like testlist@domain.tld is held for moderation, but mail from the same subscribed, non-moderated user to testlist@lists.domain.tld is posted immediately without moderation.
I wonder whether my main domain needs to be @domain.tld and my alias domain needs to be @lists.domain.tld - is that what I should try? Or, am I not setting up the alias domain correctly?
Details:
I'm writing to ask for advice so that mailman messages to address@domain.tld can also be sent to address@lists.domain.tld. There are various other non-Mailman addresses (local Unix accounts and aliases) handled by @domain.tld as well as @otherdomain.tld on the same server.
I have a running 3.3.10 server (venv, using Postfix and PostgreSQL under Ubuntu 24.04LTS).
The configured domain is of the form: lists.domain.tld and it's working ok. I put this in /etc/aliases and it seems to work, to forward messages from testlist@domain.tld to testlist@lists.domain.tld:
testlist: testlist@lists.domain.tld
I know it works because I see it in MM3's smtp.log and mailman.log, including a line like this in mailman.log: Oct 12 21:12:27 2024 (2560960) HOLD: testlist@lists.domain.tld post from gbnewby@petascale.org held, message-id=< CANLuyJZd8NNn5rOLe3XUhooG9F33U_7VOQXrS-7Z241koAV_Ww@mail.otherdomain.com>: Message has implicit destination
And, indeed, the message is held for moderation.
In the MM3 configuration panel for Domains ( https://lists.domain.tld/mailman3/domains/), I have put "domain.tld" in the "Alias domain" field.
Thanks for any guidance. I appreciated seeing the recent threat about "redirecting -bounces replies" which also addresses alias domains. ~ Greg
On 2024-11-01 11:04:07 -0700 (-0700), Greg Newby via Mailman-users wrote:
Hi friends. I've viewed this old thread: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/W... and documentation here: https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht... (and the Postfix docs it links to). Those documents don't seem to guide my situation, or maybe I just need a more specific example.
The problem is that when messages are delivered to the alias domain, they are held for moderation. I.e., mail to the alias domain like testlist@domain.tld is held for moderation, but mail from the same subscribed, non-moderated user to testlist@lists.domain.tld is posted immediately without moderation. [...]
I manage a similar setup (though with Exim instead of Postfix), and when migrating from Mailman v2 to v3 kept the same basic settings which seemed to work: notably, under Message Acceptance I set the alias addresses for the list in the Acceptable aliases field. If memory serves, not doing that caused messages addressed to those aliases to be unconditionally held for moderation.
Jeremy Stanley
On 11/1/24 11:14, Jeremy Stanley wrote:
On 2024-11-01 11:04:07 -0700 (-0700), Greg Newby via Mailman-users wrote:
Hi friends. I've viewed this old thread: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/W... and documentation here: https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht... (and the Postfix docs it links to). Those documents don't seem to guide my situation, or maybe I just need a more specific example.
The alias domain discussed at https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht... has nothing to do with what you are doing.
The problem is that when messages are delivered to the alias domain, they are held for moderation. I.e., mail to the alias domain like testlist@domain.tld is held for moderation, but mail from the same subscribed, non-moderated user to testlist@lists.domain.tld is posted immediately without moderation. [...]
I manage a similar setup (though with Exim instead of Postfix), and when migrating from Mailman v2 to v3 kept the same basic settings which seemed to work: notably, under Message Acceptance I set the alias addresses for the list in the Acceptable aliases field. If memory serves, not doing that caused messages addressed to those aliases to be unconditionally held for moderation.
This is the correct solution. Just add testlist@domain.tld
to the
acceptable aliases setting of the testlist@lists.domain.tld
list.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks for this. After adding to "acceptable aliases," I also needed to add an entry in /etc/aliases, and then the moderation didn't happen. That's great!
If I use an alias domain, will that replace the need for entries in /etc/aliases? I'm hesitant to explore since this is my production mail server.
~ Greg
On Fri, Nov 1, 2024 at 1:51 PM Mark Sapiro <mark@msapiro.net> wrote:
On 11/1/24 11:14, Jeremy Stanley wrote:
On 2024-11-01 11:04:07 -0700 (-0700), Greg Newby via Mailman-users wrote:
Hi friends. I've viewed this old thread:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/W...
and documentation here:
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht...
(and the Postfix docs it links to). Those documents don't seem to guide my situation, or maybe I just need a more specific example.
The alias domain discussed at
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht... has nothing to do with what you are doing.
The problem is that when messages are delivered to the alias domain, they are held for moderation. I.e., mail to the alias domain like testlist@domain.tld is held for moderation, but mail from the same subscribed, non-moderated user to testlist@lists.domain.tld is posted immediately without moderation. [...]
I manage a similar setup (though with Exim instead of Postfix), and when migrating from Mailman v2 to v3 kept the same basic settings which seemed to work: notably, under Message Acceptance I set the alias addresses for the list in the Acceptable aliases field. If memory serves, not doing that caused messages addressed to those aliases to be unconditionally held for moderation.
This is the correct solution. Just add
testlist@domain.tld
to the acceptable aliases setting of thetestlist@lists.domain.tld
list.-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
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/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent to gbnewby@petascale.org
On 11/5/24 09:10, Greg Newby via Mailman-users wrote:
If I use an alias domain, will that replace the need for entries in /etc/aliases? I'm hesitant to explore since this is my production mail server.
No. The alias_domain attribute of a Mailman domain is for a completely different purpose. It has nothing to do with enabling multiple addresses for posting to a list.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Greg Newby
-
Jeremy Stanley
-
Mark Sapiro