Re: Procmail battles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2006-05-13 at 14:48, Paul Michael Reilly wrote:

> LOGFILE=/root/procmail.log
> LOGABSTRACT=yes
> VERBOSE=1
> 
> and send mail to "root" then I actually see an abstract appended to
> /root/procmail.log which is consistent with the procmail man page in
> that it says $HOME/.procmailrc will get processed.  I leaped,
> incorrectly it would appear, to the conclusion that $HOME referred to
> the mail target.  It must be referring to the User running procmail,
> i.e. "root" on a stock Fedora Core system, which makes considerable
> sense.  This, I believe, is the crux of my battles.

$HOME is the expansion of the environment variable HOME, which
is set to the 6th field of the user's /etc/passwd file entry,
i.e. their home directory.  This happens in a straightforward
way during logins and is emulated in procmail runs. 

> So that raises the question: how does one configure mail (sendmail or
> otherwise) on a stock Fedora Core system so that ~User/.procmailrc
> will be processed for all User's on the system?

~user is expanded in a shell to the same thing as $HOME would be for
that user.  Sendmail should, by default, use procmail for everyone
which should then process their .procmailrc but it will not trust
files where the permissions allow write access by others.

-- 
  Les Mikesell
   lesmikesell@xxxxxxxxx


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux