procmailrc question
Rick Stevens
rstevens at vitalstream.com
Fri Mar 11 00:21:43 UTC 2005
Waldher, Travis R wrote:
>>-----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.
See my earlier response. The sendmail.cf line to use would be
O ForwardPath=/acct/$u/.procmailrc:/acct.hp/$u/.procmailrc:\
$z/.procmailrc
(line wrapped for readability)
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- If this is the first day of the rest of my life... -
- I'm in BIG trouble! -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list