Spamassassin, greylist, and sendmail
Steven Stern
subscribed-lists at sterndata.com
Sat Dec 18 17:16:20 UTC 2004
I'm trying greylisting as a way of reducing spam.
By themselves, both milter-greylist and spamass-milter work OK. When I
combine them, spamass-milter dies with the error "cmd read returned 0
expecting 5"
It seems that the problem is with the milter macros required by
milter-greylist. If they defines following the greylist milter are
uncommented, then I have the problem with spamass-milter. I'musing
spamass-milter 0.2.0.
Suggestions? (Yes, I know, use MimeDefang or Amavis. But right now, I want
to see if I can solve this problem.)
dnl #
dnl #### greylist milter ###########################
dnl #
dnl #INPUT_MAIL_FILTER(`greylist',
`S=local:/var/milter-greylist/milter-greylist.sock')dnl
dnl #define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')dnl
dnl #define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')dnl
dnl #define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')dnl
dnl #
dnl #### CLAM ######################################
dnl #
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clamav-milter.sock,F=,
T=S:4m;R:4m')dnl
dnl #
dnl #### SPAMASSASSIN #############################
dnl #
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock,
F=,T=C:15m;S:4m;R:4m;E:10m')dnl
dnl #
define(`confMILTER_LOG_LEVEL', 8)dnl
--
Steve
More information about the fedora-list
mailing list