procmail
[Top] [All Lists]

adding a static footer

2005-10-07 04:00:53
Dear Friends,



I have the following configurations in my procmailrc file .....


#:0fw

#| /usr/bin/spamc

LOGFILE=/var/log/procmail

#---------Script 2-------------------

# From: http://bigfish.ull.at/~djmaecki/procmail.en.html

SHELL=/bin/sh

MAILDIR=/var/mail/

LOGFILE=/var/log/procmail.log

LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "



#LOGABSTRACT = "all"

#VERBOSE = "on"

#

# Whatever recipes you'll use

# The order of the recipes is significant

#

# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'

# if you use the spamc/spamd combination)

# The condition line ensures that only messages smaller than 100 kB

# (100 * 1024 = 102400 bytes) are processed by SpamAssassin. Most spam

# isn't bigger than a few k and working with big messages can bring

# SpamAssassin to its knees.

#:0 hbfs

:0fw

* < 102400

| /usr/bin/spamc

# Mails with a score of 15 or higher are almost certainly spam (with 0.05%

# false positives according to rules/STATISTICS.txt). Let's put them in a

# different mbox. (This one is optional.)

#:0

#* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*|\

# ^X-Spam-Flag: YES

#.SPAM/

#Added by Sanjeevi on 10th march 2004 to divert spam mails with score
morethan 8 to .SPAM directory

:0

* ^X-Spam-Level: \*\*\*\*\*\*\*\*

.SPAM/

# |\

# ^X-Spam-Flag: YES

#.SPAM/

#end

# All mail tagged as spam (eg. with a score higher than the set threshold)

# is moved to "SPAM"

# even those pesky {un,}subscriber

:0

* ^X-Spam-Flag: YES|\

^Subject:.*unsubscribe|\

^Subject:.*subscribe|\

^Subject:.*winning number*|\

^Subject:.*happy holidays|\

^Subject:.*Smith Barney|\

^Subject:.*Free porn|\

^Subject:.*Porn|\

^Subject:.*porn|\

^Subject:*.love life|\

^Subject:*.sex|\

^Subject:*.Sex|\

^Subject:*.*DETCETED* Online User Violation|\

^Subject:*.SECURITY MEASURES

.SPAM/

# Accept all the rest to my default mailbox

:0

*

/var/mail/ksdadmin



What shall I do to add a static footer for my outgoing messages.



Anand S
SysAdmin
Kesdee Systems India Pvt. Ltd

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>