procmail
[Top] [All Lists]

Re: Simplest Whitelist?

2003-12-06 16:20:46
On 28 Nov 2003, at 11:37, Dallman Ross wrote:
I have whitelists.  I use a completely other algorithm,
however.  I don't use grep at all:

  * ? test -x "$GREEN/$RP"

I like that a lot. The more I think about it, the better it is.

That's my whitelist.  (Okay, greenlist.)  That is, filenames
under $GREEN/ are a hash.

$RP is the Return-Path:, captured earlier via MATCH.

Is that different from the $CLEANFROM in Sean's scripts?

It works excellently, is low-impact, and has many other advantages.
For example, last-access-time tells me when the person last wrote me!

Yep, I've been doing that by touching a $HOME/.$CLEANFROM file, but your method is loads better.

Create-time tells me when the party first wrote me.  If I wanted to,
I could write dots to the (currently empty) file to tell me how
many times the party wrote me.

Another got feature

I've been using this system for a year.  I love it!  Much better than
grep in my experience, and easier to manage.  I have a Bourne script
that checks new candidates and adds an x-flag to them when I approve
them.  The names expire automatically, via a cron job, after so many
days (I think I have it set to 90).  I also have a second file-perms
flag I can set with my approval script to make the greenlisted address
permanent, rather than expiring automatically. I use that sometimes for
people that write me rarely.

You should bundle this all up into a single rc for INCLUDERC. I think you have a real winner here.

If and when spammers screw with me and try to counterfeit my friends'
names -- which they have yet to do, and I get some serious amounts of
spam and have been targetted by spammers with vendettas -- I have a
secret Plan B augmentation system ready.

hashing the Return address with the Received headers?

--
There's nothing to do, so you just stay in bed [ah, poor thing] Why live in the world when you can live in your head?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>