[dovecot] Re: Failed to create storage with data: ::

Jesse Peterson jpeterson275 at attbi.com
Mon Mar 17 03:08:26 EET 2003


I found the problem.  It seems as though my older dovecot installation
had passwd-file entries that looked like this:

testuser:<snip>:12345:12345::/mailhome/testuser:0:::

Note extra 0.  Snipping the 0 and a colon makes everything happy.



Timo Sirainen wrote:
 > On Mon, 2003-03-17 at 02:24, Jesse Peterson wrote:
 >
 >>Hrm, I got the new files from CVS, but still:
 >>Mar 16 16:19:08 pos imap(testuser): Failed to create storage with data: :
 >>Mar 16 16:19:08 pos dovecot: child 24513 (imap) returned error 89
 >>
 >>(note: one colon instead of two)
 >>So I have to ask, is this still the correct usage:
 >>
 >>user:password:uid:gid:(gecos):home:(shell):flags:mail
 >>(from http://dovecot.procontrol.fi/doc/auth.txt)
 >
 >
 > Hmm. Strange. It is correct, and this works with me:
 >
 > cras:{md5}$1$foo$A63FZiSi5N4yna6JuqND//:1000:1000::/home/cras:::
 >
 > mail field is a bit special because it needs ':' characters itself,
 > that's why I don't just stop parsing if there's extra ':' characters at
 > end.
 >
 >
 >>Or are flags and mail not used?  How exactly is mail supposed to
 >>function and related to home?
 >
 >
 > Either you give home or mail. mail can specify exactly where the mail
 > is, home is used just for autodetection. So you could give each user
 > different location for their mails, eg.:
 >
 > user1:....:mbox:~/mail:INBOX=/var/mail/user1
 > user2:....:mbox:~/Mail
 > user3:....:Maildir:~/Maildir
 >
 > Autodetection seems to work pretty well so it's not usually needed.
 >
 >
 >

-- 
Jesse Peterson  /  jesse at pixeltechs.com





More information about the dovecot mailing list