[CentOS] dovecot autocreate home and /var/mail

Tue Jul 7 14:38:35 UTC 2009
Ray Van Dolson <rayvd at bludgeon.org>

On Tue, Jul 07, 2009 at 09:36:01AM -0500, Eugene Vilensky wrote:
> Hi,
> 
> is there a way to make dovecot autocreate the home directory and the /var/mail/
> username mbox file?
> 
> I have tons of users in /etc/passwd but they might never open a shell (where I
> have oddjobmkhome working), just pop/imap.
> 
> Thanks!

Don't know about dovecot to answer this for you, but it might be more
appropriate to create the user's home directory and mailspool file at
account creation time.  You could modify your scripts there quite
easily.

Ray