cufilter - Filter emails through Mail::CheckUser
Add the following lines to your ~/.procmailrc:
# Filter mail through Mail::CheckUser
When email messages are filtered through this program using the procmail settings as outlined in the SYNOPSYS, the email address in the "From:" header is passed through Mail::CheckUser to ensure validity. If there is a problem with the email address, the "Subject:" header is modified to show which email address failed along with the failure reason. No messages are lost, but it provides an easy way for the mail client to organize, sort, or filter based on the subject tweaks.
Lets say a spammer sends a message with the following headers:
Subject: Happy Pill
Then the new headers might change to the following:
Subject: [CUfirstname.lastname@example.org!DNS failure: SERVFAIL] Happy Pill
This makes it easy to filter for mail clients.
This file can be installed into /usr/bin/cufilter and is intended to be utilized through the procmail functionality by adding the following lines to your ~/.procmailrc configuration.
Rob Brown email@example.com
Copyright (c) 2003 Rob Brown firstname.lastname@example.org. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
$Id: cufilter,v 1.3 2003/09/18 15:36:26 hookbot Exp $
1 POD Error
The following errors were encountered while parsing the POD:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
To install Mail::CheckUser, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.