![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with procmail mailing list | parente | Shell Programming and Scripting | 0 | 01-11-2008 11:04 AM |
| procmail code help | Hexabah | UNIX for Dummies Questions & Answers | 0 | 08-30-2006 07:05 PM |
| Procmail filter | luiz_fer10 | UNIX for Dummies Questions & Answers | 1 | 06-14-2002 12:33 PM |
| Procmail Tutorial | luiz_fer10 | UNIX for Dummies Questions & Answers | 1 | 05-24-2002 08:39 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
using procmail to filter content
Hi i would like to find out how can i write a procmail rule to filter based on the email content.i was unable to locate any similar threads that does filtering based on the content.would appreciate any pointers. thanks
Code:
:0 * ^From: Machine1 <machine1@aaa.com> # i will have a string "machine1.log" in the content Email_from_M1_log :0 * ^From: Machine1 <machine1@aaa.com> # i will have a string "machine1.result" in the content Email_from_M1_result |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
An old but relevant tutorial:
http://www.stimpy.net/procmail/tutorial/ An excellent source of Procmail recipes: http://lipas.uwasa.fi/~ts/info/proctips.html As for content filtering take a look at: http://partmaps.org/era/procmail/quickref.html In particular, the "Scope of matching" section. HTH Cheers, ZB Last edited by zazzybob; 06-11-2007 at 03:35 AM. |
||||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|