Sendmail & Procmail
Dan Busarow
dan at dpcsys.com
Tue Sep 6 12:53:25 PDT 2005
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
More information about the freebsd-hackers
mailing list