[Dovecot] maildir and /var/spool/mail

Dan Stromberg strombrg at dcs.nac.uci.edu
Wed Jan 12 20:46:58 EET 2005


On Wed, 2005-01-12 at 12:58 +0200, Timo Sirainen wrote:
> On 12.1.2005, at 06:24, Steve Hickel wrote:
> 
> >  Not sure what to do next. Have imap working in that I can see 
> > messages in inbox. When I create a folder it won't create one. Looking 
> > at maillog shows that I don't have rights to folder 
> > /var/spool/mail/.sent or whatever folder I am trying to create. I have 
> > procmailrc and dovecot.conf point to /home/Maildir but for some reason 
> > something is tied to /var/spool/mail. Of course I am running FC3 and 
> > sendmail. Someone have any ideas as to what to try next?
> 
> Dovecot 0.99.x doesn't support mixed mbox/maildir setup. Either make 
> sendmail deliver mails to ~/Maildir/ (I don't know how that's done) or 
> use mbox folders. In any case your default_mail_env is most likely set 
> wrong because it's treating /var/spool/mail as user's root mail 
> directory. With mboxes it should be like:
> 
> default_mail_env = mbox:~/mail:INBOX=/var/spool/mail/%u

One way of getting sendmail to deliver to Maildir folders, is to
configure procmail as your delivery agent.

I suspect that most linux distributions have sendmail configured to use
procmail for delivery out of the box.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050112/81e141e4/attachment-0001.bin>


More information about the dovecot mailing list