[Dovecot] Virtual user folder configuration

Daniel L. Miller dmiller at amfes.com
Tue Mar 31 21:32:13 EEST 2009


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?
-- 
Daniel


More information about the dovecot mailing list