[Dovecot] local AND virtual mail locations ?

2013-08-26 Thread Pierre-Philipp Braun
Hi, I would like to use Dovecot not only for virtual mboxes, but also for local users. In other words, I would like to use different "mail_location"s depending on "passdb" "passwd-file" versus "passwd". I need that as the smtp daemon I am using (david parsons' postoffice smtp server) serves

Re: [Dovecot] local AND virtual mail locations ?

2013-08-26 Thread Pierre-Philipp Braun
Hi rob0, Quoting /dev/rob0 26/08/2013 15:17, mail_location: mbox:~/mail/:INBOX=/var/mail/%u mail_location: mbox:/var/spool/virtual/%d/%n.imap:INBOX=/var/spool/virtual/%d/%n This exercise becomes trivial when you follow the advice of the Dovecot wiki and give your virtual users a $HOME. (Well,

Re: [Dovecot] local AND virtual mail locations ?

2013-08-30 Thread Pierre-Philipp Braun
Since I've got no answer since my previous message about that, I suppose it isn't that trivial to serve both, local and virtual users at the same time with Dovecot. I think I'll use two separate servers. Thanks for the hints, anyway. P.Ph

Re: [Dovecot] local AND virtual mail locations ?

2013-08-30 Thread Pierre-Philipp Braun
Quoting /dev/rob0 30/08/2013 17:11, You posted today that it must not be possible to serve both virtual and system users on a single Dovecot instance. This is wrong. I don't say it is impossible, I'm just saying it isn't as trivial as you supposed in your first answer. In fact, I got it _almo

Re: [Dovecot] local AND virtual mail locations ?

2013-09-02 Thread Pierre-Philipp Braun
Well, first of all, why are you using mbox? truncated output from my doeveconf -n # for Local users mail_location = maildir:~/Maildir For SQL users userdb { args = /etc/dovecot/dovecot-sql.conf.ext default_fields = uid=vpopmail gid=vchkpw mail_location=/usr/local/virtual/%u driver = sql }