procmail
[Top] [All Lists]

How do I add a feild to the LOGFILE?

2002-01-25 04:49:33
Hi all,

How do I add a field to the LOGFILE. This is the default log data:

From brighouse5174(_at_)yahoo(_dot_)com Fri Jan 25 11:11:22 2002
 Subject: ATTRACT WOMEN                OE
  Folder: /usr/sbin/sendmail -oi giojososailing(_at_)yahoo(_dot_)com            
     
5383
From tim(_at_)thaistuff(_dot_)com Fri Jan 25 11:34:18 2002
 Subject: Spamtrap:  make money fast
  Folder: /usr/boxes/rice/thaistuff.com/spam                              
1217

I want to add the: "X-spamtrap:" field to it like this:

From tim(_at_)thaistuff(_dot_)com Fri Jan 25 11:34:18 2002
 Subject: Spamtrap:  make money fast
  Folder: /usr/boxes/rice/thaistuff.com/spam                              
1217
  X-spamtrap: { whatever is found }

                                               
-- 
Best Regards,

Tim Rice
---------------
Stationery & Stuff
Phuket Thailand
http://www.thaistuff.com
http://www.computerstuff.net
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>