Processing .procmailrc files in home directories?

From: Kevin G. (kevin_at_kgibbons[nospam)
Date: 11/30/03


Date: Sun, 30 Nov 2003 08:38:52 GMT

Hello all,

I currently have 3 RedHat 8 servers. These are plain RedHat installs,
with no Cpanel or Ensim tied in.

I have Sendmail and Procmail installed, and working on these machines.
However, for the life of me I can't figure out how to make *ALL*
.procmailrc files process in user's home directories. I thought this
worked by default if you have procmail installed, but I guess this
isn't the case.

What I mean is, if I create a .procmailrc file and drop it into a
user's home directory, it does NOT process the file. I have to
manually edit /etc/procmailrc to show something like this:

INCLUDERC=/home/user/.procmailrc

Then it DOES process this file, but processes this recipe file
globally for the entire server rather than just for that user. Which
isn't really good at all.... because I might want to filter different
user's mail in different ways.

So basically, I'm trying to find the correct way to setup procmail so
it's "hooked" into each user's home directory, by using a .procmailrc
file. And then for any new or existing users, I would only have to
drop a .procmailrc file in the home directory and it would be
processed automatically rather than having to define each one in
/etc/procmailrc

Any help on this would be greatly appreciated.

Kevin G.
kevin[at]kgibbons[dot]com



Relevant Pages

  • Re: Fetchmail Complaining
    ... | Fetchmail on my machine is complaining that it can't read my .procmailrc file ... Is your home directory group or world writeable? ...
    (Fedora)
  • Re: spamassassin configure problem
    ... I have read the INSTALL come with spamassassin 3.2.0. ... need to create a .forward file in my home directory like this: ... keep your .procmailrc file but remove the .forward file? ... # send mail through spamassassin (use spamc) ...
    (comp.os.linux.misc)
  • Re: spamassassin best practices
    ... configured) and add .procmailrc in a user home directory with ... It's Maildir in my Debian. ... Should the same be done to server b? ... Do I need to copy .procmailrc to all user home directory in server a and b? ...
    (Debian-User)