≡ Menu

Procmail suspicious rcfile message (/home/user/.procmailrc) solution

Procmail is autonomous mail processor. Procmail should be invoked automatically over the .forward file mechanism as soon as mail arrives. It starts to look for a file named $HOME/.procmailrc.

The rcfile can contain a mixture of environment variable assignments (some of which have special meanings to procmail), and recipes.

This is not really a big problem. It is related to file permission. Use chmod command (change file access permissions) to fix problem (assuming that your user name is vivek):

$ chmod 0640 /home/you/.procmailrc

OR

$ chmod 0640 ~/.procmailrc

Further, make sure the .procmailrc file is owned by you and not by someone else:

$ ls –l ~/.procmailrc

If file is not owned by you then use chown command to setup correct ownership (if your user name is vivek):

# chown vivek:vivek ~/.procmailrc

Finally make sure your home directory belongs to you only:

$ ls –ld ~

Use chown to setup correct group permission on your home directory:

# chown vivek:vivek /home/vivek

Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?

{ 2 comments… add one }

  • Harry September 7, 2009, 1:52 am

    Thanks!

  • Someone January 19, 2010, 5:28 pm

    I came here having the same problem. But I found that you although have to remove ACL entries on the .procmailrc. Maybe you could add this.

Leave a Comment