[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Unhappy procmail



Kevin D wrote:

> I am trying to get some prcomail rules for a specific user up and running.
> Here is the error I get in the log:
>
> procmail: Suspicious rcfile "/home/sites/site1/users/username/.procmailrc"
> procmail: Couldn't read "/home/sites/site1/users/username/.procmailrc"
>
> Here is what my user .procmailrc file contains
>
> #filter all messages from cerain user
> :0:user.lock
> * ^From: .*\<user@domain\.com\>
> /dev/null
>
> Permissions are set to 644 (-rw-r--r-- )
>
> What's wrong with this??
>
> Thanks,
> Kevin

Hi Kevin,

Do you have this as the first line of your ".procmailrc" file :
    SHELL=/bin/sh

If you are on a raq 3 or raq 4, it the parent directory permissions thats making this sick probably.
Try this:
    chmod 2711 /home/sites/site1/users/username

Make sure the ".procmailrc" file owned by "username", and that its an ascii file and not binary (ie if you ftpd it)

Then the problems should go away !
--
Regards,
Kul
Kul's Free Scripts/Recipies: http://freebies.omega-isp.com/