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 started /usr/sbin/milter-greylist. I restarted sendmail 'service restart sendmail' (after rebuilding with webmin interface) and in my system log error messages I get
Oct 10 15:21:13 localhost sendmail[1955]: sql_select option missing Oct 10 15:21:13 localhost sendmail[1955]: auxpropfunc error no mechanism available
Any comments or suggestions? Again, at this point it's just a dumb test box with the 'default' sendmail.m4 file. All I want to do is play with milter-greylist a bit before I try and deploy it on a server.
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.