I've developed a plugin that allows users to setup a blocked senders list.
The sender's address of any incoming email is checked against the user's
block list. If there is a match the email is immediately delivered to the
user's SM trash folder. This plugin relies on the procmail LDA. I've
pasted a portion of the abstract from the README file below. Hopefully
others will find it useful. If someone out there decides to give it a try
I'd be very interested in hearing your comments, concerns, bug reports, etc.
The Block Sender plugin allows users to create a list of e-mail
addresses that will be "blocked" from delivery. When an e-mail arrives
for a user the sender's address is checked against their block list. If
the sender's address is in the block list the mail will automatically be
delivered to their SquirrelMail trash folder. Users can add addresses
to their blocked list by reading an e-mail and clicking on the "Block
Sender" link, which is added by this plugin. Users can also manually
edit their blocked senders list through their SquirrelMail Options.
This plugin relies on the use of the procmail LDA. Within the plugin
directory is a file called 'sqblock.rc'. This file contains a recipe
that must be added to the global procmailrc file (usually located at
/etc/procmailrc) along with variables that must be defined...