LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Procmail recipe (http://www.linuxquestions.org/questions/linux-general-1/procmail-recipe-331684/)

jebix666 06-08-2005 07:41 PM

Procmail recipe
 
I have a situation where i need to use a procmail recipe to look at the "to" field of an email and if it does NOT have a certain addresss then the message will be dumped into a certian folder, otherwise it will continue through the rest of the script. Right now all i can do is make it do is look for the address, but i dont know how to create an action which will take anything that doesent match and move it to a seperate folder. Thanks for any help you guys can give me.

Jebis

acid_kewpie 06-09-2005 02:43 PM

Code:

:O
* !^TO:user@domain.com
foldername

please check "man procmailex" for numerous examples going further on this.


All times are GMT -5. The time now is 09:32 AM.