• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

Maildir - SQL - Statement | Erzeugung Mail-Account

m3ta1d3m0n

New Member
Hallo,

ich habe ein kleines Problem bei der Erzeugung von Mailaccounts unter SysCP. Das Problem ist, das die Mail-Verzeichnisse für den jeweilige Mail-Account nicht angelegt werden. Meiner Meinung nach liegt das Problem beim authdaemon von courier. Hier mal ein Auszug aus dem Log, warum ich das vermute:

Aug 16 18:00:56 vs249166 authdaemond: received userid lookup request: test@domain.tld
Aug 16 18:00:56 vs249166 authdaemond: authmysql: trying this module
Aug 16 18:00:56 vs249166 authdaemond: SQL query: SELECT username, password_enc, "", uid, gid, homedir, "", "", "", "" FROM mail_users WHERE username = "test@domain.tld" AND (postfix='Y')
Aug 16 18:00:56 vs249166 authdaemond: Authenticated: sysusername=<null>, sysuserid=2000, sysgroupid=2000, homedir=/var/www/customer/mails/, address=test@domain.tld, fullname=<null>, maildir=<null>, quota=<null>, options=<null>
Aug 16 18:00:56 vs249166 authdaemond: Authenticated: clearpasswd=<null>, passwd=rZmFhq0vjxmB.
Aug 16 18:00:56 vs249166 courierd: newmsg,id=0B6AC2B8.46C474B8.00001DBE: dns; localhost (localhost [127.0.0.1])
Aug 16 18:00:56 vs249166 courierd: started,id=0B6AC2B8.46C474B8.00001DBE,from=<apache@server.tld>,module=local,host=test@domain.tld!!2000!2000!/var/www/customer/mails/!!,addr=<test@domain.tld>
Aug 16 18:00:56 vs249166 courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1
Aug 16 18:00:56 vs249166 authdaemond: received userid lookup request: test@domain.tld
Aug 16 18:00:56 vs249166 authdaemond: authmysql: trying this module
Aug 16 18:00:56 vs249166 authdaemond: SQL query: SELECT username, password_enc, "", uid, gid, homedir, "", "", "", "" FROM mail_users WHERE username = "test@domain.tld" AND (postfix='Y')
Aug 16 18:00:56 vs249166 authdaemond: Authenticated: sysusername=<null>, sysuserid=2000, sysgroupid=2000, homedir=/var/www/customer/mails/, address=test@domain.tld, fullname=<null>, maildir=<null>, quota=<null>, options=<null>
Aug 16 18:00:56 vs249166 authdaemond: Authenticated: clearpasswd=<null>, passwd=rZmFhq0vjxmB.
Aug 16 18:00:56 vs249166 courierlocal: id=0B6AC2B8.46C474B8.00001DBE,from=<apache@server.tld>,addr=<test@domain.tld>,size=547,success: Message delivered.
Aug 16 18:00:56 vs249166 courierd: completed,id=0B6AC2B8.46C474B8.00001DBE

Der Parameter MYSQL_MAILDIR_FIELD wird anscheinend nicht beachtet (siehe SQL-Statement). Bin schon seit stunden daran das Problem zu fixxen, komme aber nicht mehr weiter. Habe alle konfigs nochmal kontrolliert etc. komme aber zu keinem Ergebnis. Hat schon jemand die selben Probleme gehabt?

Mein OS: Fedora 3
Courier: RPM- selbst erstellt aus den Source von courier-mta.org

Danke für die Antworten im voraus :)

Gruß
m3ta1d3m0n
 
Back
Top