I've just uploaded version 0.3 of the Block Sender plugin. The main
feature added, by popular demand, is the ability to block entire domains
from delivery. There are two ways to block a domain:
(1) From any e-mail message you will now see a link, "Block Sender's
Domain". Clicking this will add the sender's domain to the block list.
(2) Manually add an entry to your block list from the SM Options of the
"*@dom-to-block.com" (no quotes)
When either (1) or (2) is done then any mail from the domain in question
will be delivered to the receipient's SM trash folder.
The minor bugs that were fixed were:
* Corrected the regex used to determine the sender's address when
blocking a sender. Some valid addresses were not properly parsed - this
has been corrected.
* Corrected a bug that would deliver messages to a maildir as root.
When this is done in the maildir format the user would not be able to
view the message in the trash folder and any attempt to would cause an
error with the IMAP server (since root owned the file and not the
receipient). This has been corrected.
PLEASE NOTE: The sqblock.rc file (containing the procmail recipe) was
changed. YOU MUST REPLACE THE CURRENT FILE WITH THE NEW ONE IN THIS
VERSION IN ORDER FOR THE PLUGIN TO FUNCTION PROPERLY. NOT REPLACING THE
sqblock.rc FILE WILL CAUSE PROBLEMS WITH THE PLUGIN'S FUNCTIONALITY.
PLEASE GO THROUGH THE FILE CAREFULLY BEFORE INSTALLING AS YOU
(THE SYSADMIN) WILL NEED TO MAKE CHANGES TO THE CONTENTS OF THE
Sorry for the caps above, but it is important since the sqblock.rc file
does run with root privs on your system.
Since I have not experienced any major issues myself with the plugin
nor have I received any reports of issues from users I think I will be
able to safely lift the beta tag on this plugin in a month or so (giving
users time to install and use the latest version of the plugin). As
always, any comments or questions concerning this plugin are welcomed.