![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with procmail mailing list | parente | Shell Programming and Scripting | 0 | 01-11-2008 02:04 PM |
| procmail code help | Hexabah | UNIX for Dummies Questions & Answers | 0 | 08-30-2006 10:05 PM |
| Procmail filter | luiz_fer10 | UNIX for Dummies Questions & Answers | 1 | 06-14-2002 03:33 PM |
| Procmail Tutorial | luiz_fer10 | UNIX for Dummies Questions & Answers | 1 | 05-24-2002 11:39 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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 |
|
|||||
|
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 06:35 AM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|