procmailrc question

Waldher, Travis R Travis.R.Waldher at boeing.com
Fri Mar 11 00:02:00 UTC 2005


> -----Original Message-----
> From: Bob McClure Jr [mailto:robertmcclure at earthlink.net]
> Sent: Thursday, March 10, 2005 3:50 PM
> To: Getting started with Red Hat Linux
> Subject: Re: procmailrc question
> 
> On Thu, Mar 10, 2005 at 03:41:27PM -0800, Waldher, Travis R wrote:
> > Ok.. good question here.
> >
> > If I don't want an /etc/.procmailrc, and I have users that have an
> > invalid $HOME path on the sendmail server, how can I support
.procmailrc
> > files for those users as procmail only appears to look at
> > $HOME/.procmailrc.
> 
> Not true.  Procmail looks at /etc/procmailrc (not /etc/.procmailrc)
> and then at $HOME/.procmailrc.  Note also that the latter must be
> owned by the user and be writable only by that user (644 perms).
> 
> I'm curious.  What users have an invalid $HOME, and why?

In short, I have a mess here.

We have multiple user account file systems.  The one for our sendmail
server is say /acct, the one for our HP machines would be /acct.hp.  But
our sendmail server also mounts that so mail can be handled properly.

The problem is, I can't create user directories in /acct, even if it's
just to put a .procmailrc link to their /acct.hp directory.

So I need procmail to be able to use /acct/username/.procmailrc
(otherwise known as $HOME) and /acct.hp/username/.procmailrc.

Hope that made some sense.





More information about the Redhat-install-list mailing list