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

Re: procmail



On Thu, May 08, 2003 at 08:06:49PM -0700, Paul Johnson wrote:
> > Perhaps I missed the start of this thread, but with Debian and Exim you
> > don't need a .forward to use procmail.
> 
> You're the only one disagreeing with this concept...

The exim.conf should have a director like this:

# This director runs procmail for users who have a .procmailrc file

procmail:
  driver = localuser
  transport = procmail_pipe
  require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
  no_verify

which comes before the "localuser" director.  But there is the "userforward" director before 
the procmail director.


> > One thing that has caught me is that setting rules in /etc/procmail only 
> > work if the user has a .procmailrc.
> 
> I don't think /etc/procmail is meant to be used for per-user sorting,
> but rather to add system-wide rules for dealing with messages or
> adding virus scanners, etc, easily.

I use it for running spamc.

But my point was that in order for the rules in /etc/procmail to be processed the user needs
to have a .procmailrc.  So in my case, and with the default debian setup, users that do not 
have a .procmailrc in $HOME are not getting spamd to run.  At least that's what exim.conf 
seems to show and what I saw this morning in testing (but at 1/2 past midnight I'm not 
testing again).

Yes, there's other ways to hook in SA to exim.


-- 
Bill Moseley
moseley@hank.org



Reply to: