I'm have a gentoo mail server.

It's mail "stack" is
netqmail
vpopomail
with courier-imap
and tmda to provide a C-R on unknown mail.

Is it possible to use spamdyke with tmda?

When I added the suggested lines to the smtpd config file in the qmail  
control directory, the log file filled with messages about rejection,  
however my qmail queue grew VERY quickly, and it appeared as though  
tmda filtering was not running at all.  Perhaps I'm a bit crazy, but  
I'm not even sure that any of the mail was being dropped.

Any thoughts on what I should look for?

My spamdyke config file:
# Configuration option for spamdyke
#tls-certificate-file=/var/qmail/control/clientcert.pem
#graylist-level=always
#graylist-dir=/var/tmp/spamdyke/graylist
#graylist-exception-rdns-dir=/etc/spamdyke/never-graylist
local-domains-file=/var/qmail/control/rcpthosts
max-recipients=5
log-level=info
reject-empty-rdns
reject-unresolvable-rdns

My smtpd config file

# Configuration file for qmail-smtpd
# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/files/conf-smtpd,v  
1.4 2005/01/28 08:15:18 hansmi Exp $

SPAMDYKE_OPTIONS="--hostname '$HOSTNAME' --config-file /etc/spamdyke/ 
spamdyke.conf"
QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} /usr/bin/spamdyke $SPAMDYKE_OPTIONS"

# Stuff to run before tcpserver
#QMAIL_TCPSERVER_PRE=""
# Stuff to run qmail-smtpd
#QMAIL_SMTP_PRE="/usr/bin/recordio "
# Stuff to after qmail-smtpd
#QMAIL_SMTP_POST=""

# this turns off the IDENT grab attempt on connecting
TCPSERVER_OPTS="${TCPSERVER_OPTS} -P -t 2"

# fixcrio inserts missing CRs at the ends of lines. See:
# http://cr.yp.to/ucspi-tcp/fixcrio.html
# http://cr.yp.to/docs/smtplf.html
# DO NOT enable this, when you are using SSL/TLS (USE=ssl)!
#QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} fixcrio"

# You might want to use rblsmtpd with this, but you need to fill in a  
RBL server here first
# see http://cr.yp.to/ucspi-tcp/rblsmtpd.html for more details
#QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} rblsmtpd -r relays.ordb.org -r 
sbl-xbl.spamhaus.org 
  "

# If you are interested in providing POP or IMAP before SMTP type  
relaying,
# emerge relay-ctrl, then uncomment the next 2 lines
#QMAIL_TCPSERVER_PRE="${QMAIL_TCPSERVER_PRE} envdir /etc/relay-ctrl  
relay-ctrl-chdir"
#QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} relay-ctrl-check"
# In /etc/courier-imap/authdaemonrc add the next line to the end:
#authmodulelist="${authmodulelist} relay-ctrl-allow"
# Then in /etc/courier-imap/{imapd,imapd-ssl,pop3d,pop3d-ssl}
# Add this at the end
#PRERUN="${PRERUN} envdir /etc/relay-ctrl relay-ctrl-chdir"

# This next block is for SMTP-AUTH
# This provides the LOGIN, PLAIN and CRAM-MD5 types
# the 'cmd5checkpw' used in $QMAIL_SMTP_AUTHCHECKPASSWORD supports  
CRAM-MD5
# and reads it's data from /etc/poppasswd
# see the manpage for cmd5checkpw for details on the passwords
# uncomment the next four lines to enable SMTP-AUTH
QMAIL_SMTP_AUTHHOST=$(<${QMAIL_CONTROLDIR}/me)
[ -z "${QMAIL_SMTP_POST}" ] && QMAIL_SMTP_POST=/bin/true
QMAIL_SMTP_CHECKPASSWORD="/var/vpopmail/bin/vchkpw"
QMAIL_SMTP_POST="mail.ercolano.net /var/vpopmail/bin/vchkpw /bin/true"
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to