Sendmail & Procmail

Gregory Neil Shapiro gshapiro at freebsd.org
Tue Sep 6 08:58:21 PDT 2005


> ...
> 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 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.



More information about the freebsd-hackers mailing list