On Thu, Mar 30, 2023 at 6:55 PM Zaheer Abbas <zaheer.psg@gmail.com> wrote:
Hi All,
I need to whitelist a domain for a specific mailing list on your platform. Only *@example.com email addresses should be allowed to post messages to this list.
Could you please provide me with documentation or instructions on how to achieve this? I have already searched the knowledge base and user manuals without success.
I believe it was previously available in mailman2 via Accept_these_nonmembers attribute.
But I cannot find this attribute anywhere on postorius.
I am using mailman 3.2.2
Any help would be really appreciated.
Best regards,
I would do this at the MTA level with either a router or a filter (milter in Postfix lingo):
IF $sender_address_domain IS NOT "example.com" AND $recipient is "listname@domain" THEN send-to-dev-null.
Exim (MTA) has a filter plugin to do this. I don't know about Postfix and Sendmail (as I am not willing to read on your behalf).
It is easier that way.
I don't remember is Mailman3 has the logic to deal with that, but maybe it does. If you did not manage to find it, then my solution is plausible, no? Filter at the MTA level.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)