Questions tagged [maildir]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

migrate maildir from evolution to kmail

until recently I used gnome desktop and have now switched to kde plasma. I also want to change mail-client. For imap folders this is not a problem at all, but I did not get it to work for the maildir ...
1
vote
1answer
59 views

Display name and/or path of currently viewed email in mutt/neomutt

I'm using neomutt (an updated fork of mutt) as my CLI MUA (read: mail reading software in the terminal) and have all my messages synced offline using isync/mbsync and stored in the maildir-format on ...
6
votes
2answers
2k 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 ...
2
votes
2answers
175 views

How to get the notmuch message-id and thread-id from a maildir message filename already in the notmuch db?

Let's assume that I make a notmuch query that returns files: $ notmuch search --output=files tag:inbox from:love This returns a list of files, pointing to Maildir messages. Now I pick one of these ...
5
votes
1answer
645 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
1answer
45 views

Can mutt handle exclamation points instead of colons in file names?

I'm wanting to move my maildir folder to a different disk that has a Window file system. However, the file system does not allow colons (:) in file names, which Maildir uses in some file names by ...
9
votes
1answer
24k 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 ...
0
votes
0answers
190 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 ...
3
votes
1answer
818 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 ...
0
votes
0answers
76 views

Is it normal for Postfix to store old messages in mbox when Maildir is active?

I noticed this output when testing my first Postfix installation: Saved 1 message in /home/USERNAME/mbox Held 1 message in /home/USERNAME/Maildir I have home_mailbox or whatever set to "Maildir/", ...
1
vote
2answers
107 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
474 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
2answers
2k 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 ...
1
vote
1answer
1k 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
1k 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 ...
2
votes
1answer
244 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 ...
5
votes
1answer
7k 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 ...
10
votes
2answers
18k 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 ...
1
vote
1answer
151 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 ...
1
vote
0answers
117 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
377 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 ...
2
votes
4answers
4k 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
1answer
96 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 ...
-1
votes
2answers
6k 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 ...
2
votes
0answers
291 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
1answer
230 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 ...
5
votes
4answers
9k 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/...
2
votes
1answer
515 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
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 ...
1
vote
1answer
926 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 ...
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 ...
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,...
3
votes
1answer
7k 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 ...
0
votes
0answers
674 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
3k 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 ...
6
votes
1answer
1k 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 ...
1
vote
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, ...
1
vote
2answers
1k 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 ~/...
2
votes
1answer
828 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
577 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. ...