Dovecot mail_location for fedora
What is the syntax for dovecot mail_location when postfix delivers mail to /var/spool/mail/?
These are the old unix style mbox, one file per user.
Not setting mail_location in 10-mail.conf results in Auto not finding it.
mbox: /var/spool/mail/%u said mbox root directory can't be a file.
mbox: /var/spool/mail/ tries to make Sent and Deleted Folders, etc.
maildir: /var/spool/mail/ closes the connection.
I am using Outlook 2016 and Thunderbird are two imap clients I am trying. For Dovecot, 2.2.31 is the version.
Postfix is version 3.2.2 and seems to be working.
A vanilla Fedora 26 is the OS
On 18/08/2017 06:15, Randy Gordey wrote:
What is the syntax for dovecot mail_location when postfix delivers mail to /var/spool/mail/?
These are the old unix style mbox, one file per user.
Not setting mail_location in 10-mail.conf results in Auto not finding it.
mbox: /var/spool/mail/%u said mbox root directory can't be a file.
Its been over 10 years since I've run mbox, but i'm sure your format is wrong, you're also not supposed to use spaces either, in fact I think its telling you whats wrong, from memory, its mbox:~/mail:<other stuff> but I cant recall what otherstuff is I know the pathis in it but it needs something before it, I just cant recall what, see the wiki, I'd be highly surprised if it did not explain it.
mbox: /var/spool/mail/ tries to make Sent and Deleted Folders, etc.
maildir: /var/spool/mail/ closes the connection.
Thats not how maildir works you need to add the Maildir directory to it, ie maildir:/var/spool/mail/%n/Maildir
but DO NOT USE THAT directory! And its more than dovecot you need to change if you're going to use maildir, so just fix up your mbox settings.
-- Kind Regards,
Noel Butler
This Email, including any attachments, may contain legally privileged
information, therefore remains confidential and subject to copyright protected under international law. You may not disseminate, discuss, or reveal, any part, to anyone, without the authors express written authority to do so. If you are not the intended recipient, please notify the sender then delete all copies of this message including attachments, immediately. Confidentiality, copyright, and legal privilege are not waived or lost by reason of the mistaken delivery of this message. Only PDF [1] and ODF [2] documents accepted, please do not send proprietary formatted documents
Links:
[1] http://www.adobe.com/ [2] http://en.wikipedia.org/wiki/OpenDocument
mail_location=~/.mail:INBOX=/var/spool/mail/%Ln
Aki
On 18.08.2017 12:41, Noel Butler wrote:
On 18/08/2017 06:15, Randy Gordey wrote:
What is the syntax for dovecot mail_location when postfix delivers mail to /var/spool/mail/?
These are the old unix style mbox, one file per user.
Not setting mail_location in 10-mail.conf results in Auto not finding it.
mbox: /var/spool/mail/%u said mbox root directory can't be a file. Its been over 10 years since I've run mbox, but i'm sure your format is wrong, you're also not supposed to use spaces either, in fact I think its telling you whats wrong, from memory, its mbox:~/mail:<other stuff> but I cant recall what otherstuff is I know the pathis in it but it needs something before it, I just cant recall what, see the wiki, I'd be highly surprised if it did not explain it.
mbox: /var/spool/mail/ tries to make Sent and Deleted Folders, etc.
maildir: /var/spool/mail/ closes the connection. Thats not how maildir works you need to add the Maildir directory to it, ie maildir:/var/spool/mail/%n/Maildir
but DO NOT USE THAT directory! And its more than dovecot you need to change if you're going to use maildir, so just fix up your mbox settings.
Ahh thats it :)
He should be good now, no idea why a fedora install wouldn't have that
On 18/08/2017 19:43, Aki Tuomi wrote:
mail_location=~/.mail:INBOX=/var/spool/mail/%Ln
Aki
-- Kind Regards,
Noel Butler
This Email, including any attachments, may contain legally privileged
information, therefore remains confidential and subject to copyright protected under international law. You may not disseminate, discuss, or reveal, any part, to anyone, without the authors express written authority to do so. If you are not the intended recipient, please notify the sender then delete all copies of this message including attachments, immediately. Confidentiality, copyright, and legal privilege are not waived or lost by reason of the mistaken delivery of this message. Only PDF [1] and ODF [2] documents accepted, please do not send proprietary formatted documents
Links:
[1] http://www.adobe.com/ [2] http://en.wikipedia.org/wiki/OpenDocument
participants (3)
-
Aki Tuomi
-
Noel Butler
-
Randy Gordey