LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   need simple procmail & .forward help (https://www.linuxquestions.org/questions/linux-software-2/need-simple-procmail-and-forward-help-57633/)

BaerRS 05-01-2003 09:17 AM

need simple procmail & .forward help
 
Not sure if this is the best forum to list this in... but here it is.

I'm trying to set up procmail to filter messages..
for test reasons.. I'm trying to filter for when the subject line is: "Proctest"

I have include copies of what I have done so far...
right now.. it deletes all incoming mail... not just the mail that comes in with the a match on the subject line.

What am I doing wrong here ???

Code:

-----------------------------------
|        .procmailrc                |
-----------------------------------
SHELL=/usr/bin/bash       
MAILDIR=${HOME}/mail
LOGFILE=${MAILDIR}/procmail.log
LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "

:0
* ^Subject: Proctest
/dev/null

-----------------------------------
|            .forward              |
-----------------------------------
"|exec /usr/bin/procmail"


BaerRS 05-01-2003 09:41 AM

that was a really stupid question...
sorrry..
I figured it out..


All times are GMT -5. The time now is 08:16 PM.