Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [maildir]

The tag has no usage guidance.

0
votes
0answers
35 views

fdm mail filtering: avoiding archiving messages that have been “flagged”

I'm using fdm to fetch, filter, sort and archive my email. For archiving mail, I have a "disabled" account called archive that I invoke with fdm -a archive, which makes fdm go through all my various ...
1
vote
2answers
28 views

Copy mail file from maildir over ssh [duplicate]

The maildir has a specific format of the files laying underneath, e.g. 1549464014.9224_427.hostname:2,RS. In Debian environment copying this file over SSH without renaming is impossible or I don't ...
0
votes
2answers
149 views

Bash scripting in a Maildir directory [duplicate]

I want to grep across 500 files in a Maildir directory. I issued the command grep MyPattern * I got the error message: bash: /usr/bin/grep: Argument list too long So I stored the list of files in ...
1
vote
1answer
444 views

Compressed Maildir [was Strange Postfix Maildir files]

I was called to solve a situation of recovering a backup of emails from a legacy server that died. Having Maildir files, and with some header data, I could easily determine with some detective work ...
0
votes
1answer
463 views

Where do custom folders of virtual users with dovecot IMAP get stored?

I just set up a Postfix+Dovecot Mail System. This system uses only virtual users. I set the mailboxes up in /var/vmail/DOMAIN/USER in the Maildir format. Now I connected (successfully :D) with my IMAP ...
1
vote
1answer
109 views

regexp: non-empty line followed by “From ”

I'm in the process of migrating my Mbox format emails to the Maildir format. To this end I use mb2md which works great. Nevertheless I've just come to realize that sometimes in my Mbox folders a ...
3
votes
1answer
271 views

Synchronize IMAP to maildir folders - fast and complete solution with IDLE support?

This is likely to be borderline subjective, but I am searching for good alternatives for command line IMAP to maildir clients: Currently I am using offlineimap, but the docs are lacking, and support ...
1
vote
0answers
46 views

Restoring Maildir emails from backup on different machine (so filename conventions differ)

I have GMail synced via IMAP using offlineimap on Machine A and Machine B. I accidentally deleted 5000 messages when trying to sync Machine B. Machine A was off at the time, and so I still have ...
2
votes
1answer
144 views

Changing maildir in mutt takes ages “Reading” the new maildir

It takes many seconds in mutt to change to a different maildir. The following message appears as the new maildir is being read: Reading /…/Maildir/.…... 1780/6926 (25%) This takes ages! And is a ...
1
vote
2answers
645 views

How do you use procmail mda to deliver files to be read by mh?

I'm using fetchmail to download email, and using procmail for delivery as the mda. I'd like them to be delivered for use with mh, but procmail seems to deliver them in a manner that mh doesn't ...
2
votes
1answer
266 views

Mysterious Samba permission failures after service migration

After migrating a maildir network share (CIFS) to a new storage server, I started having problems with file permissions (users unable to delete old mail). My IMAP service is Dovecot but we can ...
0
votes
1answer
51 views

How can I easily read many Maildir directories?

I have about 40 Maildir directories in /var/vmail/ with the structure of Domain1.com -- user ----- new ----- cur ----- tmp Domain2.com -- user ----- new ----- cur ----- tmp Inside each of those ...
2
votes
0answers
212 views

find-like tool to search (recursively) in MailDir folders by size, sender, recipient, attachment name regex, etc

I am not looking for a tool like locate, that works by creating an index in the MailDir, or generating other runtime files there; I am searching for real-time, direct search on live MailDirs. The ...
2
votes
0answers
269 views

Change existing dovecot maildir installation from m-UTF7 charset to UTF8 to avoid breaking TAB

In an existing dovecot installation with many pre-existing folders using regional characters I would like to change m-UTF7 (.&AMk-l&AOk-ments envoy&AOk-s) foldernames to UTF8 (.Éléments ...
1
vote
1answer
156 views

How do I tell notmuch to scan folders for new messages?

I'm using mutt-kz, offlineimap and notmuch to read and search my email. I'm syncing between two computers so I need to store things in folders so that some structure is preserved, but I've discovered ...
2
votes
1answer
452 views

Mail clients' inconsistent use of Maildir through IMAP

I've succesfully set up Postfix and Dovecot at my home server to use Maildir as the mailbox storage format. However after I tried out a couple of different mail clients like Thunderbird and Outlook ...
8
votes
2answers
13k views

Can I delete or move mail files from maildir cur folder?

I ended up with a cur folder with over 350,000 files. So many that I can't find a mail program to manage them. Tried horde on the same server and it gives an error. Can I delete or move some of those ...
-2
votes
2answers
5k views

How do I read Maildir RFC822 messages from the CentOS 7 terminal?

In a CentOS 7 server with dovecot, postfix, mailx installed, I have mail configured to be stored in Maildir format. How can I use the terminal to access and view the RFC822 messages stored in a ...
1
vote
1answer
766 views

Debian: exim, Maildir and mail

I have exim installed and configured as "internet site; mail is sent and received directly using SMTP". Mail is stored in /home/*user*/Maildir and it is really there. I can send and receive mail ...
5
votes
1answer
1k views

accessing Maildir locally with Mutt and remotely over IMAP simultaneously

I have Postfix + Maildir + Dovecot + IMAP on my mailserver. I am accessing my mailbox remotely over IMAP with one or more clients (Thunderbird). Additionally, on the server I have mutt configured for ...
7
votes
2answers
3k views

Thunderbird: deleted emails are still in local IMAP folder

I am using Thunderbird + IMAP. Thunderbird caches messages locally in: .icedove/asdfgh.default/ImapMail/mail.example.com/ For each IMAP folder, there are files Folder and Folder.msf. I have noticed,...
4
votes
4answers
8k views

Dovecot ignores settings for mailboxes

I have set up Dovecot on my Postfix mailserver. My mailserver is using Maildir format: home_mailbox = Mail/inbox/ A user's Mail directory looks like this: $HOME/Mail/inbox $HOME/Mail/drafts $HOME/...
7
votes
1answer
16k views

How to make postfix create maildir?

How do you make postfix create maildir folders automatically for all users? I have these two lines in postfix main.cf, which supposed do create maildir folder after the first mail but it is not ...
3
votes
1answer
5k views

Maildir and mailutils?

I want to use the mailutils app on a install of Ubuntu 12.04.3 LTS with a Maildir format, but every time I run the mail command, the system looks in /var/mail/user, instead of the Maildir directory in ...
2
votes
4answers
3k views

postfix: different file name format for Maildir messages

I am using postfix with maildir format. The filenames of messages stored in maildir look something like this: 1386021659.27745_1.alpha:2,S I understand the first part is epoch time, not sure about ...
0
votes
0answers
606 views

migrating evolution to thunderbierd and maildir format

By default, thunderbird stores in mbox fromat, when you use Config Editor and search for mail.serverDefaultStoreContractID you find out its value: @mozilla.org/msgstore/berkeleystore;1 If you want to ...
4
votes
1answer
2k views

Mutt and maildir format

I am trying to set up mutt to use maildir format. I have the following in my .muttrc file: set mbox_type=Maildir set folder="~/.mail/" set mbox="~/.mail/" set spoolfile="~/.mail/" set record="~/.mail/...
3
votes
3answers
1k views

How to migrate data from server to server with as little downtime as possible?

I have a server running dovecot using the maildir format with a fairly large userbase (10k users or so) with each user having around a GB quota. The actual mail directories are stored on a separate ...
1
vote
2answers
722 views

How can I print a summary of Maildir contents when logging into a shell?

I know this is theoretically possible, but I'm trying to avoid reinventing the wheel. I'm using Ubuntu Linux, with Maildir mailbox format. I want to put something in my .login that will parse the ~/...
5
votes
1answer
743 views

Email client that understands both HTML and maildir

I'm using Mutt as my main email client, but I'm looking for another one for my work email (because of HTML email). I need one that can handle my existing Maildir email, to be able to switch between ...
0
votes
1answer
7k views

Courier IMAP cannot find my Maildir but can find root's Maildir

I'm running into a weird issue setting up Postfix and Courier IMAP on a clean Ubuntu 13.04 install. I'm using this tutorial, and am currently Testing Courier IMAP. When I try to login with root, ...
4
votes
2answers
1k views

syncing two maildirs

I have a server that I use to frequently get email from Google using offlineimap. the email is stored in a maildir format on this server. What tool can I use to sync this maildir with the local ...
2
votes
1answer
774 views

Script for courier maildir folders on CentOS LAMP environment

I'm looking for resources to help me build a script to do monthly maintenance of maildir folders for a typical CentOS LAMP VPS hosting environment. I would like to run a script that runs from a ...
2
votes
0answers
497 views

what is the correct Courier / Maildir++ email (sub)folder format?

For representing the logical email folder structure, a "Maildir++" format exists that was first implemented by the Courier mail server, thus sometimes also being referred to as the "Courier" format. ...
9
votes
4answers
5k views

How can I apply my procmail filters to my maildir inbox?

Last night I subscribed to a mailing list, and discovered this morning that my procmail filter didn't apply to many of the mailing list messages. Now I have loads of less-important mailing list ...
5
votes
1answer
6k views

How do I set up alpine to read local Unix generated mail

Linux delivers mail to home directory: /home/linker/Maildir under which are 3 directories new, cur, tmp. When I type mail I get mail: /home/linker/Maildir/: Is a directory, which is not useful. I ...