* Dan <[EMAIL PROTECTED]> writes:
> MAILDIR=$HOME/mail
> :0:
* ^Subject:.*test
> Test
> Now, having sent mail to myself it doesn't get filtered.
It might be because procmail doesn't know where to put your mail as
you haven't specified a path to "Test". Try this recipe...
,----
| :0:
| * ^Subject:.*test
| ${MAILDIR}/Test
`----
> .forward file with 644 permissions ...
> "|exec /usr/bin/procmail #501"
I'm not sure on this, but try using your user_name instead of your
user_id. A better idea would be to invoke procmail from sendmail,
that way you won't need a .forward file.
> So, what totally basic step am I doing wrong ? Do I have to set up
> sendmail to use procmail? I read somewhere RH6 and higher uses procmail by
> default so I don't need a .forward file, is this true?
That's correct. And it may already be the case on your system
,----[ grep local /etc/sendmail.cf | grep procmail ]
| ##### @(#)local_procmail.m4 8.11 (Berkeley) 5/19/1998 #####
| Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40,
`----
==========================
Want to really learn Linux?
...Install Slackware
==========================
--
---Regards, Steve Youngs--------Email:-<[EMAIL PROTECTED]>---
| If Microsoft is the answer, then all I can say is that |
| you are asking the wrong question. |
------------------------------<Don't be a Newbie--Be a Gnu-bie>---