Results 1 to 7 of 7

Thread: Dovecot dilemma... mbox or maildir??

  1. #1
    Join Date
    Aug 2008
    Location
    Sweden
    Beans
    249
    Distro
    Ubuntu 12.04 Precise Pangolin

    Dovecot dilemma... mbox or maildir??

    Well.. Here's my problem..

    When I am using Mbox, I've noticed that the Trash and Drafts folders exists, and works like they should..

    And using maildir I can set up so that I can put sub-folders, containing both sub-folders and messages, inside of the Inbox..

    Well.. I want both! But I can't find a way to get both..
    Could someone please help me!?

    Cheers,
    Artheus
    Ubuntu server ed. 12.04 x64

  2. #2
    Join Date
    Aug 2008
    Location
    Sweden
    Beans
    249
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Dovecot dilemma... mbox or maildir??

    And there is one more thing with using mbox... I can't remove folders!
    It replys to me that "Target mailbox doesn't allow inferior mailboxes". But that is only when I try to delete a folder, and not when I create them..
    Creating folders works fine in mbox, but I can't make subfolders, Not in the Inbox, and not in the other folders..
    Ubuntu server ed. 12.04 x64

  3. #3
    Join Date
    Jul 2009
    Location
    Bangladesh
    Beans
    19
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Dovecot dilemma... mbox or maildir??

    mbox contains all the mail in one file, usually in /var/spool/mail folder. maildir is one-file-per-message which usually seen in qmail. It contains mail in /home/user folder with cur, new and tmp folder. This is the basic difference between mbox and maildir.

    The main benefit of using maildir is that it can give you unlimited mail support to the user. On the other hand in mbox user inbox can't be more than 2GB (As one single flat file to unix doesn't support more than 2GB).

  4. #4
    Join Date
    Aug 2008
    Location
    Sweden
    Beans
    249
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Dovecot dilemma... mbox or maildir??

    Ok! Sounds great!
    I've gotten it to work now by in the dovecot.conf using the "prefix = INBOX/" and "separator = /" works great..
    But now it's the receiving again. Because of that I changed to maildir, the postfix smtp won't copy the incoming mail to the correct path, the postfix smtp still uses "mbox:~/mail:INBOX=/var/mail/%u" to put it as dovecot does..

    I've done a little searching on the matter, and I found that it should work just by putting "home_mailbox = Maildir/" in the postfix main.cf. But then I saw that it won't work using procmail as I am using..

    So.. my new question is..
    How can I get postfix to put the incoming mail into "maildir:/home/%u/Maildir" as my dovecot.conf is set up to read from?

    Cheers,
    Artheus
    Last edited by artheus; August 3rd, 2009 at 11:41 AM.
    Ubuntu server ed. 12.04 x64

  5. #5
    Join Date
    Aug 2007
    Beans
    71

    Re: Dovecot dilemma... mbox or maildir??

    Quote Originally Posted by artheus View Post
    So.. my new question is..
    How can I get postfix to put the incoming mail into "maildir:/home/%u/Maildir" as my dovecot.conf is set up to read from?
    Hi,

    Just make postfix deliver mails to dovecot LDA witch will then deliver to your mailboxes properly.

    Regards
    Lox

  6. #6
    Join Date
    Oct 2006
    Location
    Montreal
    Beans
    228
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Dovecot dilemma... mbox or maildir??

    You may also install mail-stack-delivery package.
    It will setup and configure postfix and dovecot for you.
    Because things are the way they are, things will not stay the way they are.

  7. #7
    Join Date
    Feb 2013
    Beans
    1

    Re: Dovecot dilemma... mbox or maildir??

    druhboruch, many thanks.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •