Jerry Kemp - sendmail <mail2(_at_)sun(_dot_)twlight(_dot_)net> writes:
I have been lurking on this list for about a month now and I am interested
in setting up procmail on a Solaris 2.6 box that I administer. I have
a couple questions from a sysadmin point of view on setting thing up
correctly. My initial goals are to use Procmail as my local mailer
and to deliver mail to users home directories instead of /var/mail.
Question 1.
When creating my sendmail.mc file do I need to list the
MAILER(local) in addition to FEATURE(local_procmail)? I am
using the sample from
http://www.iicons.com/sendmail/configme.html at the bottom of
the page as an example. Here it is so you can see what I am
talking about.
...
Yes, you need to include both. FEATURE(`local_procmail') just changes
the definition of a macro used by MAILER(local).
Question 2.
Is this all that need to be done to use Procmail as my
local mailer? From the reading of FAQ's and how-to's
it appears so but the majority of the documentation that
I read appears to be from an end user's point of view
who is trying to work on a system that the sysadmin will
NOT install Procmail in any official capacity.
FEATURE(`local_procmail') specifies a path of /usr/local/bin/procmail,
so make sure that's the correct binary. Otherwise, you should be off
and running.
Philip Guenther