andel
2008-Apr-22 09:24 UTC
[Dovecot] IMAP clients generate user home folders one level higher than needed
Hi (Of course not the clinets generate the folders, dovecot does, but I wanted to have the title not be too long.) I am using static userdb: userdb static { args = uid=vmail gid=mail home=/srv/vmail/%d/%n } and I have configured the hostname in protocol lda. Now when mail arrives for a known virtual user, the home directory with all subdirectories is being created correctly unter /srv/vmail/$domain/$vuser. But when connecting from an IMAP client (I have tested Thunderbird and Outlook) a new home directory with apparently correct subfolders is bring created unter /srv/vmail/$vuser ! The connection works, I just don't see the mails which arrived since the client is mapping a directory one level higher than needed. Where do I have to look for the cause? I did not find anything reasonable yet. Thank you in advance, David
Johannes Berg
2008-Apr-22 09:30 UTC
[Dovecot] IMAP clients generate user home folders one level higher than needed
> userdb static { > args = uid=vmail gid=mail home=/srv/vmail/%d/%n > }> Where do I have to look for the cause? I did not find anything reasonable > yet.I would guess that %d expands to "" (i.e. the empty string). Are your clients logging in with "user at domain"? johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 828 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080422/dafed8b6/attachment-0002.bin>
andel
2008-Apr-22 10:25 UTC
[Dovecot] IMAP clients generate user home folders one level higher than needed
On Tue, 22 Apr 2008 11:30:52 +0200, Johannes Berg <johannes at sipsolutions.net> wrote:> > I would guess that %d expands to "" (i.e. the empty string). Are your > clients logging in with "user at domain"?Yes, they do. How can I find out if this is the case and what can I do about it? David