Questions tagged [maildir]

The Maildir e-mail format is a common way of storing e-mail messages, where each message is kept in a separate file with a unique name, and each folder is a directory.

The original Maildir specification was written by Daniel J. Bernstein, the author of qmail, djbdns, and other software. Although the original specification was written specifically for Bernstein's qmail, it is general enough to be implemented in many programs.

Read more at: https://en.wikipedia.org/wiki/Maildir

54 questions
0
votes
1 answer

How can the maildir format accomodate flags/UIDs on recent messages?

I am using the maildir (maildir++, actually) email backend format for storing messages on a custom IMAP server. I have a good understanding of the relevant email protocols and maildir format, but this is one question I've had for a while that's been…
InterLinked
  • 1,247
  • 2
  • 18
  • 50
0
votes
1 answer

Python3: using mailbox.Maildir() and storing message to be marked as "Seen"?

I'm using Python3.8 to manage email on my debian server. I have the following code which saves an email message into a maildir, where "maildir_path" is a string containing the path to the maildir, and "message_string" is a string containing a…
HippoMan
  • 2,119
  • 2
  • 25
  • 48
0
votes
1 answer

javamail dir issues with windows

I am using javamaildir to read e-mail messages from the physical folder on windows machine. I am passing the url as "maildir:D:\\home\\test\\maildir". the direcotry maildir has the email message. I am able to connect to the store…
rakesh
  • 1
0
votes
1 answer

Gnus with maildir : strange fields in reply header

I am using Gnus with Offlineimap to read GMail. Offlineimap fetches the mail from GMail and stores in in Maildir folders on my local machine at /mnt/Mail/ . I point Gnus to these folders, from where it reads the mail and displays it to me. When I…
gphilip
  • 399
  • 1
  • 2
  • 11
0
votes
1 answer

procmail: getting procmail to exclude hostname while saving Maildir format messages

How do I get procmail to save messages in my Maildir folder, but not include the hostname in the file (message name)? I get the following message names in my new/ sub-folder: 1464003587.H805375P95754.gator3018.hostgator.com, S=20238_2 I just want…
user3236841
  • 1,088
  • 1
  • 15
  • 39
0
votes
2 answers

How to requeue a mbox file with sendmail

A bad change in sendmail has generated mailbox files instead of writing emails in maildir. We have roll-backed the change and emails are now well delivered in mailboxes. But, emails in mailbox files remain, and I am looking for a way to requeue…
0
votes
2 answers

Mailserver: convert "Date:" header date year from "yy" to "yyyy" on Maildir files

I work with Postfix and Dovecot for SMTP and IMAP. They are on the latest CentOS 7 available versions and the messages are stored in Maildir format. We have made an agreement with Google and our mailboxes will be transfered to them very soon. We…
0
votes
0 answers

Fetching index mail from dovecot

I am creating my own client end for my email and i am using Java mail API. I am retrieving messages from dovecot and able to send also through Postfix. But I am not able to retrieve proper index messages as Thunderbird does or any other mail client…
gigme lepcha
  • 11
  • 1
  • 4
0
votes
3 answers

Adding .eml to the end of every filename in multiple folders

So here's the deal: I been using Thunderbird - it been great but I want to move to Microsoft Outlook. Now because I taken things a little too far, I decided to use maildir for storing my emails. Again it was wonderful but I need to move on. My plan…
Danielx64
  • 3
  • 2
0
votes
1 answer

Which application determine or set the maildir in a mail server?

My question is about mail server configuration with postfix (smtp) and dovecot (imap,pop3), both of these application have to see the same path to the maildir, for example /var/vmail/my_domain/user/Maildir. So, which application determine or set the…
Emilio Galarraga
  • 659
  • 1
  • 8
  • 14
0
votes
2 answers

How to remove an email message in Maildir from PHP?

I'm going crazy with a little problem with Maildir and PHP. I need to check the APACHE_RUN_USER's Maildir and parse delivery-status messages. The problem removing message after reading; i noticed that Zend_Mail_Storage_Maildir->removeMessage() is…
Fabio Mora
  • 5,339
  • 2
  • 20
  • 30
0
votes
1 answer

Direct email to a local Maildir file without an MTA

I have an application that needs to write emails directly to local imap accounts. No MTA (Postfix,Sendmail etc.) in between so as to keep it simple to maintain, and no MTA vulnerability to worry about ,since there will be around 100K IMAP accounts…
Sharjeel
  • 290
  • 1
  • 7
  • 17
0
votes
1 answer

Postfix Folders

When I retrieve messages (with imap) the folder /home/user/mail is created while my config files (postfix and dovecot) redirects to /home/user/Maildir folder, and Maildir folder contains emails I want to get with imap ! I made a symbolic link…
ysirob
  • 29
  • 7
0
votes
1 answer

Does Mail::Box::Manager handle Qmail maildir format?

It's not obvious which format this module supports. No mention of 'qmail' nor 'maildir'. http://search.cpan.org/~markov/Mail-Box-2.120/lib/Mail/Box/Manager.pod It has functions to move between folders, which sounds like maildir, but then it also…
Chloe
  • 25,162
  • 40
  • 190
  • 357
0
votes
1 answer

Qmail. Send email from Maildir\new folder

I have a bunch of emails within .../Maildir/new folder. How to send them via qmail? Also maybe you can advise how to block all emails from specific domain? I've tried to block using control/badmailfrom file, but seems that it doesn't work .*\…
Nick Sinyakov
  • 53
  • 1
  • 8