Re: Testing sendmail + milter-greylist

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

 



Timothy Alberts wrote:
> I have a standalone test FC5 box running sendmail.  I yum install
> milter-greylist...went through the docs and found I need to add
> 
> INPUT_MAIL_FILTER(`greylist',
> `S=local:/var/run/milter-greylist/milter-greylist.sock')
> define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')
> define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')
> define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')
> define(`confMILTER_MACROS_ENVRCPT', `{greylist}')
> 
> to my sendmail.m4 and rebuild.

I've been using milter-greylist for a long time (since version 1.5).  I
built my own RPM for version 1.6, and then I converted over to the RPM
in the extras repository when version 2.0 became available there.
I added the following lines to my /etc/mail/sendmail.mc file:

> dnl #
> dnl # Greylist Milter Support
> dnl #
> INPUT_MAIL_FILTER(`greylist',`S=local:/var/run/milter-greylist/milter-greylist.sock')
> define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')
> define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')
> define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')

Then I ran "make -C /etc/mail" like it says in the top of that file.
Then you have to start milter-greylist:
	service milter-greylist start
and if that works, restart sendmail:
	service sendmail restart
(reload may be good enough).

Check /var/log/maillog for any problems after that.

-- 
Kevin J. Cummings
kjchome@xxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://counter.li.org)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux