Maildir is an e-mail 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

1
vote
1answer
31 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 ...
-1
votes
0answers
21 views

Vpopmail to Postfix migration [on hold]

I need to migrate an existing Qmail+Vpopmail+MySQL+Dovecot system to a new Postfix+MySQL+Dovecot one. Both are using the Maildir format, but Vpopmail uses /home/vpopmail/[domain]/[user]/Maildir ...
0
votes
1answer
35 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
256 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 ...
0
votes
3answers
108 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 ...
1
vote
1answer
399 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
322 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 ...
-3
votes
2answers
198 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
127 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 = ...
0
votes
3answers
335 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 ...
0
votes
0answers
124 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
260 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 ...
7
votes
4answers
2k 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
1answer
126 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
95 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, ...
2
votes
1answer
358 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
678 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 ...
0
votes
1answer
727 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 ...
6
votes
1answer
1k 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
175 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
397 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
129 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 ...
2
votes
0answers
269 views

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

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
686 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
399 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. ...
1
vote
2answers
335 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.
2
votes
1answer
2k 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
112 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, ...
2
votes
2answers
479 views

publish a maildir on the web

I presume I'll want to use Mailman or something, but I don't want to run a mailing list. What I want to do is point a program at a Maildir containing a bunch of email (plain text files) - and have ...
0
votes
1answer
92 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
292 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
289 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 ...
1
vote
1answer
550 views

Detecting unreaded mails in Maildir

I like to detect unreaded mails in Maildir mailboxes. The subfolder "new" only content mails that are not already pulled from an MUA. But I want the unreaded mails within INBOX (no virtual subdirs). ...
0
votes
1answer
454 views

Default subfolders for dovecot

For new accounts, dovecot only has a single default folder, the inbox. Is there a way to specify a default set of subfolders, preferably immutable, that exist for each inbox? Ideally, I want each ...
1
vote
1answer
737 views

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

Transferring mails and user setting to new mail server

We have a mail server running Debian 5.0. It is one year old now but we want to deploy a new server with Ubuntu Server 10.04. The problem is that we want to transfer all the user mails and settings to ...
2
votes
1answer
179 views

~/Maildir vs /var/mail for e-mail storage

I run a mail server with Exim4 and Dovecot. Currently mail goes to ~/Maildir. However, I am wondering what the relative advantages and disadvantages of storing mail in /var/mail/$user/ is. Is one ...
1
vote
1answer
711 views

Extracting and saving attachments from maildir, deduplicated

I would like to know if there exists a solution for archiving email, stripping out the attachments and saving them separately, deduplicated? The ideal would be a maildir-setup, with a script running ...
5
votes
2answers
5k views

Converting a Maildir to a PST

Does anyone know of any solutions to convert a Maildir to a PST in linux? I'm able to use a program in Windows called Aid4Mail, but that requires me to pull the Maildir down from the server. I've got ...
1
vote
1answer
228 views

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

How to create maildir with unix script?

I want to create maildirs with unix script, so question is how to create directory like in this example: example.com/j/o/h/john-2011.04.07.09.35.49/ if i have only three arguments - mailserver ...
5
votes
3answers
2k views

Remove Duplicate Messages from Maildir

I've got a bunch of duplicate messages in my IMAP server's Maildir. What's the best way to remove them? Some relevant points: Shared Message-ID is usually a good enough definition of duplicate. A ...
0
votes
2answers
423 views

How pipe email to PHP with Maildirs

I used to pipe incoming emails using: |/path/to/php/script in .forward file at /home folder. But the actual system I'm working on is based on Maìldir instead MBOX. So that solution does not work. I ...
0
votes
1answer
412 views

Script encrypting Mails on Server [Maildir/GPG]

The idea is to encrypt [cronjob] all mails older than x days with a certain [per user] PGP Key. Mails are stored in Maildir format. Are you guys aware of an existing solution to this? Or maybe ...
0
votes
1answer
606 views

Integrating multiple mailboxes (dovecot, Exim, maildir)

Following an outage, I've ended up with 2 mailboxes for each of my users, on separate machines. I've shut the interim machine down now, and put the mailboxes on the real server in ...
0
votes
1answer
516 views

Maildir and mail attachments

If the mail receive with attachments and mail storage in the server - Maildir. How attachment set in Maildir format? For example: I user maildir for incoming message in my server. I got 1 message ...
1
vote
2answers
80 views

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

Best Practice: Migrating Email Boxes (maildir format)

So here's the situation. I've got about 20,000 maildir email accounts chewing up a several hundred GB of space on our email server. Maildir by nature keeps thousands of tiny a** little files, ...
0
votes
2answers
158 views

Using Maildir as default mailspool

Is it possible to use a Maildir as the mailspool for users on a *nix box? I can get procmail to deliver to a Maildir without any problem, but I want to keep all the nifty features like finger knowing ...