procmail
[Top] [All Lists]

handling spam (again)

1997-04-09 12:20:00

a customer of an ISP i work with recently got mail-bombed by being subscribed
to multiple mailing lists. we've been using procmail as the final delivery
agent for other reasons. the customer doesn't normally have access to their
$HOME directory, but creating a local .procmailrc to filter out:

LOGFILE=$HOME/logfile

:0
* 100^1 ^Precedence: bulk
* 100^1 ^Precedence: list
* 100^1 ^Sender: owner-*
* 100^1 ^From owner-*
* 100^1 ^To: Multiple recipients of list
bulkmail

was pretty straight-forward. (i haven't verified whether the customer is
actually a subscriber to any mailing lists, but that can be dealt with later.)

what i'd really like to do now is to have the recipe, instead of dumping
everything into the "bulkmail" file, determine a return-address in a certain
preference order. i suspect that it would be something like:

Errors-To:
Sender:
Return-Path:
FROM

the return message might try to do an automatic unsubscribe, probably followed
by some text claiming that the customer was subscribed without his/her
permission.

what i would also like to do is send the message back somewhat in the nature
of the "vacation" program, say every 5 days or so. i don't really want/need
to send a message back to the list maintainer for every message received.


does anyone have anything at all close to this?


<Prev in Thread] Current Thread [Next in Thread>