Re: [Mailman-Users] Filter for exact domain names

2008-12-13 Thread Mark Sapiro
Cyndi Norwitz wrote: I am getting a lot of spam post attempts from a domain tom.com. I would like to do an automatic discard in discard_these_nonmembers for this domain. I can add this line of code: ^...@]+@(.*\.)?tom\.com$ But I am concerned that this will discard all .com domain names

Re: [Mailman-Users] Filter for exact domain names

2008-12-13 Thread Cyndi Norwitz
On Dec 13, 2008, at 9:42 AM, Mark Sapiro wrote: Cyndi Norwitz wrote: I can add this line of code: ^...@]+@(.*\.)?tom\.com$ But I am concerned that this will discard all .com domain names that end with tom, which may be some legit ones. It won't Great. So the whole regexp matches at

Re: [Mailman-Users] Filter for exact domain names

2008-12-13 Thread Mark Sapiro
Cyndi Norwitz wrote: On Dec 13, 2008, at 9:42 AM, Mark Sapiro wrote: Cyndi Norwitz wrote: I can add this line of code: ^...@]+@(.*\.)?tom\.com$ But I am concerned that this will discard all .com domain names that end with tom, which may be some legit ones. It won't Great. So the whole

Re: [Mailman-Users] Filter for exact domain names

2008-12-13 Thread Stephen J. Turnbull
Mark Sapiro writes: Note however that my experience with trying to use regexps in discard_these_nonmembers to keep spam from being held is that it isn't worth it. You may see the same domain a bunch of times, but by the time you get around to discarding it, it's probably on the way out

Re: [Mailman-Users] Filter for exact domain names

2008-12-13 Thread Cyndi Norwitz
On Dec 13, 2008, at 4:35 PM, Stephen J. Turnbull wrote: The following (Chinese) domains are perennial offenders (and I do mean *years*): tom.com, 163.com, 126.com, and 263.com. Thanks, I added those too. Also, only the message-id of discarded messages is logged by Mailman, so figuring out

Re: [Mailman-Users] Filter for exact domain names

2008-12-13 Thread Stephen J. Turnbull
Cyndi Norwitz writes: Wishlist: can you make the screen showing the list of addresses/code lines bigger? In fact, one of my spam filters shows To, From, and Subject only. I almost never am in doubt as to which are spam. I bet you could get away with a one-line-per-post format with