Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a cifs mounted filesystem and I will like to know, does sudo postconf -e 'home_mailbox = Maildir/' mean that Maildir is chosen as default mailbox format or it just specifies a directory where an email is meant to be stored?

share|improve this question

1 Answer 1

As far as I know, there are two ways that postfix will store email. Either in the mbox format which is a single file with delimiters and what not to help separate the messages or, in the Maildir format which keeps each message in a separate file and each virtual directory in the email server is a real directory.

When you specify the home_mailbox with a / at the end then it means that you are telling postfix to use Maildir. Without the / then it uses mbox. The part before that is the name of the mbox or Maildir that you are storing and can be called anything but most people prefer to use the name Maildir/ as it's more accurate of the content.

You can technically use sudo postconf -e 'home_mailbox = put_my_mail_here/' and it will create a Maildir format mailbox labeled "put_my_mail_here" which will be the name of the folder in the home dir where the Maildir data is stored.

Another option would be to use .Maildir/ which will create a "hidden" folder with the content.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.