Milters 2006-12-03 - By Milan Keral?ger
Back On Sat, Dec 02, 2006 at 10:07:50AM -0500, Thom Paine wrote: > I can't seem to get this to work on my system. > > I'm trying the milter-date from snertsoft.com. I can't seem to get it to > build. > > Anyone else used this milter and can gie me instructions on how to get > one working? I have a few from their site I'd like to use, but I > thought date would be a good start.
I'm using clamav-milter, cvgfilter (to block executable attachments), spamass-milter and greylist-milter. All works Ok and all have classic start/stop init scripts in the /etc/init.d directory.
Just add appropriate lines into the /etc/mail/sendmail.mc, regenerate sendmail's config file by "make -C /etc/mail" and run milter's daemons on the background (and do little modification of their default config files) and restart sendmail.
All should work for any other milter filter as is.
All milter packages are in my repository as RPM packages:
http://ftp.linux.cz/pub/linux/people/milan_kerslager/RHEL-3 (See http://HEL-3.ora-code.com)/stable/
/etc/mail/sendmail.mc (every line ends after "dnl") =================================================== define(`_FFR_MILTER', `1')dnl define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if _addr}')dnl define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}')dnl define(`confMILTER_MACROS_ENVRCPT',`r, v, Z')dnl define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')dnl INPUT_MAIL_FILTER(`greylist', `S=local:/var/lib/milter-greylist/run/milter -greylist.sock, F=T')dnl INPUT_MAIL_FILTER(`cvgfilter', `S=unix:/var/run/cvgfilter.sock, F=T')dnl INPUT_MAIL_FILTER(`clamav-milter',`S=local:/var/run/clamav/clamav-milter.sock, F=T, T=C:15m;S:4m;R:4m;E:10m')dnl INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock, F=T, T=C:15m ;S:4m;R:4m;E:10m')dnl define(`confSEPARATE_PROC', `False')dnl define(`confMAX_DAEMON_CHILDREN', `12')dnl
-- Milan Kerslager http://www.pslib.cz/ke/ http://www.kai.tul.cz/~kerslage/
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|