Questions tagged [maildir]
The maildir tag has no usage guidance.
46
questions
1
vote
2
answers
62
views
Be notified of new mail in any Maildir inbox under ~/Mail, in the Zsh shell
I have a cron job that fetches new mail from several mail servers every 20 minutes. The mail is automatically sorted into Maildir mailboxes in a hierarchy under ~/Mail.
I want to be notified in the ...
0
votes
0
answers
89
views
Big Maildir mailspool - looking for ways to improve performance
I have an extremely large Maildir which contains emails going back many years. I need to rebuild the server and would like to improve the mail storage setup.
My main problem is that backups of the ...
1
vote
1
answer
138
views
How do I pipe my raw keystrokes through a command before sending it through ssh to remote systems
To better specify my question, I have decided that I want every keystroke to be piped to a package called safecat which uses the maildir algorithm, which is in turn delivering it's output to a remote ...
2
votes
1
answer
824
views
Convert Thunderbird IMAP mail folder to maildir
I currently use mu4e with a maildir storage format as my email client.
I used to use Thunderbird with an old Outlook based email account for work, using IMAP. In my .thunderbird directory tree, I can ...
0
votes
2
answers
76
views
How should an email message, represented as a single file, be added to a Maildir?
The naming conventions of Maildirs seem pretty elaborate. I downloaded a message from Outlook's web interface and added it to a Maildir by naming it added and putting it in a new folder. mbsync and ...
1
vote
1
answer
835
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?
2
votes
1
answer
680
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 ...
3
votes
1
answer
380
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 ...
2
votes
2
answers
722
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 ...
1
vote
1
answer
80
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 ...
0
votes
0
answers
175
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
2
answers
253
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
2
answers
725
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
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 ...
0
votes
1
answer
2k
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
1
answer
169
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 ...
6
votes
1
answer
1k
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
0
answers
159
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
1
answer
428
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
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 ...
2
votes
1
answer
476
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
1
answer
376
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
0
answers
427
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 ...
4
votes
1
answer
2k
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 ...
2
votes
1
answer
385
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
1
answer
591
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 ...
12
votes
2
answers
23k
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 ...
0
votes
2
answers
7k
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
1
answer
1k
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 ...
7
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 ...
7
votes
2
answers
4k
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,...
5
votes
4
answers
10k
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/...
9
votes
1
answer
29k
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
1
answer
8k
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
4
answers
5k
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
0
answers
718
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
1
answer
4k
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/...
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 ...
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 ~/...
6
votes
1
answer
2k
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
1
answer
8k
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
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 ...
2
votes
1
answer
881
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
0
answers
715
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.
...
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 ...
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 ...