2022 Developer Survey is open! Take survey.

Questions tagged [maildir]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
91 views

mail: How do I mark an email as unread?

I am using mail from GNU Mailutils to read the contents of a Maildir. For emails that have already been marked as read, is there a way to mark them as unread in mail?
user avatar
  • 1,832
1 vote
1 answer
98 views

mutt: determine local path of current mail

CHALLENGE I want to determine the local path of the currently viewed mail within mutt and transfer it to a bash script, before or after saving the mail to a local project folder. CONCEPT I am using ...
user avatar
  • 11
0 votes
0 answers
48 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 ...
user avatar
  • 101
2 votes
1 answer
129 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 ...
user avatar
  • 198
2 votes
2 answers
308 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 ...
user avatar
  • 131
1 vote
1 answer
49 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 ...
user avatar
0 votes
0 answers
88 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/", ...
user avatar
  • 101
0 votes
0 answers
229 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 ...
user avatar
  • 268k
1 vote
2 answers
135 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 ...
user avatar
  • 115
0 votes
2 answers
555 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
  • 225
1 vote
1 answer
157 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 ...
user avatar
  • 43
5 votes
1 answer
748 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 ...
user avatar
  • 557
1 vote
0 answers
131 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 ...
user avatar
2 votes
1 answer
283 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 ...
user avatar
  • 3,051
1 vote
2 answers
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 ...
user avatar
  • 1,660
2 votes
1 answer
406 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 ...
user avatar
0 votes
1 answer
106 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 ...
user avatar
2 votes
0 answers
316 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 ...
user avatar
3 votes
1 answer
982 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 ...
user avatar
2 votes
1 answer
264 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 ...
user avatar
  • 1,569
2 votes
1 answer
538 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 ...
user avatar
  • 235
11 votes
2 answers
19k 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 ...
user avatar
  • 113
-1 votes
2 answers
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 ...
user avatar
  • 5,084
1 vote
1 answer
980 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 ...
user avatar
6 votes
2 answers
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 ...
user avatar
  • 3,685
7 votes
2 answers
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,...
user avatar
5 votes
4 answers
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/...
user avatar
9 votes
1 answer
25k 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 ...
user avatar
  • 131
3 votes
1 answer
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 ...
user avatar
2 votes
4 answers
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 ...
user avatar
0 votes
0 answers
684 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 ...
user avatar
  • 10.2k
4 votes
1 answer
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/...
user avatar
4 votes
3 answers
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 ...
user avatar
  • 231
1 vote
2 answers
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 ~/...
user avatar
  • 733
6 votes
1 answer
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 ...
user avatar
1 vote
1 answer
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, ...
user avatar
4 votes
2 answers
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 ...
user avatar
  • 1,580
2 votes
1 answer
830 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 ...
user avatar
  • 33
2 votes
0 answers
586 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. ...
user avatar
8 votes
4 answers
6k 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 ...
user avatar
  • 16.8k
5 votes
1 answer
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 ...
user avatar