Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2005 13:52:53 -0600
From:      Dan Busarow <dan@dpcsys.com>
To:        Gregory Neil Shapiro <gshapiro@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, Steve Suhre <tech@nano.net>
Subject:   Re: Sendmail & Procmail
Message-ID:  <1C867FE5-031C-497C-8E17-CBEB3445D0CD@dpcsys.com>
In-Reply-To: <20050906155820.GX33939@gir.gshapiro.net>
References:  <431DB787.3060507@nano.net> <20050906155820.GX33939@gir.gshapiro.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sep 6, 2005, at 9:58 AM, Gregory Neil Shapiro wrote:

>> ...
>> FEATURE(local_procmail, `/usr/bin/procmail')
>> MAILER(procmail)
>> MAILER(local)
>> ...
>>
>
> You don't need MAILER(procmail) if you are using FEATURE 
> (local_procmail).
> On the other hand, procmail as a local mailer will only read the  
> user's
> ~/.procmailrc, *not* the system wide one.  If you want to use  
> procmail as
> a system wide filter, there are examples of how to do this in the
> EXAMPLES section of the procmail man page.  You will need to drop
> FEATURE(local_procmail) and just use MAILER(procmail) and add rules
> or mailertable entries to get mail to go to that mailer.  However,  
> that
> may mean you no longer evaluate user ~/.procmailrc files.  You'll have
> to research the procmail side more.

I have both MAILER(procmail) and FEATURE(local_procmail) in my .mc  
and site wide (/usr/local/etc/procmailrc) works fine.

Is your procmail really in /usr/bin?

>> I don't see spamc or spamd running
>>
>
> That is a problem.  spamd needs to be running for spamc to contact it.
> Check /usr/local/etc/rc.d/sa-spamd.sh.

Right, if spamd isn't running it doesn't matter if the procmail setup  
is correct since SA will never get called.

Dan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1C867FE5-031C-497C-8E17-CBEB3445D0CD>