On Thu, 30 Dec 1999 [EMAIL PROTECTED] wrote:
> I've made a .procmailrc file in my home directory, this has had several
> incarnations, the simplest being
>
> MAILDIR=$HOME/mail
>
> :0:
> * ^Subject:.*test
> Test
>
That looks right. Incidentally, it is often helpful to put:
LOGFILE=$HOME/procmail.log
at the beginning so you can see what is going on.
> /home/danb/mail does exist by the way
Create it. I don't think that's your problem, but it might help.
> Now, having sent mail to myself it doesn't get filtered. So I created a
> .forward file with 644 permissions ...
>
> "|exec /usr/bin/procmail #501"
>
> 501 being my user id
>
You shouldn't need the #501 on the end (but it also shouldn't make any
difference).
> 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?
>
I assume you are using sendmail rather than some other MTA (exim, etc)?
If so, then check /etc/sendmail.cf
If there is a section that starts Mprocmail, then you shouldn't need a
.forward file, otherwise you should.
--
Mike Ricketts <[EMAIL PROTECTED]>
No man would listen to you talk if he didn't know it was his turn next.
-- E.W. Howe