At 15:43 31.10.2001 -0500, you wrote:
>Will this work?? The man page says nothing about /etc/procmailrc. u sure ? and whats this then : man procmail "If no rcfiles and no -p have been specified on the command line, procmail will, prior to reading $HOME/.procmailrc, interpret commands from /etc/procmailrc (if present). Care must be taken when creating /etc/procmailrc, because, if circumstances permit, it will be executed with root privileges (contrary to the $HOME/.procmailrc file of course)." read more carefully ;) --quay >On Wed, 31 Oct 2001, quaylar wrote: > > > At 12:14 31.10.2001 -0800, you wrote: > > >Thanks to the help I've gotten from this list, I'm > > >configuring fetchmail and procmail to retrieve and > > >sort my incoming mail. I'm on a single-user machine > > >runing 8.1. > > > > > >The fetchmail part was easy, and I think I have an > > >idea of how to write procmail recipe. My question is, > > >where do I put the .procmailrc ? > > > > > >I'm sorting mail in order to put it into different > > >Mail folders in different home directories. I have > > >fetchmail running as a daemon. It dumps the mail into > > >/var/spool/mail/paul. Depending on the "To:" field, > > >I'm going to move the mail to either my home directory > > >or my wife's. > > > > > >According to what I've been reading, Linux invokes > > >procmail if it finds the .procmailrc file in the > > >logged-in user's home directory. But, since I'm moving > > >mail into different home directories, I need procmail > > >to be run by root, even though either myself or my > > >wife will be the logged in user. How do I do this and > > >where do I put the .procmailrc file? > > > > > > put it in /etc/procmailrc (without the leading ".") > > this will make the file globally used..... > > > > --quay > > > > > > > > > > >-Paul "I can type 'man' really fast now" Schwebel > > > > > >__________________________________________________ > > >Do You Yahoo!? > > >Make a great connection at Yahoo! Personals. > > >http://personals.yahoo.com > > > > > >Want to buy your Pack or Services from MandrakeSoft? > > >Go to http://www.mandrakestore.com > > > > > > > >-- >Arthur H. Johnson II >[EMAIL PROTECTED] >The Linux Box >http://www.linuxbox.nu > > >Want to buy your Pack or Services from MandrakeSoft? >Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com