[Mailman-Users] Block domain

Todd Freedom_Lover at pobox.com
Thu Dec 18 00:13:57 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Jones wrote:
> I want to block all mail from a specific domain.  Under Privacy
> options/sender filters, in the box marked "List of non-member addresses
> whose postings will be automatically discarded" I put ^domain.com.  This
> should be a simple regular expression that will always match the domain
> name, but I still get emails that a posts from whatever at domain.com needs
> authorization, and I have to go in and delete it.  Why doesn't this
> work, and what does work?

That regex only matches if the address begins with domain.com.  You
might want something more like @domain.com$ or possibly .*@domain.com$
(I don't know if the former works in mailman's sender filters or not.
I haven't tried it).

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
Those who make peaceful revolution impossible will make violent
revolution inevitable.
    -- John F. Kennedy, 1962

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQE/4OM1uv+09NZUB1oRAvArAJ4lIB32+w2FJNeWyo0F1ol77083IACfVj75
9/i3DZuZY4RavItlCP2ybUA=
=tsqE
-----END PGP SIGNATURE-----




More information about the Mailman-Users mailing list