[Dovecot] mkdir imap with user@domain.com
I have a bit a problem. In a virtual domain enviroment i use for login "user@domain.com" and the password.
in the mysql authentication it works beautiful with %d and %u placeholder.
Now when is whould like ad a folder via imap i get an error
imap(user@domain.com): mkdir(/var/mail/domain.com/user@domain.com/.test) failed: No such file or directory
It should be mkdir(/var/mail/domain.com/user/.test)
Is there a way to configure this?
Thanks Regards Karl-Heinz
Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail
--- Timo Sirainen <tss@iki.fi> wrote:
On 4.8.2004, at 14:57, wiki kaha wrote:
imap(user@domain.com): mkdir(/var/mail/domain.com/user@domain.com/.test) failed: No such file or directory
It should be mkdir(/var/mail/domain.com/user/.test)
Use %n instead of %u.
password_query = select md5( usr_passwd ) from user, site, domain where usr_uname = '%n' and usr_sit_aid = sit_aid and dom_sit_aid = sit_aid and dom_name = '%d' limit 1
You can see, there is nothing wrong. All works right only moving a message build a new path, I hadn't defined before.
Thanks.
Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail
participants (2)
-
Timo Sirainen
-
wiki kaha