AW: [Postfixbuch-users] Problem: Postfix + MySQL + Courier-IMAP

Peter Pipulke pipulke at ikv.de
Do Aug 12 12:12:23 CEST 2004


Hallo,

also ich hatte vor kurzem auch dieses Problem.
Courier schaut bei diesen Einstellungen im falschen Feld in der
SQL-Datenbank nach.

 authdaemond.mysql: SQL query: SELECT id, "", password, uid, gid, home,
 maildir, "", "", "" FROM mailusers WHERE id = "username at domain.tld"

Wenn Du das wie im Buch aufgebaut hast, steht im id Feld nur eine laufende
Nummer und nicht die id. Die steht ja im Feld account.
Ich weiß im Moment nicht so genau wo ich das geändert habe rcauthmysql
könnte sein...
Vielleicht weiß da jemand anderes weiter.

Gruß

Christian Rüther

> -----Ursprüngliche Nachricht-----
> Von: postfixbuch-users-bounces at listi.jpberlin.de [mailto:postfixbuch-
> users-bounces at listi.jpberlin.de] Im Auftrag von Friedrichs - IT Solutions
> Gesendet: Donnerstag, 12. August 2004 11:33
> An: postfixbuch-users at listi.jpberlin.de
> Betreff: [Postfixbuch-users] Problem: Postfix + MySQL + Courier-IMAP
> 
> Hallo Liste,
> 
> ich versuche gerade einen E-Mail-Server mit Postfix + MySQL + Courier-IMAP
> aufzusetzen. Ich bin dabei nach der Anleitung aus dem Postfix-Buch aus
> Kapitel 19 vorgegangen. Einzige Änderung: Ich habe meine Konfiguration so
> angepasst, dass es möglich ist mehrere Domains zu verwalten.
> 
> Postfix habe ich erfolgreich mit MySQL-Unterstützung installiert, die
> MySQL-Datenbank läuft, es sind alle Tabellen vorhanden, Courier-IMAP
> habe ich installiert und eingerichtet und anschl. noch Postfix angepasst.
> Beim Versuch E-Mails ber POP3 abzurufen bekomme ich folgende Fehlermeldung
> (siehe letzte Zeile):
> 
> pop3d: Connection, ip=[::ffff:217.83.192.166]
> pop3d: LOGIN: DEBUG: ip=[::ffff:217.83.192.166], command=USER
> pop3d: LOGIN: DEBUG: ip=[::ffff:217.83.192.166], command=PASS
> pop3d: LOGIN: DEBUG: ip=[::ffff:217.83.192.166],
> username=username at domain.tld
> pop3d: LOGIN: DEBUG: ip=[::ffff:217.83.192.166], password=*****
> pop3d: authdaemon: starting client module
> authdaemond.mysql: received auth request, service=pop3, authtype=login
> authdaemond.mysql: authmysql: trying this module
> authdaemond.mysql: SQL query: SELECT id, "", password, uid, gid, home,
> maildir, "", "", "" FROM mailusers WHERE id = "username at domain.tld"
> authdaemond.mysql: authmysql: sysusername=<null>, sysuserid=5001,
> sysgroupid=5001, homedir=/var/spool/maildirs/domain.tld,
> address=username at domain.tld, fullname=<null>, maildir=username/,
> quota=<null>, options=<null>
> authdaemond.mysql: authmysql: clearpasswd=*****, passwd=<null>
> authdaemond.mysql: authmysql: ACCEPT, username username at domain.tld
> pop3d: authdaemon: ACCEPT, username username at domain.tld
> pop3d: LOGIN, user=username at domain.tld, ip=[::ffff:217.83.192.166]
> pop3d: scancur opendir("cur"): No such file or directory
> 
> 
> 
> Bei einer Verbindung über IMAP sieht es so aus:
> 
> imapd: LOGIN, user=username at domain.tld, ip=[::ffff:81.169.149.xxx],
> protocol=IMAP
> imapd: DISCONNECTED, user=username at domain.tld, ip=[::ffff:81.169.149.xxx],
> headers=0, body=0
> imapd: Connection, ip=[::ffff:81.169.149.xxx]
> authdaemond.mysql: received auth request, service=imap, authtype=login
> authdaemond.mysql: authmysql: trying this module
> authdaemond.mysql: SQL query: SELECT id, "", password, uid, gid, home,
> maildir, "", "", "" FROM mailusers WHERE id = "username at domain.tld"
> authdaemond.mysql: authmysql: sysusername=<null>, sysuserid=5001,
> sysgroupid=5001, homedir=/var/spool/maildirs/domain.tld,
> address=username at domain.tld, fullname=<null>, maildir=username/,
> quota=<null>, options=<null>
> authdaemond.mysql: authmysql: clearpasswd=*****, passwd=<null>
> authdaemond.mysql: authmysql: ACCEPT, username username at domain.tld
> imapd: LOGIN, user=username at domain.tld, ip=[::ffff:81.169.149.xxx],
> protocol=IMAP
> imapd: DISCONNECTED, user=username at domain.tld, ip=[::ffff:81.169.149.xxx],
> headers=0, body=0
> 
> 
> Für Tipps wäre ich sehr dankbar!
> 
> MfG
> Nils Friedrichs
> 
> 
> --
> _______________________________________________
> Postfixbuch-users mailingliste
> JPBerlin - Mailbox und Politischer Provider
> Postfixbuch-users at listi.jpberlin.de
> http://listi.jpberlin.de/mailman/listinfo/postfixbuch-users




Mehr Informationen über die Mailingliste Postfixbuch-users