-3

I need to enable http://wiki2.dovecot.org/MailboxFormat/dbox/ formailarchive account.

I want to enable dbox only for the mailarchive account & the other accounts continue to use the Maildir format.

Please check the output of doveconf -n here

1 Answer 1

4

Use the optional mail field in your user database to override the global mail_location and use that to set the dbox format as an exception for the mailarchive account .

Edit: Since you're using LDAP you'll have to change the LDAP filter in Dovecot to include retrieval of an attribute to use as the mail field:

user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid, mailLocation=mail

and populate the mailLocation attribute for the mailarchive user in your LDAP user database with the correct value for a dbox:

mailLocation=sdbox:~/dbox

NB The mailLocation attribute used in the Dovecot docs is AFAIK not a default attribute in OpenLDAP but you can of course select any custom unused extension attribute or extend the schema with something custom.

6
  • can u please be more descriptive? as I'm pretty new to this domain having a hard time to understand, though I got the basic idea, some example will be really really very helpful.
    – Adi
    Apr 2, 2015 at 9:59
  • The manual has examples for each of the user database backends (since you didn't specify which you use, I can't give a more specific answer.)
    – HBruijn
    Apr 2, 2015 at 10:06
  • I'm using ldap.
    – Adi
    Apr 2, 2015 at 10:49
  • @HBrujin If I share with you the output of doveconf -n will you be able to help? Beacuse I'm still stuck with same. I am geeting no clue no where in internet.
    – Adi
    Apr 10, 2015 at 14:02
  • If you can't get it to work you might ask yourself if continuing with this is worthwhile or if you can live without the benefits of dbox. In other words, what is the actual problem you're trying to solve and might there be an alternative solution? - Editing your question and adding that information from doveconf -n might help. You may also retract your acceptance of my answer as the correct one because that reduces the likelihood that you will get additional answers.
    – HBruijn
    Apr 10, 2015 at 14:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .