[Dovecot] Maildir Skeleton

Sebastian Ganschow sebastian at ganschow.name
Tue Aug 7 19:38:32 EEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick Ben Koetter schrieb:
> * Sebastian Ganschow <sebastian at ganschow.name>:
>> Peter Hessler schrieb:
>>> If your OS uses /etc/skel to build new users from (many do), you can 
>>> create it there.  Most OSs that use /etc/skel merely copy files from 
>>> there, then chown them to the appropriate user and group.  Perms 
>>> shouldn't be modified.
>> It would work if the users weren't virtual. There are only virtual users on
>> the mail system.
> 
> That's no problem either. The question is: Are you looking for an automated
> process or does "cp -a template_maildir/ /srv/mail/newuser/" the job?

It should be automated.

A possible solution would be a cronjob, which checks every few minutes if
there is a new user without a maildir. But this requires that the user
hasn't logged on before the cronjob is executed.

Another approach is to check every maildir for an existing .Spam folder and
a .dovecot.sieve file and create both if they don't exist.

If dovecot couldn't do this by itself, I'm going to realize it with a cronjob.

Sebastian

- --
Sebastian Ganschow
Königsberger Str. 17
45770 Marl
Germany

Phone:  +49 2365 9 24 96 76
Mobile: +49 172 2 47 41 44
Mail:   sebastian at ganschow.name
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGuKAIKWhY+QthhLYRAu8fAKCGOqZP9SmTV6/evKm9iJVfYftxkgCfQaHG
PP0u3V1inNrtTxBhs0WKU8w=
=zytd
-----END PGP SIGNATURE-----


More information about the dovecot mailing list