[Dovecot] Virtual user folder configuration

Daniel L. Miller dmiller at amfes.com
Tue Mar 31 21:39:49 EEST 2009


Daniel L. Miller wrote:
> Since I'm going to make a change to my folder structure, what would be 
> recommended so I can avoid the need in the future?
>
> All my mail users are virtual - they have no existence in /etc/passwd, 
> nor do they have folders under /home.  At this time, all mail is being 
> delivered to maildir:/var/mail/%d/%n - and the home is the same (which 
> is becoming more of a problem).
>
> As I see it, I have the choices of:
> 1. Place mail underneath home, as in /var/mail/%d/%n/mailbox
> Probably the simplest, but adds a level to the folder hierarchy.  Does 
> that matter in any way?
>
> 2. Place home underneath mail, as in /var/mail/%d/%n/home (unless THAT 
> poses a problem as well, with a non-mail folder visible to the mail 
> system)
> Leaves mail alone - but means the home folder is visible from within 
> the mail system.
>
> 3. Relocate home totally outside mail, as in /var/mail/home/%d/%n
> Would provide isolation - but more difficulty in administration, 
> particularly adding/deleting users.
>
> Any suggestions?
Wow.  My list matches almost word for word the wiki entry on virtual 
users.  And since I see the preferred choice is option #1 - guess that's 
what I'll do unless I hear different.
-- 
Daniel


More information about the dovecot mailing list