Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

« Newer Snippets
Older Snippets »
2 total  XML / RSS feed 

Rewrite SPAM subject line with procmail

// Remove textdrive's ***SPAM*** addition
// by phearlez
// http://discuss.joyent.com/viewtopic.php?pid=154695#p154695

# Remove the word ***SPAM*** from SpamAssassin's subject line re-write

 :0 fHw
 * ^Subject: \*\*\*SPAM\*\*\*
 | sed -e 's/\*\*\*SPAM\*\*\*//g'

procmail recipe non-functioning

SENDMAIL=/usr/sbin/sendmail
LOGFILE=/users/home/quidire/os/logs/procmail.log
:0fhw
|formail -I "To:" -a "To: [email protected]"

:0a
!USER@DOMAIN.TLD


Problem fixed, this is the final version.
« Newer Snippets
Older Snippets »
2 total  XML / RSS feed