Now it works!! Using spamdyke with the access-file option and the
smtp-auth-command-encryption option
make my mail server sending mails with spamdyke enabled and makes me happy!!
Thanks for your help!!
Marc Stiebich
Sam Clippinger wrote:
Try using the "access-file" option in your spamdyke.conf file. It
should look like this:
access-file=/etc/tcp.smtp
When "access-file" and "local-domains-file" are both in use, spamdyke
will control relaying correctly and should allow it for all
authenticated users.
Also, it looks like you're using vpopmail, so
"" is probably the correct option to use (if
vpopmail was configured to store unencrypted passwords when it was
compiled). You can find out for sure by using the "config-test" option.
-- Sam Clippinger
Marc Stiebich wrote:
Using this one works:
#!/bin/sh
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" ; export QMAILQUEUE
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z
"$LOCAL" ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo "No /var/qmail/control/rcpthosts!"
echo "Refusing to start SMTP listener because it'll create an open relay"
exit 1
fi
exec /usr/local/bin/softlimit -m 40000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
rblsmtpd \
-r bl.spamcop.net \
-r list.dsbl.org \
-r ix.dnsbl.manitu.net \
/var/qmail/bin/qmail-smtpd mail.xxxx.net \
/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1
and this one works not:
#!/bin/sh
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" ; export QMAILQUEUE
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z
"$LOCAL" ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo "No /var/qmail/control/rcpthosts!"
echo "Refusing to start SMTP listener because it'll create an open relay"
exit 1
fi
exec /usr/local/bin/softlimit -m 40000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/usr/local/bin/spamdyke -f /etc/spamdyke.conf \
/var/qmail/bin/qmail-smtpd mail.xxxxx.net \
/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1
Sam Clippinger wrote:
That error message comes from qmail, not spamdyke. Something may be
wrong with your qmail-smtpd/run file; could you post it?
-- Sam Clippinger
Marc Stiebich wrote:
Hi all,
im using spamdyke (Version 3.1.1) for a few days and it works great
(thanks for making this app!).
But since today sending mails is not possible anymore when spamdyke is
active - nothing has changed
that i knew since it keep running. I`m getting the error "Sorry, that
domain isn't in my list of allowed rcpthosts"
When i remove the line "/usr/local/bin/spamdyke -f /etc/spamdyke.conf \
" from the qmail-smtpd/run file and
restart qmail sending mail works. I use SMTP AUTH with TLS.
In the mail log i can see this: Dec 3 19:38:59 webplanet
spamdyke[29639]: DENIED_OTHER from: ........
I tried the smtp-auth-command-encryption command, but it dit not help.
This is my spamdyke.conf:
log-level=2
local-domains-file=/var/qmail/control/rcpthosts
max-recipients=30
idle-timeout-secs=60
rdns-whitelist-file=/home/vpopmail/spamdyke/whitelist_rdns
ip-whitelist-file=/home/vpopmail/spamdyke/whitelist_ip
graylist-dir=/home/vpopmail/graylist
graylist-min-secs=180
graylist-max-secs=1814400
# policy-url=http://my.policy.explanation.url/
sender-blacklist-file=/home/vpopmail/spamdyke/blacklist_senders
recipient-blacklist-file=/home/vpopmail/spamdyke/blacklist_recipients
ip-in-rdns-keyword-file=/home/vpopmail/spamdyke/blacklist_keywords
ip-blacklist-file=/home/vpopmail/spamdyke/blacklist_ip
# rdns-blacklist-dir=/home/vpopmail/spamdyke/blacklist_rdns.d
rdns-blacklist-file=/home/vpopmail/spamdyke/blacklist_rdns
reject-empty-rdns
reject-unresolvable-rdns
# reject-ip-in-cc-rdns
greeting-delay-secs=3
check-dnsrbl=ix.dnsbl.manitu.net
check-dnsrbl=bl.spamcop.net
# check-dnsrbl=dnsbl.sorbs.net
reject-missing-sender-mx
# smtp-auth-command-encryption=/home/vpopmail/bin/vchkpw /usr/bin/true
tls-certificate-file=/var/qmail/control/servercert.pem
Thnaks in advance for the help!!!
Kind regards
Marc
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users
------------------------------------------------------------------------
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users