On Wed, 16 Oct 1996, Stan Ryckman wrote:
Hi, read the man procmail and copy pasted the line that was supposed to be
an example into .forward file
"|IFS=' '&&exec /usr/local/bin/procmail -f-||exit 75
#_^HY_^HO_^HU_^HR__^HU_^ HS_^HE_^HR_^HN_^HA_^HM_^HE"
No, that's not the example; what's with all those "_^H" things?
Looks like you cut and pasted an underlined "YOUR USERNAME"
but you're supposed to put your username there (and it belongs
on the first line, without underlines).
I see that now! tho thats exactly as written i n my man procmail file!
it now read;
"|IFS=' '&&exec /usr/local/bin/procmail -f-||exit 75 #abrams"
Where's the /dev/null line in your recipe? Or are you just giving
us what you think are the relevant parts?
I left that out in the example, but here is the complete .procmailrc
with two different recipes tried individually and together, and either way
I still wind up with *all* test mail I sent to myself being /dev/nulled
regardless of subject;
A sample small $HOME/.procmailrc:
PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=$HOME/Mail #you'd better make sure it exists
DEFAULT=$MAILDIR/mbox #completely optional
LOGFILE=$MAILDIR/from #recommended
:0
* ^Subject:.*Deals
/dev/null
:0
* (^TO|^Subject:.*)flame[^t]
/dev/null
Also look in the procmailex man page, for "safety net", and copy
those lines to the beginning of your .procmailrc. It will keep the
last 32 emails around in a backup directory while you tinker with
things (at least once you get .forward working).
I didnt do that cause I simply sent mail to myself, and from my other acct
and when I got nothing I disabled the .forward file.
Sorry, I don't see enough information to offer other help at this
point.
Thanks Stan, this stuff drives me batty, any ideas before I write my admin
for help?
I used to use filter, it worked fine on another server, but not on this
one for some reason.
Cheers,
Stan.