LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2003, 10:17 AM   #1
BaerRS
Member
 
Registered: Oct 2001
Location: Columbus, Ohio
Distribution: all.. but mainly SuSe--- looks like it changing to Red Hat
Posts: 119

Rep: Reputation: 15
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"
 
Old 05-01-2003, 10:41 AM   #2
BaerRS
Member
 
Registered: Oct 2001
Location: Columbus, Ohio
Distribution: all.. but mainly SuSe--- looks like it changing to Red Hat
Posts: 119

Original Poster
Rep: Reputation: 15
that was a really stupid question...
sorrry..
I figured it out..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
spamassassin & procmail forward for 1 user suhewabe Linux - Software 4 04-19-2005 01:33 PM
sendmail: not possible to pipe mail to programs using ~/.forward && /etc/mail/aliases fhd Linux - Networking 1 01-09-2005 07:05 PM
Postfix & Procmail Problem jdehnert Linux - Software 2 03-28-2003 11:35 AM
Procmail & mail attachments PcHammer Linux - Software 1 02-05-2003 09:31 AM
forward subdomain to ip & port andjules Linux - Networking 6 12-11-2002 05:11 PM


All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration