On Tue, 2002-08-27 at 07:10, Thomas Nyman wrote:
Hi Again Susers!
I run jhardins Sanitizer on my mailserver, and as far as I can tell it works nicely. I've tried reading the man pages for procmail and a few other items but I'm still unsure about one issue.
Postfix uses procmail for delivery and in /etc I have the relevant files for the system, however what about locally for each user..if I create a procmailrc file in $home/user will that file run instead of the procmailrc file in /etc ?, or will it run after the /etc/procmailrc file?
I would like hardins sanitizer to execute and after that for individual users to be able to add their on filtering rules or whatever?
Anyway, which order are the procmailrc files executed, which takes precedence?
Thomas
This is way I *think* it works: If you have postfix configured to use procmail for local delivery _and_ you have set up an /etc/procmailrc file, then that file processes all incoming mail first. Next, if a user has a .forward file set up to send incoming mail to procmail, then that users .procmailrc file gets processed next. You should set up a test to prove this, but that is my recollection. Best Regards, Keith -- LPIC-2, MCSE, N+ Right behind you, I see the millions Got spam? Get spastic http://spastic.sourceforge.net