Assuming you are using MM 2.1.x
I think you may have missed this in the help descriptions of the Sender Filters Privacy options fields:
<quote>
start the line with a ^ character to designate a regular expression match
</quote>
I would quess you want to say:
[EMAIL PROTECTED]@(.+\.|)duke\.edu$
in the accept_these_nonmembers field to allow postings from aliases on the duke.edu mail domain, or one of its sub-domains to pass unhindered.
On 28 May 2004, at 18:28, Robert G. Brown wrote:
Dear Mailman users (and hopefully administrators and/or programmers),
We have some campus lists that we'd like to leave open to members and everybody with addresses such as (in regexp form)
[EMAIL PROTECTED]
but cause all postings from non-duke.edu addresses to be held for the moderator. I cannot see how to do this with mailman's current privacy settings -- I had thought one could "whitelist" by domain at the administrator interface level with a suitable regular expression, but when I try restricting to list members and putting this into the "addresses of members accepted for posting..." box it doesn't work.
When I try other ways, such as leaving the list open to any posters (or rather not restrict posting to list members) together with negated regular expression rules in either the "addresses always held for approval..." or the "Hold posts...specific regexp" boxes (the specific regexp patterns I've tried are various things like:
[EMAIL PROTECTED] or from: [EMAIL PROTECTED] from: ([EMAIL PROTECTED])
and a few others) THAT doesn't work either. I was intending this to
read as "headers that don't include from: [EMAIL PROTECTED]".
So I guess I have a question and/or suggestion:
Is there any way to do what I'm trying to do at this level of mailman (that is, without hacking scripts or inserting procmail with suitable rules but rather through a regexp in one of the privacy boxes)?
If not, how about:
Making the "always accepted" and "always held" list boxes accept simple rexexp's e.g. [EMAIL PROTECTED] (to accept or hold all duke.edu postings, depending on which box it is in) or at least enabling them to manage SOME sort of wildcard/domain level entries.
Adding the email of everybody on campus to one list or everybody in the universe NOT on campus to the other list are not happy alternatives.
Even making the hold posts box (that already takes regexps) work with
negated regexps would do the trick, although the holds don't really take
place because of "suspicious headers" as explained in the hold message
to the poster.
Thanks!
rgb
-- Robert G. Brown http://www.phy.duke.edu/~rgb/ Duke University Dept. of Physics, Box 90305 Durham, N.C. 27708-0305 Phone: 1-919-660-2567 Fax: 919-660-2525 email:[EMAIL PROTECTED]
------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
