[Mailman-Users] Global ban list for all lists?

Jon Carnes jonc at nc.rr.com
Sat Apr 3 07:19:10 CEST 2004


On Fri, 2004-04-02 at 22:25, texas critter wrote:
> On Friday, April 02, 2004 8:57 PM, Lloyd F. Tennison wrote:
> 
> > Just a thought - how about your MTA or Spam filter?  The same
> > way you would setup an alias in you MTA - send anything from that
> > address to never-neverland.
> 
> No, as I said, I do NOT want to block ALL mail from these email addresses,
> it isn't spam.  I just want to block them joining lists.
> 
> They are not spammers, they haven't posted anything objectionable, they're
> just clueless AOLers who have reported messages from lists they voluntarily
> signed up for as spam so I need to block them from receiving any list mail
> from my server.
> 
> But I do want them to be able to send private email to me and everyone else
> I host, they may be friends with people I host and I have no problem with
> them emailing them.  And especially if they try to join a list and find
> they can't, then they can email me or the listowners and we can explain why
> they're banned and why they shouldn't indiscrimately hit that "spam"
> button.
> 
> So blackholing or rejecting their mail thru my MTA or spam filter doesn't
> work, I only want to affect their ability to join lists on my server.
> 
> hth,
> texas critter
> 
You could script this fairly easily:
- build a text file with one email per line,
- parse through the file with a for loop to look up each address 
- use the "list_members" command to find if an address is subscribed
- unsubscribe them to the list
- run the script daily or hourly.

You could also build this into the add_user functionality of the web and
email cgi's; have them check the text file for a negative hit before
allowing the user to be added. It would take all of about three lines of
code in each program.

Open Source is the best!

Good Luck - Jon Carnes





More information about the Mailman-Users mailing list