[Dovecot] crash on LIST command

Andrew Basterfield bob at cemetery.homeunix.org
Mon Jun 16 09:56:26 EEST 2003


On Mon, Jun 16, 2003 at 04:28:36AM +0200, Wouter Van Hemel wrote:
> 
> Hello,
> 
> Manually adding the ~/.mail directory with mkdir takes care of the
> problem, but shouldn't this directory be created automatically when it
> doesn't exist? I can't expect every user to log in and first make this
> mail directory before they can use their mail account.

I use procmail to create the directory on delivery of first item of mail

DROPPRIVS=yes
MAILDIR=$HOME/Mail
DEFAULT=$MAILDIR/./

DUMMY=`if [ ! -d $MAILDIR ]; then mkdir $MAILDIR; fi`

--Andrew

-- 
If at first you don't succeed, destroy all evidence that you tried.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20030616/08a2a263/attachment-0003.bin>


More information about the dovecot mailing list