Hone, Don writes: > I'm able to ban a specific email address by using the withlist command: > > ~mailman/bin/withlist -a -r add_banned -- addr...@domain.com > > Is there a command that I can use to reverse this?
I'll have to pass that to Mark, it's his script. > What is the correct format to ban all addresses in a domain? > *@domain.com didn't seem to do it for me. Regular expression. "*" is not a wildcard in a regular expression, it is a repetition operator. The wildcard for "any character" is a period. To match any string (including the empty string), use ".*". To get a literal period, you quote it with "\". To ban all addresses in a particular domain, use ".*@domain\.com$". If there are multiple periods, you should quote them all with backslashes. ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org