Questions tagged [maildir]

Maildir is an email storage format where each message is kept in a separate file with a unique name, and each folder is a directory.

Maildir is a directories structure to for storing message. It is an alternative for old storage format: . Maildirs were originally implemented in the Qmail mail server, supposedly to address the inadequacies of mbox files. Instead storing it to one single huge file like mbox method, each email will be placed in one file. By storing it in multiple file,multiple processes can use maildir at the same time.

Maildir directories usually has three sub-directories named tmp, new and cur. When MDA stores an email, it place the email on tmp directory then moving it to new. The cur directory was place for email that have been seen by the user's mail-reading program.

107 questions
1
vote
1 answer

Dovecot SELinux MailDir permission denied

I have dovecot installed on CentOS 7.1. In the past, I have often just disabled SELinux, but now I want to have a server with SELinux that works for me. Anyhow, I have mail stored in /home/USER/Maildir, and for reasons I don't understand I get the…
user3587258
  • 11
  • 1
  • 2
1
vote
1 answer

Creating missing Maildir++ folders in Dovecot

I'm running Dovecot on my mail server and storing messages in the Maildir++ format. I have the following directories (as well as the usual Maildir directories) in…
DanielGibbs
  • 573
  • 5
  • 13
  • 32
1
vote
1 answer

How to set the last directory in "mail_location" setting of dovecot?

I have: mail_location = maildir:/srv/vmail/%d/%n However in reality, Dovecot stores mails in: /srv/vmail/%d/%n/mail I need to migrate a mailboxes that ends with "Maildir" instead of "mail". How can I change the last part of this URI from "mail" to…
Łukasz Zaroda
  • 117
  • 2
  • 11
1
vote
3 answers

Maintain email timestamp when transferring between email servers using an email client

I am running two different email servers using Postfix and Dovecot. Some of my users have accounts on both servers and sometimes transfer emails from one to the other through their email client. When they do so, the email is showing up on the new…
drewag
  • 126
  • 1
  • 6
1
vote
0 answers

Debian mail server's Maildir folder with too many files causing disk I/O to go on high load

I have a Debian mail server running Postfix, Courier and Maildir, with disks on EXT3 filesystem. I have noticed that when I use my webmail application (Squirrelmail, in this case). It gets some kind of slow when using some email accounts (I have…
gtbono
  • 237
  • 3
  • 8
1
vote
1 answer

Read email status from files in maildir mailbox?

In /home/myusername/mail/mysite.com/info/cur, there's a list of all my raw emails, which looks something like this ... 1378731701.H58419P6671.mail.myhost.com,S\=6894:2, 1378732793.H58419P6672.mail.myhost.com,S\=24522:2,RS …
neokio
  • 155
  • 7
1
vote
1 answer

Moving Maildir directory out of /home

I have a computer with Ubuntu 13.04 with a local IMAP server that I use to share email over the LAN. I set this computer up to have an encrypted /home, however this therefore means that anyone logging into the server won't be able to view the IMAP…
Mike
  • 689
  • 3
  • 9
  • 27
1
vote
1 answer

procmail to deliver mail to 2 maildir locations

Now I am having Postifx --> procmailrc---> maildire---> dovecot and I need to have another maildir in another folder inside /root as a backup at the same time having /$home/maildir ? First and second both should have mails in maildir format. How…
Lasantha
  • 11
  • 2
1
vote
1 answer

What's the meaning of suffixes that procmail assigns to mail filenames?

I am running a Postfix server and I would like to know the meaning of suffixes that mail filenames have. For instance: 1338839258.Vfe02I2a6f0M572204.example.com:2,S 1338840057.Vfe02I2a6f1M483134.example.com:2,S ... And also, what's the criteria to…
elitalon
  • 209
  • 5
  • 15
1
vote
3 answers

how to set postfix vmail mailbox permissions to group readable?

Postfix is delivering mail to ~vmail/user/new directories with owner vmail:vmail but permissions masked to 700 (i.e. not group readable.) I need the mailfiles to be created group readable so that other apps in the vmail group can read the mailbox…
tribalvibes
  • 127
  • 6
1
vote
1 answer

How to sync Mails from Server to Backup with only the latest Mails remaining on the Server

At the moment i do a simple Mail-Backup: On the server there is a Maildir, and i use rsync to sync the Maildir from server to backup. So i delete on the Server every file which is older than i.e. one month. So i have only the latest mails on the…
allo
  • 1,620
  • 2
  • 22
  • 39
1
vote
1 answer

Does Dovecot support UIDPLUS (RFC4315)?

I have Dovecot version 1.2.9-1ubuntu6.3 installed on my server (using Maildir+), and I was reading an article on Outlook 2010 that says that Outlook will purge messages immediately if the server supports UIDPLUS. From my Googling, all I can find is…
squircle
  • 524
  • 6
  • 14
1
vote
2 answers

Maildir and users

I have pop3 local server. I want to use mail storage - Maildir format. And i have question: Maildir structure: Maildir tmp cur new Is it for one user? If i have 2 users in my pop3 server, how can pop3 server explain to mail client…
shk
  • 183
  • 2
  • 13
1
vote
0 answers

how to setup the folder separator a "/ " instead of a dot "." in imap maildir postfix and dovecot

The Question is already in the title. I want to setup dovecot and postfix with maildir , but I do not want the dot "." as folder separator. I like to use a folder system like "/" Maildir/folder/ Maildir/folder/subfolder/ I found this :…
Max Muster
  • 337
  • 2
  • 6
  • 27
1
vote
1 answer

MDA broken pipe with fetchmail / dovecot

I have set up a home mail server with dovecot to download and archive email from multiple webmail accounts via IMAP. The goal is to do this automatically every week with a cron job. I'm not sure if I should use dovecot sync/backup or fetchmail, but…
b20000
  • 121
  • 3