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.

Advertisement

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

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

2 comments… add one
  • Harry Sep 7, 2009 @ 1:52

    Thanks!

  • Someone Jan 19, 2010 @ 17:28

    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 Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.