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.

learn more… | top users | synonyms

0
votes
0answers
7 views

Dovecot: update change directory structure, two structures exists now

When I updated my dovecot two days ago, changes were made in configuration. Mails were stored in /var/mail/vhosts/domain/user and now they are in /var/mail/vhosts/domain/user/Maildir So I have two ...
0
votes
1answer
26 views

Migrate Dovecot 0.99 to Dovecot 2.x and preserve POP UIDs

I have an old server running Sendmail and Dovecot 0.99. There are about 50 email accounts on this server, associated with various domain names hosted on it. The email data is stored in MBOX format ...
1
vote
2answers
50 views

Postfix maildir delivery failed - are my mails lost?

I was facing the problem that postfix could not deliver emails to my home-directory. I have a running Ubuntu 14.04 server and due to some problem with encrypted home-drive postfix was not able to ...
1
vote
1answer
65 views

Make consistent copy of maildir

Assuming I'm using Dovecot and it's maildir format to save and access mails on a server. How do I avoid race conditions while copying a maildir? I did read some tutorial about backups and using ...
1
vote
0answers
71 views

Correct Namespace config for Sent/Drafts/Trash with dovecot

Dovecot seems to configure namespaces by default (conf.d/10-mail.conf and conf.d/15-mailboxes.conf) this way: # 10-mail.conf mail_location = mbox:~/mail:INBOX=/var/mail/%u namespace inbox { inbox =...
-1
votes
1answer
176 views

Import mail from Google apps to Postfix/Dovecot Maildir

I was using Google apps for work and now I set up my own mail server since I have a lot of users and paying Google would be too much for that number :( Currently my Postfix and Dovecot are set to use ...
1
vote
1answer
133 views

Create a Dovecot Maildir structure (with indexes) from loose Maildir files: Best way?

I have a directory with a few thousand email files from another Dovecot-based server, but they have no indexes. I'd like to "import" these into an existing, live Dovecot directory structure such that ...
1
vote
0answers
175 views

Quota in Postfix, Dovecot with Maildir Not working

I've some problem with quota with Maildir. If I install a plugin in Thunderbird that shows Quota's it's working and my quota is like 300%. But I can still send and recieve mails. I'm not running any ...
0
votes
1answer
156 views

Delete old e-mails from a Maildir

I am currently trying to figure out how I can delete old e-mails in one folder of a Maildir installation on a Debian server. Basically what I want to do is to run a cron job every day or so that ...
3
votes
1answer
344 views

Postfix/Dovecot - Multiple Domains and Multiple Linux Accounts

I have been trying to setup a new mail server to migrate from my VPS, as my host has decided to close its doors. The old server was running Exim/Courier (nearly a decade old at this point,) and I'm ...
1
vote
1answer
494 views

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/...
2
votes
2answers
184 views

Backup maildir to windows cifs share

How can I incrementally backup a maildir to a cifs share without creating a full image each time? I have dovecot running with some large mail accounts. The only backup available is on a Windows ...
1
vote
1answer
159 views

How do I move a Maildir to a subdirectory of another user?

When an employee has left the company I want to move their entire Maildir to be a folder in an "old employees" account. Given that Maildir uses the filesystem exclusively, I feel it should be ...
4
votes
1answer
60 views

Maildir on Debian Squeeze - Finding email boxes on /lost+found

A server that I'm helping to administrate had a severe file system problem and now there's a lot of files inside the /lost+found directory. I'd like to find the user@example.com's received and sent ...
2
votes
1answer
804 views

Who is telling where cur,new and tmp are created using Postfixadmin with Maildir

I was trying to realized which configuration is telling where cur,tmp and new are created. Of course I've beein using virtual user and I receive and send mails into virtualuser/domain/user/Maildir/new ...
2
votes
2answers
126 views

How to move cur tmp new directories directly in virtual user home?

Reading the Maildir documentation they just mention folder should be like user/Maildir/cur tmp new So my virtual users have it without Maildir folder like: user/...
0
votes
2answers
732 views

Postix or Dovecot debug log for Maildir folder, Virtual user mail folder owner and permission

I'm no able to find a complete tutorial about Maildir and the folders where reside owner and permissions if there's any and you already found it , please share. Anyway I wonder if there is a way to ...
1
vote
1answer
150 views

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 /var/mail/user: .Something.2013 ....
1
vote
1answer
3k views

Maildir “new” has messages but Inbox is empty

I'm installing a new mail server (Postfix/Dovecot+Maildir) in a fresh OS. Using Thunderbird (or Squirrelmail) I can send mails but my inbox is empty even when I can see them in /home/<mailuser>/...
0
votes
1answer
111 views

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 ...
-1
votes
2answers
3k views

Read mail from Postfix using shell script [closed]

I would like to be able to read incoming mail from a Postfix MTA using a shell script. The shell script should be able to retrieve the mail headers, subject, body, attachments, etc., then mark the ...
1
vote
3answers
320 views

Dovecot: deliver reply into same folder as replied-to message

UPDATE (2 sept 2014 13:01): Just to clarify, I'm interested in handling an incoming reply from someone else, so coming in via SMTP. If it is a reply to an email that is already in some mail folder, it ...
2
votes
2answers
2k views

New Dovecot install not allowing login, giving permissions error despite saying that permissions “appear ok”

I'm installing dovecot onto a Virtualbox VM running Ubuntu Server 64-bit 14.04 guest. Dovecot itself is being installed into a Docker container (I'm not sure that that's relevant here, but am noting ...
0
votes
1answer
3k views

postfix+dovecot store maildir format mail in /var/mail

I want to set up a mail server using postfix and dovecot, that stores mail using the maildir format, and I don't want any of these files to go in user's home directories. Wherever I search for how to ...
-4
votes
2answers
926 views

How to set up squirrelmail read from Maildir

I have the problem that my squirrelmail is not reading mails from Maildir. So my Inbox in squirrelmail is always empty. How can I fix it? This should be the path for Maildir: /home/someuser/Maildir. ...
1
vote
1answer
276 views

How do I convert all accounts on a dovecot IMAP server from one Maildir layout to another?

I am currently running dovecot 2.x on a server with the following layout for mailboxes: mail_location = maildir:~/Maildir I would like to change the layout to this format: mail_location = maildir:~...
0
votes
3answers
1k views

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 ...
1
vote
0answers
285 views

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 ...
0
votes
0answers
609 views

Attribute caching of dovecot maildir boxes over NFS

I admin a mail server cluster: there're two different hosts that use a common NFS share to store maildir. Dovecot is the LDA. CPU load on NFS is really high, although real i/o operation on the disk ...
19
votes
4answers
11k views

Maildir vs Mbox - What are the practical differences

Although I understand the basics of the two storage formats (1 file per email under Maildir vs. 1 single file per mailbox under mbox), I am wondering what the practical implications are here - Is ...
1
vote
2answers
216 views

Making sure Postfix MDA and Dovecot IMAP understand mailbox location?

I want to setup Postfix and Dovecot with Postfix as the SMTP MTA (mail transfer agent) and the MDA (mail delivery agent) and Dovecot just as the IMAP server, but I want to make sure that they each ...
0
votes
1answer
263 views

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....
2
votes
1answer
498 views

Migrated mbox to Maildir, how to avoid mail client from re-downloading emails?

We have moved emails in a postfix server from huge mbox files to MailDir, but when trying out one Outlook client, found that it redownloads all mail as duplicate unread messages.
1
vote
1answer
1k views

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 ...
2
votes
1answer
1k views

How to enable maildir in Dovecot deliver with Sendmail local_procmail

There is documentation around on how to make /usr/local/bin/procmail work with delivering to a maildir. However, it is my understanding that it is also possible to avoid procmail altogether, and have ...
7
votes
1answer
3k views

is it safe to remove mails on imap server with “rm”?

I use dovecot IMAP server and want to delete big unneeded mails: cd /var/spool/foouser; du -a | sort -rn > /var/tmp/du-mail-foouser.log Now I see big mails at the top and after looking at them I ...
1
vote
1answer
320 views

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 ...
0
votes
1answer
774 views

Extract all messages in a set of maildirs with certain domains in the headers

I have a mailserver (running Exim as MTA/MDA, and Dovecot for IMAP access) with around 50 users, and around 100GB total data (including some huge accounts, some defunct ones, etc). The mail is all ...
1
vote
1answer
184 views

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....
3
votes
0answers
435 views

Webmail Interface for Direct Access to Maildir Directory (No IMAP, POP3 on Purpose) [closed]

I am using a service providers that allows me to forward email to a shell account. I work/play in a lot of environments where I cannot SSH into the host a lot of the time, and I want to separate out ...
2
votes
1answer
940 views

Using rdiff-backup for incremental backups of large compressed archive files?

I am researching a remote off-site backup strategy. The major limitation is that the upstream pipe is only ~50 kb/s, so with that in mind the incremental backup capabilities using file differentials ...
0
votes
2answers
605 views

Users reporting strange IMAP issues from their mail clients: messages missing, deleted, or moved from folders

The server is a CentOS 5 install running Dovecot for imap access within an office LAN to about 5 computers using Thunderbird. There's only one mailbox, in the Maildir format, and about 20GB in size. ...
2
votes
2answers
734 views

Permissions of Maildir and subdirs (.INBOX.Sent etc)

What should the correct are? Now there is 777 and I know that it's very stupid, but if I ask you before change them to prevent from permission error by time sending/receiving emails. Thank you.
3
votes
1answer
4k views

Postfix not delivering email using Maildir

I've followed this guide to get postfix set up. I've not completed it yet, as from sending test emails, email is no longer being delivered since switching to Maildir from mbox. I have created a ...
2
votes
2answers
2k views

How to create default subfolders using procmail with Maildir (and postfix) that work with MUA's?

I have a procmail setup and want to have a Spam folder that works with MUA's. I found this tutorial http://www.cyberciti.biz/faq/how-do-i-move-spam-mail-to-spam-folder/ but it doesn't work as ...
2
votes
2answers
120 views

removing spam between mail server and client

My postfix was badly configured and let a lot of spam emails through to an account. I've fixed postfix now so it's become a much better spam filter, and almost no new spam is getting through. However, ...
0
votes
1answer
106 views

Filter mail which was delivered to root's inbox

My mailserver was set so that all the mails to info@domain were going to the root Maildir. Now, I'm wondering how could I "filter" these mails out so that I can see which mails were tried to be sent ...
2
votes
1answer
420 views

Migrate Maildir between courier and dovecot servers

I have several tarballs that make up all the previous emails for two or three accounts on a mail server. This machine we be shut down within a few weeks and so I need to migrate all the previously ...
0
votes
1answer
388 views

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 ...