Jul 31 08:38:01 vps authdaemond: SQL query: SELECT email, password, password, 5000, 5000, /home/vmail, CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/'), "", "", "" FROM users WHERE email = 'alex'
Jul 31 08:38:01 vps authdaemond: mysql_query failed, reconnecting: [COLOR="Red"]You have an error in your SQL syntax[/COLOR]; check the manual that corresponds to your MySQL server version for the right syntax to use near '/home/vmail, CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',' at line 1
Aug 1 11:52:41 vps imapd: Connection, ip=[::ffff:84.44.170.157]
Aug 1 11:52:44 vps authdaemond: received auth request, service=imap, authtype=login
Aug 1 11:52:44 vps authdaemond: authmysql: trying this module
Aug 1 11:52:44 vps authdaemond: authmysqllib: connected. Versions: header 50032, client 50032, server 50032
Aug 1 11:52:44 vps authdaemond: SQL query: SELECT email, password, password, 5000, 5000, '/home/vmail', CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/'), "", "", "" FROM users WHERE email = 'alex'
Aug 1 11:52:44 vps authdaemond: zero rows returned
Aug 1 11:52:44 vps authdaemond: no password available to compare
Aug 1 11:52:44 vps authdaemond: authmysql: REJECT - try next module
Aug 1 11:52:44 vps authdaemond: FAIL, all modules rejected
Aug 1 11:52:44 vps imapd: LOGIN FAILED, user=alex, ip=[::ffff:84.44.170.157]
Schau dir doch deine Abfrage nochmal genau an. Vor allem die WHERE-Klausel...Hm, obwohl da eigentlich ein Password eingetragen ist.
Siehe im Anfangspost den select der Tabelle. ...
Falls du darauf hinaus wolltest, dass ich email ebenfalls in Hochkommatas setzen sollte - das hat auch kein anderes Ergebnis gebracht. :/Schau dir doch deine Abfrage nochmal genau an. Vor allem die WHERE-Klausel...
Nein, wollte ich nicht. Aber 'alex' ist für mich nicht gleich '[email protected]' und für MySQL offensichtlich auch nicht...Falls du darauf hinaus wolltest, dass ich email ebenfalls in Hochkommatas setzen sollte - das hat auch kein anderes Ergebnis gebracht. :/
Aug 3 12:18:33 vps imapd: chdir email/email/: No such file or directory
ls -l /home/ | grep vmail
drwxr-xr-x 4 vmail vmail 1,0K 2009-07-30 16:53 vmail/
Die Meldung kommt von Courier IMAP und nicht von Postfix.main.cf
Code:virtual_mailbox_base = /home/vmail
Nein.Muss ich das händisch anlegen?
Ja.Aber sollte postfix das nicht mit anlegen, wenn es nicht existiert?