Hallo zusammen!
Ich habe das Problem, dass ich mich weder per Mailclient/Webmail, noch per FTP einloggen kann. Ich habe kein myDNS installiert, bei schlundt habe ich für MX jeweils mail.domain.tld. eingetragen. Die A Records lauten mail-/www-/ftp.domain.tld und zeigen auf die IP des Servers.
Wenn ich eine Site anlege muss ich die IP statt * eintragen, sonst zeigt alles auf default in /var/www/
mail.domain.tld,... tun dies ebenfalls, es sei denn ich wähle * als Auto-Subdomain aus. Auch nur dann kommen die Mails an.
/var/log/mail.log sagt nach LoginVersuch immer nur LOGIN DENIED for user test@domain.tld
auf den Telnet Ports der Maildaemons werde ich freundlich begrüßt, auch die Dienste saslauth, postfix, courier, smtp, imap, amavi, vsftpd usw laufen ohne Fehlermeldungen in den Logs.
Nehme ich die Zeile 127.0.0.1 localhost.localdomain localhost aus der /etc/hosts raus, dann kommen die Mails an, und werden nicht rejected, wenn kein * bei Auto-Subdomain. Squirrelmail-Loginversuche melden jetzt postfix error: localhost not found.
Hintergrundinfos:
vServer mit Debian 4 LAMP -> dist-upgraded to Lenny
hostname und hostname -f = vsXXXXXX.vserver.de
vsftpd da pure-ftp nicht startete
php safe mode off
mysql not bind to 127.0.0.1
saslauthd Standardname gefixt
habe mich an das Perfect Server und dieses Howto gehalten
Irgendwas übersehe ich da. Mittlerweile versuche ich seit ein paar Tagen alles aus, was ich per Netzsuche finden kann. Leider ohne Erfolg. Ich hoffe, jemand kann mit anderer Sichtweise auf diese Dinge ein paar Tips geben. Ich wäre euch sehr dankbar dafür! Ich hantiere eher mit Gentoo/Debian mit LVM und LUKS und habe keine Ahnung von Webservern.
Anbei noch etwas Consolenoutput
Log bei Versuch Mailclient zu konfigurieren (Mail OSX)
Nachtrag: zufällig beim neustarten der Dienste entdeckt:
Ich habe das Problem, dass ich mich weder per Mailclient/Webmail, noch per FTP einloggen kann. Ich habe kein myDNS installiert, bei schlundt habe ich für MX jeweils mail.domain.tld. eingetragen. Die A Records lauten mail-/www-/ftp.domain.tld und zeigen auf die IP des Servers.
Wenn ich eine Site anlege muss ich die IP statt * eintragen, sonst zeigt alles auf default in /var/www/
mail.domain.tld,... tun dies ebenfalls, es sei denn ich wähle * als Auto-Subdomain aus. Auch nur dann kommen die Mails an.
/var/log/mail.log sagt nach LoginVersuch immer nur LOGIN DENIED for user test@domain.tld
auf den Telnet Ports der Maildaemons werde ich freundlich begrüßt, auch die Dienste saslauth, postfix, courier, smtp, imap, amavi, vsftpd usw laufen ohne Fehlermeldungen in den Logs.
Nehme ich die Zeile 127.0.0.1 localhost.localdomain localhost aus der /etc/hosts raus, dann kommen die Mails an, und werden nicht rejected, wenn kein * bei Auto-Subdomain. Squirrelmail-Loginversuche melden jetzt postfix error: localhost not found.
Hintergrundinfos:
vServer mit Debian 4 LAMP -> dist-upgraded to Lenny
hostname und hostname -f = vsXXXXXX.vserver.de
vsftpd da pure-ftp nicht startete
php safe mode off
mysql not bind to 127.0.0.1
saslauthd Standardname gefixt
habe mich an das Perfect Server und dieses Howto gehalten
Irgendwas übersehe ich da. Mittlerweile versuche ich seit ein paar Tagen alles aus, was ich per Netzsuche finden kann. Leider ohne Erfolg. Ich hoffe, jemand kann mit anderer Sichtweise auf diese Dinge ein paar Tips geben. Ich wäre euch sehr dankbar dafür! Ich hantiere eher mit Gentoo/Debian mit LVM und LUKS und habe keine Ahnung von Webservern.
Anbei noch etwas Consolenoutput
Code:
netstat -tulpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 0 1662590499 11936/master
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 0 1662189583 8031/apache2
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 0 1662188879 7838/couriertcpd
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 0 1662188919 7862/couriertcpd
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 107 1662185495 6067/amavisd (maste
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 0 1662590626 11936/master
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 100 1662185720 7193/mysqld
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 0 1662188896 7847/couriertcpd
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 0 1662188856 7819/couriertcpd
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN 0 1662186712 7342/spamd.pid
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 0 1662189590 8031/apache2
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 1662189581 8031/apache2
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 0 1662189449 7987/vsftpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 1662184756 6010/sshd
Code:
cat /var/log/mail.log
Fri Dec 4 19:12:51 2009 [pid 19477] [test@domain.tld] FAIL LOGIN: Client "80.187.108.24"
bei Webmail entsprechend mit 127.0.0.1
Code:
cat /var/log/vsftpd.log
[B][I]Alle 5 Minuten das hier: (korrekt?)[/I][/B]
Fri Dec 4 19:15:01 2009 [pid 22110] CONNECT: Client "127.0.0.1"
Fri Dec 4 19:20:01 2009 [pid 28642] CONNECT: Client "127.0.0.1"
Fri Dec 4 19:25:02 2009 [pid 4090] CONNECT: Client "127.0.0.1"
Log bei Versuch Mailclient zu konfigurieren (Mail OSX)
Code:
Dec 4 23:18:48 vsXXXXXX postfix/smtpd[15434]: connect from ip-88-153-56-185.unitymediagroup.de[88.153.56.185]
Dec 4 23:18:48 vsXXXXXX postfix/smtpd[15434]: SSL_accept error from ip-88-153-56-185.unitymediagroup.de[88.153.56.185]: -1
Dec 4 23:18:48 vsXXXXXX postfix/smtpd[15434]: lost connection after STARTTLS from ip-88-153-56-185.unitymediagroup.de[88.153.56.185]
Dec 4 23:18:48 vsXXXXXX postfix/smtpd[15434]: disconnect from ip-88-153-56-185.unitymediagroup.de[88.153.56.185]
Dec 4 23:18:50 vsXXXXXX postfix/smtpd[15434]: connect from ip-88-153-56-185.unitymediagroup.de[88.153.56.185]
Dec 4 23:18:50 vsXXXXXX postfix/smtpd[15434]: warning: SASL authentication failure: Can only find author (no password)
Dec 4 23:18:50 vsXXXXXX postfix/smtpd[15434]: warning: ip-88-153-56-185.unitymediagroup.de[88.153.56.185]: SASL PLAIN authentication failed: bad protocol / cancel
Dec 4 23:18:50 vsXXXXXX postfix/smtpd[15434]: lost connection after AUTH from ip-88-153-56-185.unitymediagroup.de[88.153.56.185]
Dec 4 23:18:50 vsXXXXXX postfix/smtpd[15434]: disconnect from ip-88-153-56-185.unitymediagroup.de[88.153.56.185]
Dec 4 23:19:17 vsXXXXXX imapd-ssl: Unexpected SSL connection shutdown.
Code:
ps aux | grep postfix
root 11936 0.0 0.2 5408 1800 ? Ss 18:41 0:00 /usr/lib/postfix/master
postfix 11938 0.0 0.2 7812 2316 ? S 18:41 0:00 qmgr -l -t fifo -u
postfix 13472 0.0 0.3 5788 2616 ? S 18:42 0:00 tlsmgr -l -t unix -u -c
postfix 9424 0.0 0.2 5420 1724 ? S 22:01 0:00 pickup -l -t fifo -u -c
Code:
ps aux | grep courier
root 7806 0.0 0.0 1752 428 ? S 18:14 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -start /usr/lib/courier/courier-authlib/authdaemond
root 7807 0.0 0.0 1884 604 ? S 18:14 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 7809 0.0 0.0 1884 300 ? S 18:14 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 7810 0.0 0.0 1884 216 ? S 18:14 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 7811 0.0 0.0 1884 216 ? S 18:14 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 7812 0.0 0.0 1884 272 ? S 18:14 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 7813 0.0 0.0 1884 300 ? S 18:14 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 7817 0.0 0.0 1756 432 ? S 18:14 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/imapd.pid -start -name=imapd /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslookup -noidentlookup 143 /usr/lib/courier/courier/imaplogin /usr/bin/imapd Maildir
root 7819 0.0 0.0 1860 604 ? S 18:14 0:00 /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslookup -noidentlookup 143 /usr/lib/courier/courier/imaplogin /usr/bin/imapd Maildir
root 7837 0.0 0.0 1756 432 ? S 18:14 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/imapd-ssl.pid -start -name=imapd-ssl /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslookup -noidentlookup 993 /usr/bin/couriertls -server -tcpd /usr/lib/courier/courier/imaplogin /usr/bin/imapd Maildir
root 7838 0.0 0.0 1860 604 ? S 18:14 0:00 /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslookup -noidentlookup 993 /usr/bin/couriertls -server -tcpd /usr/lib/courier/courier/imaplogin /usr/bin/imapd Maildir
root 7845 0.0 0.0 1756 432 ? S 18:14 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/pop3d.pid -start -name=pop3d /usr/sbin/couriertcpd -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup -address=0 110 /usr/lib/courier/courier/courierpop3login /usr/lib/courier/courier/courierpop3d Maildir
root 7847 0.0 0.0 1860 604 ? S 18:14 0:00 /usr/sbin/couriertcpd -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup -address=0 110 /usr/lib/courier/courier/courierpop3login /usr/lib/courier/courier/courierpop3d Maildir
root 7861 0.0 0.0 1756 432 ? S 18:14 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/pop3d-ssl.pid -start -name=pop3d-ssl /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 995 /usr/bin/couriertls -server -tcpd /usr/lib/courier/courier/courierpop3login /usr/lib/courier/courier/courierpop3d Maildir
root 7862 0.0 0.0 1860 604 ? S 18:14 0:00 /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 995 /usr/bin/couriertls -server -tcpd /usr/lib/courier/courier/courierpop3login /usr/lib/courier/courier/courierpop3d Maildir
root 32364 0.0 0.0 1640 544 pts/0 S+ 23:34 0:00 grep courier
Code:
/etc/init.d/openbsd-inetd start
Not starting internet superserver: no services enabled.
Code:
/etc/init.d/saslauthd restart
Stopping : saslauthd.
Starting : saslauthdsaslauthd[24350] :detach_tty : Cannot start saslauthd
saslauthd[24350] :detach_tty : Another instance of saslauthd is currently running
failed!
root@vsXXXXXX:~# /etc/init.d/saslauthd stop
Stopping : saslauthd.
root@vsXXXXXX:~# /etc/init.d/saslauthd start
Starting : saslauthdsaslauthd[24550] :detach_tty : Cannot start saslauthd
saslauthd[24550] :detach_tty : Another instance of saslauthd is currently running
failed!
[B][I]Kümmert sich courier/postfix um den Dienst??[/I][/B]
s aux | grep sasl
root 7982 0.0 0.0 8156 752 ? Ss Dec04 0:00 /usr/sbin/saslauthd -a shadow -c -r -m /var/run/saslauthd -n 1
Zuletzt bearbeitet: