[Mailman-Users] wildcard for member_posting_only ?
Jon Carnes
jonc at haht.com
Tue Nov 20 16:27:02 CET 2001
Straight from the archives.. a solution using a procmail filter in
~mailman/filters/...
Thanks to: Jo Brooks
===
Timothy Murphy wrote:
>
> Is there a simple way of only allowing posters
> from a given domain or domains?
> Eg can I use wildcards (eg *@*.tcd.ie) when specifying allowed posters?
I had to cook up a procmail filter and add it to the filters
directory. Seems to have worked for the several lists that wanted
to implement it, so I must've gotten it right :)
I'm rather new to procmail, so it took a whole lot of scouring thru
the mailman-users and majordomo-users archives at marc.theaimsgroup.com
but those examples helped immensely. This is what I ended up with,
in a filter I called "restricts":
:0
* !^From:.*@.*\.dhl\.com
|/home/mailman/mail/wrapper mailowner ${MAILMAN}
:0
|/home/mailman/mail/wrapper post ${MAILMAN}
and the alias entry looks like:
testing: "|/usr/bin/procmail -m MAILMAN='testing' /home/mailman/filters/r
estricts"
Hope this helps.
Jo Brooks
DHL Worldwide Express
Systems Support Group
===
----- Original Message -----
From: "Peter Conrad" <pac at publishers-market.com>
To: <mailman-users at python.org>
Sent: Tuesday, November 20, 2001 4:29 AM
Subject: [Mailman-Users] wildcard for member_posting_only ?
> hi,
>
> is there a way to allow for example a complete domain to a list, while
> "member_posting_only" is set? I like to have all people from my domain
> posting to a list, but only a few others.
>
> Thanks
>
> Peter
>
> ------------------------------------------------------
> Mailman-Users maillist - Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
More information about the Mailman-Users
mailing list