PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix und Dovecot Installation auf raspberry pi



kopfeck
16.12.13, 13:23
hallo zusammen,

habe mir mit folgenden Befehlen


sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoremove

meine Pakete bzw. Anwendungen auf den neuesten Stand gebracht.
Anschließend habe ich mir mit


sudo apt-get install postfix dovecot-common dovecot-pop3d dovecot-imapd

Postfix und Dovecot intalliert
Dabei erhielt ich aber folgende Fehlermeldungen:


Creating config file /etc/dovecot/conf.d/auth-vpopmail.conf.ext with new version
Creating generic self-signed certificate: /etc/dovecot/dovecot.pem
This certificate will expire in 10 years.
(replace with hand-crafted or authorized one if needed).
[ ok ] Starting IMAP/POP3 mail server: dovecot.
Setting up dovecot-gssapi (1:2.1.7-7) ...
Setting up dovecot-imapd (1:2.1.7-7) ...

Creating config file /etc/dovecot/conf.d/20-imap.conf with new version
[....] Restarting IMAP/POP3 mail server: dovecotError: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 143) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 993) failed: Address family not supported by protocol
Fatal: Failed to start listeners
failed!
invoke-rc.d: initscript dovecot, action "restart" failed.
dpkg: error processing dovecot-imapd (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up dovecot-ldap (1:2.1.7-7) ...

Creating config file /etc/dovecot/dovecot-ldap.conf.ext with new version

Creating config file /etc/dovecot/conf.d/auth-ldap.conf.ext with new version
[....] Restarting IMAP/POP3 mail server: dovecotError: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 143) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 993) failed: Address family not supported by protocol
Fatal: Failed to start listeners
failed!
invoke-rc.d: initscript dovecot, action "restart" failed.
dpkg: error processing dovecot-ldap (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up dovecot-mysql (1:2.1.7-7) ...
Setting up libpq5 (9.1.11-0wheezy1) ...
Setting up dovecot-pgsql (1:2.1.7-7) ...
Setting up dovecot-pop3d (1:2.1.7-7) ...

Creating config file /etc/dovecot/conf.d/20-pop3.conf with new version
[....] Restarting IMAP/POP3 mail server: dovecotError: socket() failed: Address family not supported by protocol
Error: service(pop3-login): listen(::, 110) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(pop3-login): listen(::, 995) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 143) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 993) failed: Address family not supported by protocol
Fatal: Failed to start listeners
failed!
invoke-rc.d: initscript dovecot, action "restart" failed.
dpkg: error processing dovecot-pop3d (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up dovecot-sieve (1:2.1.7-7) ...

Creating config file /etc/dovecot/conf.d/90-sieve.conf with new version
[....] Restarting IMAP/POP3 mail server: dovecotError: socket() failed: Address family not supported by protocol
Error: service(pop3-login): listen(::, 110) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(pop3-login): listen(::, 995) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 143) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 993) failed: Address family not supported by protocol
Fatal: Failed to start listeners
failed!
invoke-rc.d: initscript dovecot, action "restart" failed.
dpkg: error processing dovecot-sieve (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up dovecot-sqlite (1:2.1.7-7) ...
Setting up ssl-cert (1.0.32) ...
Setting up dovecot-common (1:2.1.7-7) ...
Setting up postfix (2.9.6-2) ...
Adding group `postfix' (GID 112) ...
Done.




Errors were encountered while processing:
dovecot-imapd
dovecot-ldap
dovecot-pop3d
dovecot-sieve
E: Sub-process /usr/bin/dpkg returned an error code (1)



Was ich noch erwähnen muss; wir hatten noch einen Internetausfall seitens von KabelBW..................
Kann mir da jemand einen Tipp geben, ob die Fehler bei der Installation durch den Internetausfall zustande gekommen sind oder es einen anderen Grund dafür gibt?
Und kann ich diese Fehler beheben?

DrunkenFreak
16.12.13, 14:02
Sieht aus, als würde die Konfiguration von Dovecot nicht hinhauen. Ich tippe einfach mal darauf, dass IPv6 deaktiviert werden muss.

kopfeck
16.12.13, 14:24
aaah ich glaube da muss noch ein

sudo modprobe ipv6 davor
bzw. alternativ in /etc/modules IPv6 aktivieren

soll ich dann die Installation nochmal durchlaufen lassen?

DrunkenFreak
16.12.13, 14:30
Starte Dovecot doch einfach, nachdem du die Konfiguration angepasst hast.

kopfeck
16.12.13, 14:47
habe den install Befehl erneut ausgeführt;
davor habe ich aber in


etc/modules

folgende Zeile eingefügt
ipv6

nun war es erfolgreich :-)