Sebastian Ganschow spake the following on 8/7/2007 9:38 AM: > Patrick Ben Koetter schrieb: >> * Sebastian Ganschow <[EMAIL PROTECTED]>: >>> 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 > What are you using to create users? MAybe you could add something to the user creation system. --
MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!