The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Procmail recipe doesn't stop elmonty UNIX for Dummies Questions & Answers 18 02-03-2005 07:16 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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-30-2006
Registered User
 

Join Date: Aug 2006
Posts: 2
procmail code help

Hello,

I was wondering if my code is correct on a procmail recipe I am trying to use. I am trying to set up custom filter for for my email address. What needs to happen is any email NOT addressed to me in the to: or cc: field is deleted.

For the time being it is set it up to go to another folder instead of deleting only for testing purposes to make sure it is functioning correctly.

This is what I have

:0
* ! to:.*myemail@domain\.com.*
testdir/

Does this seem correct for what I want it to do?

Thanks,
DD
Reply With Quote
Google UNIX.COM
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:35 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0