FAQ
Greetings -
On 13 Mar 2007, at 14:27, TRON478 wrote:

hmmm, ok you are right with the spammers :) but my customer wants
to open the list for everyone. but another question: is it possible
to work with wildcards or domains like

*@custo.dom
or
cuto.dom

so only acceptance is for the domains above?
Well, as I said in my message...
"You can use regular expressions here if you wish."
:-)

If you click the "(Details for accept_these_nonmembers)" next to the
text box you'll see a little additional help, which says:

"Postings from any of these non-members will be automatically
accepted with no further moderation applied. Add member addresses
one per line; start the line with a ^ character to designate a
regular expression match."

Thus rather than using the limited glob-style pattern matching such as
*@custo.dom
you instead use full regular expression pattern matching such as
^.*@custo\.dom$

If the local part of the sender addresses (the bit to the left of the
"@") follows a set pattern for all the customers who can send to the
list then it might be possible to model that too. For example, if
the local part for each customer was of the form "initals.surname"
then you might like to try something like:
^[a-z]+\.[a-z]+ at custo\.dom$
and thus prevent postings from "joe at custo.dom" (because "joe" doesn't
match this format).

You will need to read up on the syntax used for these regular
expressions. For example "." means "any one character", whereas "\."
means "the single character which really is a '.'"

Cheers,
Mike B-)

--
The Computing Service, University of York, Heslington, York Yo10 5DD, UK
Tel:+44-1904-433811 FAX:+44-1904-433740

* Unsolicited commercial e-mail is NOT welcome at this e-mail address. *

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 7 | next ›
Discussion Overview
groupmailman-users @
categoriespython
postedMar 13, '07 at 10:09a
activeMar 13, '07 at 7:48p
posts7
users4
websitelist.org

People

Translate

site design / logo © 2022 Grokbase