Qmail startet nicht...
Hallo!
Da scheine ich ja nicht ganz alleine zu sein mit dem Problem...
Ich habe spamdyke und das scp auf zwei Maschinen mit Plesk 8.6 ohne Probleme ans Laufen bekommen. Allerdings auf der 32bit Version von Debian.
Auf einer 64bit Maschine verweigert der Qmail nach der Spamdyke-Installation aber beharrlich seinen Dienst, sprich lässt sich nicht starten.
Ich habe verschiedensten Dinge probiert, es aber nur kurz zum Laufen gebracht (gleich mehr dazu).
Lösche ich in den xinetd-Dateien smtp_psa & smtp_psa die Spamdyke-Relevanten Daten heraus, läuft der Qmail wieder wie gewohnt bzw. wird beim booten / xinetd restart gestartet.
Oben habe ich ja kurz beschrieben das ich Spamdyke kurz ans Laufen bekommen habe. Und zwar habe ich aus Verzweifelung die inetd.conf restauriert und mit allen Spamdyke-Parametern ausgestattet. Nach dem Reboot war qmail nicht gestartet, aber durch ein /etc/init.d/psa stopall / start lief er dann plötzlich und Spamdyke verrichtete seinen Dienst. Dummerweise ist das ganze nicht reproduzierbar, lässt aber vermuten das Spamdyke richtig installiert ist und prinzipiell funktionstüchtig ist.
Im Syslog steht in Bezug auf den xinetd (mit und ohne spamdyke-Parameter) folgendes:
Startversuch mit Spamdyke-Parametern:
Code:
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: Started working: 3 available services
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: Starting reconfiguration
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=14]
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=28]
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: Reading included configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=26]
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=25]
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: Reading included configuration file: /etc/xinetd.d/ftp [file=/etc/xinetd.d/ftp] [line=26]
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: Reading included configuration file: /etc/xinetd.d/smtp_psa [file=/etc/xinetd.d/smtp_psa] [line=8]
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: Reading included configuration file: /etc/xinetd.d/smtps_psa [file=/etc/xinetd.d/smtps_psa] [line=13]
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=14]
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: removing chargen
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: removing chargen
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: removing daytime
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: removing daytime
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: removing discard
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: removing discard
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: removing echo
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: removing echo
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: removing time
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: removing time
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: Swapping defaults
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: readjusting service ftp
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: readjusting service smtp
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: readjusting service smtps
Sep 24 14:57:01 xxxxxxxxx xinetd[6547]: Reconfigured: new=0 old=3 dropped=0 (services)
Sep 24 14:57:01 xxxxxxxxx qmail: 1222261021.692561 status: exiting
Sep 24 14:57:01 xxxxxxxxx qmail: 1222261021.787362 status: local 0/10 remote 0/20
Startversuch ohne Spamdyke-Parameter:
Code:
Sep 24 14:59:00 xxxxxxxxx xinetd[6547]: Exiting...
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=14]
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=28]
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: Reading included configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=26]
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=25]
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: Reading included configuration file: /etc/xinetd.d/ftp [file=/etc/xinetd.d/ftp] [line=26]
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: Reading included configuration file: /etc/xinetd.d/smtp_psa [file=/etc/xinetd.d/smtp_psa] [line=8]
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: Reading included configuration file: /etc/xinetd.d/smtps_psa [file=/etc/xinetd.d/smtps_psa] [line=13]
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=14]
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: removing chargen
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: removing chargen
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: removing daytime
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: removing daytime
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: removing discard
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: removing discard
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: removing echo
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: removing echo
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: removing time
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: removing time
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Sep 24 14:59:00 xxxxxxxxx xinetd[6651]: Started working: 3 available services
Die relevanten xinetd-Dateien sehen so aus:
Code:
service smtp
{
socket_type = stream
protocol = tcp
wait = no
disable = no
user = root
instances = UNLIMITED
per_source = 3
env = SMTPAUTH=1 POPLOCK_TIME=20 POPAUTH=1
server = /var/qmail/bin/tcp-env
server_args = -Rt0 /var/qmail/bin/relaylock /usr/local/bin/spamdyke -f /etc/spamdyke.conf /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}
service smtps
{
socket_type = stream
protocol = tcp
wait = no
disable = no
user = root
instances = UNLIMITED
per_source = 3
env = SMTPAUTH=1 POPLOCK_TIME=20 POPAUTH=1
server = /var/qmail/bin/tcp-env
server_args = -Rt0 /var/qmail/bin/relaylock /usr/local/bin/spamdyke -f /etc/spamdyke.conf /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}
Und die /etc/spamdyke.conf so:
Code:
#für das Plesk-Addon von Haggybear:
log-level=info
local-domains-file=/var/qmail/control/rcpthosts
tls-certificate-file=/var/qmail/control/servercert.pem
#Copy&Paste from xinetd-conf
smtp-auth-command=/var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /bin/true
smtp-auth-level=ondemand-encrypted
graylist-level=always-create-dir
graylist-dir=/var/qmail/spamdyke/greylist
#300 Sek. = 5 Min.
graylist-min-secs=300
#1814400 Sek. = 3 Wochen
graylist-max-secs=1814400
sender-blacklist-file=/var/qmail/spamdyke/blacklist_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
sender-whitelist-file=/var/qmail/spamdyke/whitelist_senders
greeting-delay-secs=5
#ggf. auskommentieren:
dns-blacklist-entry=ix.dnsbl.manitu.net
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=list.dsbl.org
dns-blacklist-entry=zombie.dnsbl.sorbs.net
dns-blacklist-entry=dul.dnsbl.sorbs.net
dns-blacklist-entry=bogons.cymru.com
reject-missing-sender-mx
reject-empty-rdns
reject-unresolvable-rdns
reject-ip-in-cc-rdns
Hat jemand von Euch eine Idee woran das liegen könnte bzw. in welche Richtung ich weiter forschen kann?
Zum System:
Strato Root-Server 4GB RAM
Debian 4.0 64bit mit 2.6.18
Plesk 8.6
Spamdyke 4.0.4
Ich bin für jeden Tipp dankbar,
DN