[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
spamass-milt not being called by sendmail
From: |
Chad Whitten |
Subject: |
spamass-milt not being called by sendmail |
Date: |
Wed, 6 Oct 2004 16:18:01 -0500 |
User-agent: |
KMail/1.5.4 |
ive got spamass-milter running, spamd running and sendmail-8.13.1 running. i
can relay messages fine through the server, but sendmail never sends the
message to spamass-milter. i compiled sendmail with milter support (added
the following to site.config.m4
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
and then in my sendmail.mc file put
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/sendmail/spamass.sock, F=,
T=C:15m;S:4m;R:4m;E:10m')dnl
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name},
{if_addr}')dnl
im using the latest cvs of spamass-milter
note, this is on a server that doesnt accept mail locally, but instead sends
it to another server via the mailertable function in sendmail. could that be
the problem?
here is my complete sendmail.mc
divert(-1)
include(`/usr/local/src/sendmail-8.13.1/cf/m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
define(`confTO_CONNECT', `1m')
define(`confTRY_NULL_MX_LIST',true)
define(`confDONT_PROBE_INTERFACES',true)
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/sendmail/spamass.sock, F=,
T=C:15m;S:4m;R:4m;E:10m')dnl
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name},
{if_addr}')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')
FEATURE(`mailertable',`hash -o /etc/mail/mailertable')
FEATURE(`access_db',`hash -o /etc/mail/access')
FEATURE(`blacklist_recipients')
FEATURE(`no_default_msa')
FEATURE(`dnsbl', `sbl-xbl.spamhaus.org', `Rejected - see http://
www.spamhaus.org/XBL')dnl
FEATURE(`delay_checks')dnl
FEATURE(redirect)
FEATURE(always_add_domain)
FEATURE(use_cw_file)
FEATURE(local_procmail)
MAILER(smtp)
--
Chad Whitten
Network Administrator
neXband Communications
address@hidden
601-944-4801 Phone
601-944-4803 Fax