Query: cufilter
OS: debian
Section: 1p
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CUFILTER(1p) User Contributed Perl Documentation CUFILTER(1p)NAMEcufilter - Filter emails through Mail::CheckUserSYNOPSISAdd the following lines to your ~/.procmailrc: # Filter mail through Mail::CheckUser :0f | /usr/bin/cufilterDESCRIPTIONWhen 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.EXAMPLESLets say a spammer sends a message with the following headers: From: god@heaven.org To: you@host.com Subject: Happy Pill Then the new headers might change to the following: From: god@heaven.org To: you@host.com Subject: [CU!god@heaven.org!DNS failure: SERVFAIL] Happy Pill This makes it easy to filter for mail clients.INSTALLThis 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. # Filter mail through Mail::CheckUser :0f | /usr/bin/cufilterAUTHORSRob Brown bbb@cpan.orgCOPYRIGHTCopyright (c) 2003 Rob Brown bbb@cpan.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 $SEE ALSOMail::CheckUser(3), procmail(1). perl v5.14.2 2012-03-10 CUFILTER(1p)
Related Man Pages |
---|
mail::filter5.18(3) - mojave |
mail::filter(3) - osx |
log::agent::driver::mail(3pm) - debian |
mail::listdetector(3pm) - debian |
mail::verify(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
mail from header |
Mail in UNIX |
Sed diffrent replace by occurrence |
Learning AIX? |
Happy New Year 2014 - Tapatalk Reinstalled |