oh please, with gmail, click on the "text" button" (while I only see
your <http...> silly things, some readers here will only see that. which
makes your message unreadable for these guys).
does /home/vmail/home/vmail/khmerict.com/ exist as a directory? the fact
that "/home/vmail" is repeated indicated an issue. make sure your maps
return a relative directory or set
virtual_mailbox_base = /
> I found that the problem is because of the file
>
> [snip]
> 1/ query = SELECT
> CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
> FROM mailbox WHERE email='%s' AND active=1
>
> 2/ #query = SELECT maildir FROM mailbox WHERE email='%s' AND active=1
>
>
> but I still understand what is the different the query 1 and query 2
> return the same result.
If you think they return the same result, yet you think one works and
the other does not, then you need some tea.
please copy-paste the results of each query here. note that a slash
('/') changes a lot of things.
> [snip]
If I understand it, it was a lackig slash, right?
(I personally don't like the slash convention. I would prefer a
type:path syntax. I mean maildir:/foo/bar and mailbox:/foo/bar...).
> Thank again for your help.
you're welcome. if you find it nice to see people help you, I find it
great to see nice people we can help (and who actually help "indirectly").