[Dovecot] dovecot + openwebmail

Peter McEvoy
Mon, 05 Sep 2005 20:19:42 -0000

On Tue, Aug 30, 2005 at 04:03:11PM +0100, Peter McEvoy
wrote:
> I'm trying to add some sanity to a badly thought out mail system that,
> for various reasons, cant be fixed from the bottom up at this moment in
> time.
> The system is debian sarge, exim 4.5, doing virtual domains and
> delivering into mboxes in /var/spool/virtual/$domain/$user ,
> there is webmail access and this allows user to create folders in
> (dont shoot me!)
> /etc/openwebmail/users/$domain/$username/mail/ , the files in this
> directory appear to be mboxes in that each mail begins with a From:
> line, the naming of these files is completely arbitrary.
>
> Im trying to add imap access that would ideally give users access to the
> mail in /var , and also in the openwebmail dirs, though the latter is
> not essential, just desirable.
>
> All mails are owned by user mail.
>
> I've installed dovecot-imapd version 0.99.14-1


Further to my last rambling diatribe, I've got this working with:

default_mail_env
mbox:/etc/openwebmail/users/%d/%u/mail/:INBOX=/var/spool/virtual/%d/%u:INDEX=/var/indexes/%n

any half decent imap client can see any folders in
/etc/openwebmail/users/%d/%u/mail/ , and openwebmail can see any folders
the client creates, so everyones happy.

Thanks for a great bit of software.


--
Pete