> So, it's a permission problem?  Does it work as root?

Nup, it only worked when I moved the procmailrc to the /tmp dir..

> And what do you see when you
> ls -ld / /etc /etc/procmailrc

drwxr-xr-x  19 root  wheel  1024 Nov 20 17:21 /
drwxr-xr-x  16 root  wheel  2048 Nov 29 15:23 /etc
-rwxrwxrwx   1 root  wheel    92 Nov 29 15:22 /etc/procmailrc

I also tried adding in the -m option to the sendmail.cf for procmail.

One thing I did notice is that when I run the 'cat sample-spam.txt |
procmail /etc/procmailrc'
command, I receive the following error in my sendmail /var/log/maillog ;
'Suspicious rcfile "/etc/procmailrc" ..
Though when I run the command without /etc/procmail nothing is logged?
Do I also need to add a path (eg, /tmp/procmailrc) with the -m option
in my sendmail.cf file?

-- Andrew


----- Original Message -----
From: "Rich Duzenbury" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 30, 2002 11:03 AM
Subject: Re: [SAtalk] Sendmail and Procmail


>
> >That's it.. Procmail can't read /etc/procmailrc,
> >or at least /etc is not readable by the user.
> >I got the following error with 'cat sample-spam.txt | procmail
> >/etc/procmailrc'
> >--
> >procmail: Suspicious rcfile "/etc/procmailrc"
> >procmail: Couldn't read "/etc/procmailrc"
> >--
> >I moved the procmailrc file to the /tmp directory and it worked
perfectly.
>
> So, it's a permission problem?  Does it work as root?
>
> And what do you see when you
> ls -ld / /etc /etc/procmailrc
>
>




-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to