What regex can I use in Mailman 2.2 on CPanel, April 2025
Hi everyone
On my webhost I have CPanel version 126.0.14 installed. Mailman version 2.2. working very fine, but I am confused about what Regex that I can use in Mailmans different spamfilters, filters for senders etc.
When I look on the CPanel documentation for Mailman 2.2 via the following link:
https://docs.cpanel.net/knowledge-base/email/how-to-create-mail-filter-rules-for-mailing-lists/
, I only can find one example about how I create a regex there applies to any message that SpamAssassin scores 5 or higher.
Nice if you please can give me Regex for the following:
1. What Regex should I write in the Mailman spamfilter if I will block e-mails to the list with special subjects?
2. What Regex should I write in Mailman under Spamfilter>Senders if I will:
2.1. Block one e-mail-address there not is member of a mailing list to send e-mails to the list (I have opened the list so others can write to the mailing list), but I will block a special e-mail address via a Regex
2.2. Block a hole domain to send to the mailing list
2.3. Block a hole tld-domain (TLD = TopLevel Domain, e.g. .mx) to send to the mailing list
---
3. Where can I read a full list over the many Regex that I can use in Mailman installed on CPanel?
I really have searched on the Internet, but I not can find a list over Regex.
Very thanks in advance for your answer, and have a nice day.
Regards,
Anders
-
Hey there! Unfortunately I'm not able to provide custom code for users through the Forums, so I'm not able to provide this for you.
I would recommend reviewing the documentation for Mailman directly, or sites specifically dedicated the regex in Mailman such as https://service.alaska.edu/TDClient/36/Portal/KB/ArticleDet?ID=70
I'm sorry I can't offer more on this one.
0
Please sign in to leave a comment.
Comments
1 comment