Dovecot default folder structure

Laurent Dinclaux laurent at gecka.nc
Thu Apr 9 07:47:06 UTC 2009


> Are you using Maildir? You could use adduser.local to do so, for example:
>
> # Arguments to this script are: username uid gid home-directory
> username=$1
> uid=$2
> gid=$3
> maildir=$4/Maildir
> maildirmake $maildir
> maildirmake -f Sent $maildir
> echo 'Sent' >> $maildir/subscriptions
> chown -R $username.$gid $maildir

In fact I use Mbox and my mailboxes are created automatically by a web
interface.

Isn't there a Dovecot configuration to have a default directory structure?

-- 
Laurent Dinclaux
Gérant - Gecka SARL
laurent at gecka.nc
Tel: +687 78 77 24
http://www.gecka.com

Préservez nos forêts, n’imprimez vos mails que si nécessaire.
Preserve our forests, only print your emails if necessary.




More information about the ubuntu-server mailing list