[Postfixbuch-users] LDAP / Postfix / Dovecot

Torsten Weinstein Torsten.Weinstein at web.de
Mi Okt 8 14:25:05 CEST 2008


Hallo zusammen,

ich weiß zwar nicht, ob ich mit meinem Problem hier noch richtig bin, aber ich lasse es einfach mal auf einen Versuch ankommen. Auf meinem Testsystem läuft Postfix mit LDAP Anbindung erfolgreich. Allerdings werden die E-Mails mit Dovecot nicht zugestellt, sondern bleiben in der Postfix Queue liegen.

Datei mail.log schreibt folgendes:
dovecot: Dovecot v1.0.rc15 starting up
dovecot: auth(default): LDAP: ldap_init() failed with hosts: (null)
dovecot: Auth process died too early - shutting down
dovecot: child 28544 (auth) returned error 89

dovecot.log bringt diese Fehler zutage:
"Error: net_connect(/var/run/dovecot/auth-master) failed: Connection refused"

---
"dovecot -n":
# /etc/dovecot/dovecot.conf
base_dir: /var/run/dovecot/
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps pop3 pop3s
disable_plaintext_auth: no
login_dir: /var/run/dovecot//login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
mail_privileged_group: mail
mail_location: maildir:/mail/%d/%n/Maildir
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
namespace:
type: private
separator: .
prefix: INBOX.
inbox: yes
auth default:
mechanisms: plain login
passdb:
driver: ldap
args: /etc/dovecot/dovecot.ldap
userdb:
driver: ldap
args: /etc/dovecot/dovecot.ldap
socket:
type: listen
client:
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
group: vmail


und "grep -v '^ *\(#.*\)\?$' dovecot.ldap"

uris = 127.0.0.1
dn = cn=mailsystem, dc=keymachine, dc=de
dnpass = myPAssword
tls = no
base = ou=kunden, dc=keymachine, dc=de
ldap_version = 3
user_attrs = pfMailMessageStore=home
user_filter = (&(objectClass=PFMailAccount)(pfMail=%u))
pass_attrs = pfClearPassword=password,pfMailMessageStore=userdb_home
pass_filter = (&(objectClass=PFMailAccount)(pfMail=%u))
default_pass_scheme = PLAIN
user_global_uid = 10000
user_global_gid = 10000


Vielleicht hatte hier ja auch schon einmal jemand solche Problem emit einer Dovecot Installation


Gruß

Torsten
_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114




Mehr Informationen über die Mailingliste Postfixbuch-users