I've been trying to solve this for weeks...
My Goal is to search my inbox for the following messages:
Hello
Hi
Hey
Im using three files to do this for me. The first, a .forward file in my $HOME
And these two are in my ~/.procmail directory
.procmailrc
And lastly the rule file:general.rc
Whats suppose to happen, is that all three of these files work together to copy and move mail that contain the hello pattern in its subject. And to be safe it will also look for a certain persons address. Then when those patterns are matched it will stick what it found and create the specified path; if it doesnt already exist.
But its not doing that.
After im done editiing these files in emacs, vi, .. and then save it, will it work automatically? Or do i need to compile it?
If i do, the .procmailrc might require ( if not all ) the 'Shell=/bin/sh'
Not that i didnt try that...
HELP!!!!!!!!
PLEASE..
My Goal is to search my inbox for the following messages:
Hello
Hi
Hey
Im using three files to do this for me. The first, a .forward file in my $HOME
Code:
"|IFS=' '&&exec usr/bin/procmail||exit 75 #username"
And these two are in my ~/.procmail directory
.procmailrc
Code:
VERBOSE=off
MAILDIR=$HOME/Mail
PMDIR=$HOME/.procmail
DEFAULT=/var/spool/mail/username
LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/general.rc
#end of .procmailrc
And lastly the rule file:general.rc
Code:
:0
* ^From:.*sumone@sumaddy.com
* ^Subject:.*hello
$HOME/Mail/Hello
Whats suppose to happen, is that all three of these files work together to copy and move mail that contain the hello pattern in its subject. And to be safe it will also look for a certain persons address. Then when those patterns are matched it will stick what it found and create the specified path; if it doesnt already exist.
But its not doing that.
After im done editiing these files in emacs, vi, .. and then save it, will it work automatically? Or do i need to compile it?
If i do, the .procmailrc might require ( if not all ) the 'Shell=/bin/sh'
Not that i didnt try that...
HELP!!!!!!!!
PLEASE..