Hi Sam,
Thanks for the fast response. I have been fiddeling with the setup and
got it to work!
First problem was the command line, I pasted the whole example without
realizing that a part of it was allready there. That gave me two times
the command "/var/qmail/bin/qmail-smtpd" in one line...
After that the smtp server in Plesk was stopped due to failures in
spamdyke.conf. Tonight I played a little around with the parameters and
ended up with:
log-level=info
local-domains-file=/var/qmail/control/rcpthosts
max-recipients=50
idle-timeout-secs=60
graylist-dir=/var/qmail/spamdyke/greylist
graylist-level=always
graylist-min-secs=300
graylist-max-secs=1814400
sender-blacklist-file=/var/qmail/spamdyke/blacklist_senders
sender-whitelist-file=/var/qmail/spamdyke/whitelist_senders
recipient-blacklist-file=/var/qmail/spamdyke/blacklist_recipients
ip-in-rdns-keyword-blacklist-file=/var/qmail/spamdyke/blacklist_keywords
ip-blacklist-file=/var/qmail/spamdyke/blacklist_ip
rdns-whitelist-file=/var/qmail/spamdyke/whitelist_rdns
ip-whitelist-file=/var/qmail/spamdyke/whitelist_ip
reject-empty-rdns
reject-unresolvable-rdns
###greeting-delay-secs=5
###never-greylist-ip-file=/var/qmail/spamdyke/never_greylist
dns-blacklist-entry=zombie.dnsbl.sorbs.net
dns-blacklist-entry=dul.dnsbl.sorbs.net
dns-blacklist-entry=bogons.cymru.com
###check-dnsrbl=zen.spamhaus.org
#check-dnsrbl=dnsbl.ahbl.org
#check-dnsrbl=dnsbl.njabl.org
#check-dnsrbl=dnsbl.sorbs.net
#check-dnsrbl=bogons.cymru.com
#check-dnsrbl=bl.spamcop.net
#check-dnsrbl=list.dsbl.org
reject-missing-sender-mx
#tls-certificate-file=/var/qmail/control/servercert.pem
local-domains-file=/var/qmail/control/rcpthosts
policy-url=http://www.domain.nl/spam_policy
++++
The items with the ### in front cause problems. I suspect they are old
(never found never-greylist-ip-file in any of your docs)
In addition to spamdyke I installed the Spamdyke Plesk Control panel addon.
Thanks for the help so far and many compliments for all the effort you
made programming this great piece of software!
Klaas
Sam Clippinger schreef:
You're seeing that error because your spamdyke command line is
incomplete. You need to insert "--config-file" (or "-f") before
"/etc/spamdyke.conf". If your smtp_psa file also omits that flag, this
error will prevent your server from accepting any incoming messages at all.
-- Sam Clippinger
Klaas Runia wrote:
Hi Sam (and others),
Sorry for the late response. I was busy setting up other things.
I use the latest version of spamdyke. I just installed it on one of my
test servers, this time with Plesk 8.3
The message I get from the config test option (/usr/local/bin/spamdyke
--config-test /etc/spamdyke.conf /var/qmail/bin/qmail-smtpd 2>&1 -Rt0) is
ERROR: Command returned no output: /etc/spamdyke.conf
ERROR: Tests complete. Errors detected.
The spamdyke.conf file *IS* available in /etc
It's contents (changed it by example of the INSTALL file wich comes
with spamdyke):
log-level=2
local-domains-file=/var/qmail/control/rcpthosts
max-recipients=20
idle-timeout-secs=60
graylist-dir=/var/qmail/spamdyke/greylist
graylist-min-secs=300
graylist-max-secs=1814400
sender-blacklist-file=/var/qmail/spamdyke/blacklist_senders
sender-whitelist-file=/var/qmail/spamdyke/whitelist_senders
recipient-blacklist-file=/var/qmail/spamdyke/blacklist_recipients
ip-in-rdns-keyword-file=/var/qmail/spamdyke/blacklist_keywords
ip-blacklist-file=/var/qmail/spamdyke/blacklist_ip
rdns-whitelist-file=/var/qmail/spamdyke/whitelist_rdns
ip-whitelist-file=/var/qmail/spamdyke/whitelist_ip
reject-empty-rdns
reject-unresolvable-rdns
greeting-delay-secs=5
never-greylist-ip-file=/var/qmail/spamdyke/never_greylist
dns-blacklist-entry=zombie.dnsbl.sorbs.net
dns-blacklist-entry=dul.dnsbl.sorbs.net
dns-blacklist-entry=bogons.cymru.com
#check-dnsrbl=zen.spamhaus.org
#check-dnsrbl=dnsbl.ahbl.org
#check-dnsrbl=dnsbl.njabl.org
#check-dnsrbl=dnsbl.sorbs.net
#check-dnsrbl=bogons.cymru.com
#check-dnsrbl=bl.spamcop.net
#check-dnsrbl=list.dsbl.org
reject-missing-sender-mx
tls-certificate-file=/var/qmail/control/servercert.pem
local-domains-file=/var/qmail/control/rcpthosts
policy-url=http://www.domain.nl/spam_policy
When I monitor the maillog I see the client connecting. Mail sended to
that domain is never arriving though. When I remove the spamdyke
command from /etc/xinetd.d/smtp_psa mail is arriving immediately.
What am I doing wrong??
greetings,
klaas Runia
Sam Clippinger schreef:
Which version of spamdyke did you install? That tutorial is out of
date; the configuration file is for version 3.1.x, not 4.0.
If you used 3.1.x, try using the "config-test" feature to look for
problems. Also check your logs for error messages. NOTE: Plesk moves
the mail log file to /usr/local/psa/var/log/maillog.
-- Sam Clippinger
Klaas Runia wrote:
I installed Spamdyke on my Plesk 8.4 server according to this example:
http://www.blueoryx.info/linux_administration/spamdyke
Everything seems to work (no errors in the maillog), but I get no mail
anymore (even hours after first try)
The greylist entrys for the domains are not extended with greylist
entrys, while the config file is pointing in the right direction. I
assume that this is the reason why mail never arrives. It is not
reckcognized as second try because of the lack of the first entry in
the graylist dir.
My config:
log-level=2
local-domains-file=/var/qmail/control/rcpthosts
max-recipients=20
idle-timeout-secs=60
graylist-level=always
graylist-dir=/var/qmail/spamdyke/greylist
graylist-min-secs=300
graylist-max-secs=1814400
sender-blacklist-file=/var/qmail/spamdyke/blacklist_senders
sender-whitelist-file=/var/qmail/spamdyke/whitelist_senders
recipient-blacklist-file=/var/qmail/spamdyke/blacklist_recipients
ip-in-rdns-keyword-file=/var/qmail/spamdyke/blacklist_keywords
ip-blacklist-file=/var/qmail/spamdyke/blacklist_ip
rdns-whitelist-file=/var/qmail/spamdyke/whitelist_rdns
ip-whitelist-file=/var/qmail/spamdyke/whitelist_ip
reject-empty-rdns
reject-unresolvable-rdns
greeting-delay-secs=5
#never-greylist-ip-file=/var/qmail/spamdyke/never_greylist
#check-dnsrbl=zen.spamhaus.org
#check-dnsrbl=dnsbl.ahbl.org
#check-dnsrbl=dnsbl.njabl.org
#check-dnsrbl=dnsbl.sorbs.net
#check-dnsrbl=bogons.cymru.com
#check-dnsrbl=bl.spamcop.net
#check-dnsrbl=list.dsbl.org
reject-missing-sender-mx
tls-certificate-file=/var/qmail/control/servercert.pem
local-domains-file=/var/qmail/control/rcpthosts
#policy-url=http://www.your-domain-here.com/spam_policy
/var/qmail/spamdyke/greylist contains the domains as subscribed:
domain.ext
These are all empty after sending some mails to the server.
Anyone?
------------------------------------------------------------------------
_______________________________________________
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
__________ Informatie van ESET NOD32 Antivirus, versie van database
viruskenmerken 3724 (20081230) __________
Het bericht is gecontroleerd door ESET NOD32 Antivirus.
http://www.eset.com
------------------------------------------------------------------------
_______________________________________________
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