Great Circle Associates Majordomo-Users
(May 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Denying users/domains access
From: Darren Wyn Rees <merlin @ netlink . co . uk>
Organization: A470
Date: Tue, 9 May 2000 02:55:29 +0000
To: Gunnar Wolf <gwolf @ campus . iztacala . unam . mx>
Cc: majordomo-users @ greatcircle . com
In-reply-to: <Pine.LNX.4.10.10005081256270.613-100000@campus.iztacala.unam.mx>
References: <Pine.LNX.4.10.10005081256270.613-100000@campus.iztacala.unam.mx>

Gunnar Wolf <gwolf@campus.iztacala.unam.mx> :

> spam. Is there a way I can deny them, based on username, domain and/or
> message subject, the right to post to majordomo? I thought to go the hard
> way and modify the majordomo source, but I don't know if it is the optimal
> solution... 

The optimal programming solution is usually the 'least effort route' IMHO.
In your case, that means finding a tool or method which already exists...

> I would like to do this on a global basis - having a file with the
> configuration for all of my lists. Is it implemented? Should I try and do
> it?

You can deny certain subjects on a global basis, or on per list
basis.  If you want to deny a certain subject on a global
basis - all lists - then you add an entry to majordomo.cf
for "global_taboo_headers".  See also "global_taboo_body".

Read the FAQ, read the majordomo.cf file itself for more info on this.
There are examples annotated within the majordomo.cf file.

If you wish to do the above on a per list basis, then you
need to configure your "taboo_body" and "taboo_headers" entries.
As listed in <listname>.config file.

In most cases, if you've banned a spammer, you've banned a spammer
on a global basis - s/he has no right to post to any of your lists.
You could therefore put a domain name or mail address in the
"global_taboo_headers" in majordomo.cf.

Or, use a filter so that aforementioned spammer may not 
subscribe to any list in the first place.  Brent Chapman -
posted a filter called (imaginatively)
'filter' to this list on 27 December 1995, Subject line 
"More forged subscription spams".  Check out the archives.
I've also found 2 other filters by reading past archives :
one called 'lamer' (by Todd Wyatt) and one called 'squelch'
(by Steve Manes).  There are certainly other examples .
But the examples I've cited above *work*

As an end note, may I suggest you consider this :
If you know how to identify your spammer by domain and/or mail
address, then why not deny their mail at MTA level, instead
of passing the work to Majordomo ?  For example, if using
the easily configurable and quite secure qmail (www.qmail.org)
this is a matter of putting these details in a file called
(appropriately) 'badmailfrom'.  Your MLM will then not
have to expend resources on processing bounces et. al.

	Darren


References:
Indexed By Date Previous: Re: Denying users/domains access
From: Dan Liston <dliston@netscape.com>
Next: How to hide rcpts. in majordomo?
From: a_vogt@gaia.de (Andreas Vogt)
Indexed By Thread Previous: Re: Denying users/domains access
From: Dan Liston <dliston@netscape.com>
Next: Duplicate messages with large lists
From: paul quattro <pquattro@quark.com>

Google
 
Search Internet Search www.greatcircle.com