Gregory Atlas Posted May 25, 2011 Share Posted May 25, 2011 Hallo zusammen! Ich hab nachdem neuen Update von Froxlor (0.9.19 to 0.9.20-svn1) Probleme beim lesen der E-Mails. Die E-Mails k?nnen nicht vom Server gelesen werden, dennoch kann ich E-Mails weiter verschicken. Benutze zur Zeit einen vServer mit Debian 32bit (Squeeze) Es wurde nichts an den Konfigurationen ge?ndert. Ich hab die Templates nochmal alle abgeglichen, ist alles okay. Vermute das durch ein apt-get update && apt-get updgrade sich vielleicht die versionen zu Postfix oder Dovecot ver?ndert haben. Die Logfiles schreiben von keinen Fehler. Danke schonmal f?r jede Hilfe! Gregory Link to comment Share on other sites More sharing options...
Chb Posted May 25, 2011 Share Posted May 25, 2011 Logs? Link to comment Share on other sites More sharing options...
Gregory Atlas Posted May 25, 2011 Author Share Posted May 25, 2011 Logs? Welche brauchste? Link to comment Share on other sites More sharing options...
Chb Posted May 25, 2011 Share Posted May 25, 2011 Interessant w?ren nat?rlich die letzten 10-15 Zeilen der /var/log/mail.log bzw. /var/log/mail.err um den Fehler, also das Einloggen/Abrufen der Mails, herum. Link to comment Share on other sites More sharing options...
Gregory Atlas Posted May 25, 2011 Author Share Posted May 25, 2011 Interessant w?ren nat?rlich die letzten 10-15 Zeilen der /var/log/mail.log bzw. /var/log/mail.err um den Fehler, also das Einloggen/Abrufen der Mails, herum. Interessanterweise funktioniert das Postfach mit der zweiten Domaine die auf den Server angemeldet ist, aber auch nur teilweise. Es war sonst m?glich per iPhone sich die E-mails per Imap anzuschauen, was jetzt nicht mehr funktioniert. ?ber einen PC mit Windows Live Mail funktioniert es, aber halt nur f?r die zweite Domaine. Bei der ersten Domaine geht es gar nicht, als w?re diese gar nicht da, selbst beim erstellen von einer neuen E-Mail (wegen Test) funktioniert es nicht. Iptables Firewall ist aus. Postfix / Dovecot wird genutzt als SMTP,POP3,IMAP. /var/log/mail.log May 25 23:40:03 alpha postfix/cleanup[3741]: C1D5F2BB8139: message-id=<20110525214003.C1D5F2BB8139@alpha.zeewolf.org>May 25 23:40:03 alpha postfix/qmgr[1879]: C1D5F2BB8139: from=<www-data@alpha.zeewolf.org>, size=872, nrcpt=1 (queue active) May 25 23:40:03 alpha postfix/local[3743]: C1D5F2BB8139: to=<www-data@alpha.zeewolf.org>, orig_to=<www-data>, relay=local, delay=0.16, delays=0.14/0/0/0.02, dsn=2.0.0, status=se May 25 23:40:03 alpha postfix/qmgr[1879]: C1D5F2BB8139: removed May 25 23:50:03 alpha postfix/pickup[3769]: EFBAB2BB8139: uid=33 from=<www-data> May 25 23:50:03 alpha postfix/cleanup[3770]: EFBAB2BB8139: message-id=<20110525215003.EFBAB2BB8139@alpha.zeewolf.org> May 25 23:50:04 alpha postfix/qmgr[1879]: EFBAB2BB8139: from=<www-data@alpha.zeewolf.org>, size=872, nrcpt=1 (queue active) May 25 23:50:04 alpha postfix/local[3772]: EFBAB2BB8139: to=<www-data@alpha.zeewolf.org>, orig_to=<www-data>, relay=local, delay=0.05, delays=0.04/0.01/0/0, dsn=2.0.0, status=se May 25 23:50:04 alpha postfix/qmgr[1879]: EFBAB2BB8139: removed May 26 00:00:07 alpha postfix/pickup[3769]: BB2342BB8139: uid=33 from=<www-data> May 26 00:00:07 alpha postfix/cleanup[3786]: BB2342BB8139: message-id=<20110525220007.BB2342BB8139@alpha.zeewolf.org> May 26 00:00:08 alpha postfix/qmgr[1879]: BB2342BB8139: from=<www-data@alpha.zeewolf.org>, size=872, nrcpt=1 (queue active) May 26 00:00:09 alpha postfix/local[3788]: BB2342BB8139: to=<www-data@alpha.zeewolf.org>, orig_to=<www-data>, relay=local, delay=2.3, delays=1.6/0.01/0/0.7, dsn=2.0.0, status=se May 26 00:00:09 alpha postfix/qmgr[1879]: BB2342BB8139: removed /var/log/mail.err May 25 17:46:30 alpha dovecot: deliver(www-data): Fatal: postmaster_address setting not givenMay 25 17:46:30 alpha dovecot: deliver(www-data): Fatal: postmaster_address setting not given May 25 17:46:31 alpha dovecot: deliver(www-data): Fatal: postmaster_address setting not given May 25 17:46:31 alpha dovecot: deliver(www-data): Fatal: postmaster_address setting not given May 25 17:46:31 alpha dovecot: deliver(www-data): Fatal: postmaster_address setting not given May 25 17:46:31 alpha dovecot: deliver(www-data): Fatal: postmaster_address setting not given May 25 17:46:31 alpha dovecot: deliver(root): chdir(/root) failed: Permission denied May 25 17:46:31 alpha dovecot: deliver(root): Fatal: postmaster_address setting not given May 25 18:26:05 alpha dovecot: Fatal: listen(0.0.0.0, 143) failed: Address already in use May 25 18:42:13 alpha dovecot: Fatal: listen(0.0.0.0, 143) failed: Address already in use May 25 18:42:16 alpha dovecot: Fatal: listen(0.0.0.0, 143) failed: Address already in use May 25 18:42:21 alpha dovecot: Fatal: listen(0.0.0.0, 143) failed: Address already in use May 25 18:42:25 alpha dovecot: Fatal: listen(0.0.0.0, 143) failed: Address already in use May 25 18:43:00 alpha dovecot: Fatal: listen(0.0.0.0, 143) failed: Address already in use May 25 18:43:05 alpha dovecot: Fatal: listen(0.0.0.0, 143) failed: Address already in use May 25 18:43:08 alpha dovecot: Fatal: listen(0.0.0.0, 143) failed: Address already in use May 25 18:43:29 alpha dovecot: imap-login: Fatal: No authentication sockets found May 25 19:08:18 alpha dovecot: master: Error: service(config): Socket already exists: /var/run/dovecot/config May 25 19:08:18 alpha dovecot: master: Fatal: Failed to start listeners May 25 19:15:56 alpha dovecot: Fatal: listen(0.0.0.0, 143) failed: Address already in use May 25 20:58:00 alpha dovecot: Fatal: listen(0.0.0.0, 110) failed: Address already in use root@alpha:~# lsof -i 4:25 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME master 1877 root 12u IPv4 1732524643 0t0 TCP *:smtp (LISTEN) root@alpha:~# lsof -i 4:110 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME dovecot 3129 root 7u IPv4 1815092433 0t0 TCP *:pop3 (LISTEN) pop3-logi 3137 dovecot 4u IPv4 1815092433 0t0 TCP *:pop3 (LISTEN) pop3-logi 3138 dovecot 4u IPv4 1815092433 0t0 TCP *:pop3 (LISTEN) pop3-logi 3139 dovecot 4u IPv4 1815092433 0t0 TCP *:pop3 (LISTEN) root@alpha:~# lsof -i 4:143 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME dovecot 3129 root 6u IPv4 1815092432 0t0 TCP *:imap2 (LISTEN) imap-logi 3140 dovecot 4u IPv4 1815092432 0t0 TCP *:imap2 (LISTEN) imap-logi 3321 dovecot 4u IPv4 1815092432 0t0 TCP *:imap2 (LISTEN) imap-logi 3322 dovecot 4u IPv4 1815092432 0t0 TCP *:imap2 (LISTEN) Link to comment Share on other sites More sharing options...
Chb Posted May 26, 2011 Share Posted May 26, 2011 May 25 20:58:00 alpha dovecot: Fatal: listen(0.0.0.0, 110) failed: Address already in use Klingt fast, als w?rde bereits irgendetwas anderes auf Port 110 (POP3) bzw. 143 (IMAP) lauschen. Machst du mal ein netstat -anope? Link to comment Share on other sites More sharing options...
Gregory Atlas Posted May 26, 2011 Author Share Posted May 26, 2011 May 25 20:58:00 alpha dovecot: Fatal: listen(0.0.0.0, 110) failed: Address already in use Klingt fast, als w?rde bereits irgendetwas anderes auf Port 110 (POP3) bzw. 143 (IMAP) lauschen. Machst du mal ein netstat -anope? Dovecot scheint sich in dem Fall selbst zu blockieren, durch STOP und START kann ich den Fehler beheben. Danach funktioniert auch RESTART, mit den Befehl: /etc/init.d/dovecot restart Hab noch was interessantes herausgefunden, die Liste unter Admin "Ausstehende Cron-Aufgaben" wird bei mir immer gr??er. Scheint so als w?rde die nicht mehr abgearbeitet werden. Link to comment Share on other sites More sharing options...
Chb Posted May 26, 2011 Share Posted May 26, 2011 Hm, wollte eigentlich eine andere Ausgabe von netstat (n?mlich die, in der steht, was auf 110/143 lauscht. L?uft denn dein cron.d und was passiert, wenn du den Cronjob manuell ausf?hrst? Link to comment Share on other sites More sharing options...
Gregory Atlas Posted May 26, 2011 Author Share Posted May 26, 2011 Hm, wollte eigentlich eine andere Ausgabe von netstat (n?mlich die, in der steht, was auf 110/143 lauscht. L?uft denn dein cron.d und was passiert, wenn du den Cronjob manuell ausf?hrst? Manuell funktionierte der Cronjob. root@alpha:~# lsof -i 4:25 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME master 1877 root 12u IPv4 1732524643 0t0 TCP *:smtp (LISTEN) root@alpha:~# lsof -i 4:110 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME dovecot 3129 root 7u IPv4 1815092433 0t0 TCP *:pop3 (LISTEN) pop3-logi 3137 dovecot 4u IPv4 1815092433 0t0 TCP *:pop3 (LISTEN) pop3-logi 3138 dovecot 4u IPv4 1815092433 0t0 TCP *:pop3 (LISTEN) pop3-logi 3139 dovecot 4u IPv4 1815092433 0t0 TCP *:pop3 (LISTEN) root@alpha:~# lsof -i 4:143 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME dovecot 3129 root 6u IPv4 1815092432 0t0 TCP *:imap2 (LISTEN) imap-logi 3140 dovecot 4u IPv4 1815092432 0t0 TCP *:imap2 (LISTEN) imap-logi 3321 dovecot 4u IPv4 1815092432 0t0 TCP *:imap2 (LISTEN) imap-logi 3322 dovecot 4u IPv4 1815092432 0t0 TCP *:imap2 (LISTEN) Link to comment Share on other sites More sharing options...
d00p Posted May 27, 2011 Share Posted May 27, 2011 erstmal um das hier k?mmern: May 25 17:46:31 alpha dovecot: deliver(root): Fatal: postmaster_address setting not given Also -> dovecot.conf ordentlich durchgucken und entsprechende direktive angeben (steht sogar dr?ber "Dies muss gesetzt werden!") Link to comment Share on other sites More sharing options...
Gregory Atlas Posted May 27, 2011 Author Share Posted May 27, 2011 erstmal um das hier k?mmern: Also -> dovecot.conf ordentlich durchgucken und entsprechende direktive angeben (steht sogar dr?ber "Dies muss gesetzt werden!") Ich hab die Templates genutzt so wie sie hier stehen. Hab alles nochmal abgeglichen, wie gesagt, cronjob geht auch nicht mehr. Cronjob kann nur manuell durchgef?hrt werden, da hat sich irgendwas abgeschossen. Wenn das jetzt nicht funktioniert, dann werde ich das System wohl oder ?bel neu aufsetzen m?ssen. dovecot.conf protocols = imap pop3 listen = * mail_access_groups = vmail mail_debug = no ## allow Plaintext Logins from foreign IP if the Connection doesn't use TLS disable_plaintext_auth = no ### SSL Settings ### After setting this options, set disable_plaintext_auth to yes (see above) ### and add imaps pop3s to the protocols #ssl_cert_file = /etc/ssl/server/alpha.zeewolf.org.pem #ssl_key_file = /etc/ssl/server/alpha.zeewolf.org.key ## This is an example with CACerts class3 cert! #ssl_ca_file = /path/to/cacert.class3.crt #ssl_cipher_list = ALL:!LOW:!SSLv2 protocol imap { mail_plugins = quota imap_quota } protocol pop3 { # leave this uncommented if you are migrating from Courier also see Migration from Courier pop3_uidl_format = UID%u-%v mail_plugins = quota } protocol lda { # postmaster is the one in charge of the mail system. MUST be set to a valid address! postmaster_address = <postmaster-address> auth_socket_path = /var/run/dovecot/auth-master mail_plugins = quota sendmail_path = /usr/sbin/sendmail } auth default { mechanisms = plain login passdb sql { args = /etc/dovecot/dovecot-sql.conf } userdb prefetch { } userdb sql { args = /etc/dovecot/dovecot-sql.conf } user = vmail socket listen { # Postfix uses the client socket for SMTP Auth client { # Assuming the default Postfix $queue_directory setting path = /var/spool/postfix/private/auth mode = 0660 # Assuming the default Postfix user and group user = postfix group = postfix } # Note that we're setting a master socket. SMTP AUTH for Postfix and Exim uses client sockets. master { path = /var/run/dovecot/auth-master mode = 0660 user = vmail group = vmail } } } plugin { quota = maildir } Link to comment Share on other sites More sharing options...
d00p Posted May 27, 2011 Share Posted May 27, 2011 es steht doch deutlichst da: # postmaster is the one in charge of the mail system. MUST be set to a valid address! postmaster_address = <postmaster-address> Also erstmal die Adresse setzen, dann weitergucken Link to comment Share on other sites More sharing options...
Gregory Atlas Posted May 27, 2011 Author Share Posted May 27, 2011 es steht doch deutlichst da: Also erstmal die Adresse setzen, dann weitergucken jupp hab ich auch gesehen... und ge?ndert. Dovecot neugestartet. Funktioniert immer noch nicht. Link to comment Share on other sites More sharing options...
Gregory Atlas Posted May 27, 2011 Author Share Posted May 27, 2011 Erstmal gro?es Dankesch?n an d00p! Es hatte sich rausgestellt das sich unter den SQL Einstellungen IMAP deaktiviert war. Der Kunde sollte hier auch IMAP erlaubt bekommen, dass wurde ge?ndert und jetzt geht alles. Eine kleine Einstellung gro?e Auswirkung! Danke nochmal! Link to comment Share on other sites More sharing options...
Question
Gregory Atlas
Hallo zusammen!
Ich hab nachdem neuen Update von Froxlor (0.9.19 to 0.9.20-svn1) Probleme beim lesen der E-Mails.
Die E-Mails k?nnen nicht vom Server gelesen werden, dennoch kann ich E-Mails weiter verschicken.
Benutze zur Zeit einen vServer mit Debian 32bit (Squeeze)
Es wurde nichts an den Konfigurationen ge?ndert.
Ich hab die Templates nochmal alle abgeglichen, ist alles okay.
Vermute das durch ein apt-get update && apt-get updgrade sich vielleicht die versionen zu Postfix oder Dovecot ver?ndert haben.
Die Logfiles schreiben von keinen Fehler.
Danke schonmal f?r jede Hilfe!
Gregory
Link to comment
Share on other sites
13 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.