Hot answers tagged

10 votes
Accepted

Make consistent copy of maildir

I just read the documentation for Maildir in Dovecot and few other documents about Maildir and Maildir++. I hope that I did not miss anything important. Maildir is designed to work without locks. ...
JojOatXGME's user avatar
9 votes

What are the practical differences between Maildir and Mbox?

To address the specific questions: Is one storage format more scalable than the other? mbox tends to become difficult to manage the bigger it gets. Since it stores everything in one big blob, it ...
thomasrutter's user avatar
  • 2,578
7 votes

Make consistent copy of maildir

An updated answer to this question is to use dovecot's doveadm or dsync command. example: dsync -f -u <user> backup maildir:<backup_location> There is a dovecot-backup shell script which ...
Toushin's user avatar
  • 71
4 votes

Dovecot: is there a way to delete specific email from ALL mailboxes of one domain?

Doveadm can move or expunge mails, offering pretty much all the filters needed for this task. First, try your filters using a read-only command, such as fetch, so you do not move or delete more mail ...
anx's user avatar
  • 9,635
3 votes

Fast way to filter spam messages from maildir?

You may start spamd daemon in "local tests only" mode and test messages using spamc command. It should eliminate huge part of spamassassin initialization e.g. parsing perl and configuration files. ...
AnFi's user avatar
  • 6,278
3 votes

Dovecot: issue with converting mdbox to MailDir

Solution, in my case, was to add separator = / to the inbox namespace as well. For some reason it didn't defaulted to whatever the mailbox format's internal separator was.
JackTheKnife's user avatar
3 votes

Dovecot Sieve doesn't move spam to Junk folder in maildir

The problem was, that Postfix was not configured to deliver via dovecot's LDA, thus sieve never gets called. The appropriate configuration lines in postfix/master.cf smtp inet n - -...
Tibor Nagy's user avatar
2 votes
Accepted

Making sure Postfix MDA and Dovecot IMAP understand mailbox location?

For the above setup to work, the Dovecot dovecot.conf should contain: mail_location=maildir:~ without the /Maildir
user981178's user avatar
2 votes
Accepted

how to set postfix vmail mailbox permissions to group readable?

Firstly, it is a good idea to restate the already existing answer. Postfix does not allow setting mailbox permissions. They are hard coded. The correct solution is always likely do delegate the ...
sampi's user avatar
  • 158
2 votes

Postfix maildir delivery failed - are my mails lost?

It should be in the mail queue Send a simple email # echo "Hello world" | swaks -4 --server smtp.example.net --from [email protected] --to [email protected] --h-Subject "Test message" --body - =...
ALex_hha's user avatar
  • 7,283
2 votes
Accepted

How do I move a Maildir to a subdirectory of another user?

On our IMAP server with Dovecot, I do it like this, to copy a whole Maildir hierarchy into a subfolder of another user's mail box: Define variables so that rest can be copy/pasted olduser=martina ...
mivk's user avatar
  • 4,362
2 votes
Accepted

Mail delivered but not seen in client

I made fool of myself by posting this ... still learning :D ... This has been fixed, there were may issues with the above config: the dynamic uid/gid provided by AD screwed everything (had to ...
Ants0's user avatar
  • 41
2 votes

Postfix Maildir virtual_mailbox_maps and virtual_alias_maps with multiple entries

It looks like virtual_alias_maps might be the answer after all. You just have to specify it like this in the virtual_alias_maps: [email protected] [email protected], [email protected] Of ...
John Wilcox's user avatar
1 vote

MDA broken pipe with fetchmail / dovecot

It turns out that the line mda "/usr/lib/dovecot/deliver -d user@localhost -m .fastmail.Archive" Doesn't work. When I removed @localhost, and fixed the folder name, it works: mda &...
b20000's user avatar
  • 121
1 vote
Accepted

Making Alpine work all the way with Maildir

This is the correct setting: folder-collections="Anything you want" #mc/INBOX.[] This suggestion is found near the bottom of the patch. Why it's not explained in the above webpage is a bit ...
Frotz's user avatar
  • 131
1 vote

Copy emails to another domain on the same VPS

This can't be answered definitively unless specifics of your servers are known. Certainly it is likely to be possible if you are using something that writes in maildir format (1 file/email) - and you ...
davidgo's user avatar
  • 6,292
1 vote

I use postfix, why does my Maildir contain 14,000 files?

First of all, Postfix has nothing to do with this as it is a mail transport agent, and messages already delivered to Maildir are retrieved and handled by mail user agent (e.g. Thunderbird) most likely ...
Esa Jokinen's user avatar
  • 49.4k
1 vote

Dovecot and lz4: unknown handler

Dovecot added support for lz4 compression in v2.2.11. Ubuntu 14.04's version is v2.2.9. https://www.dovecot.org/list/dovecot-news/2014-February/000269.html
GDorn's user avatar
  • 121
1 vote

Postfix with Maildir and popper as pop3 server

QPopper doesn't support maildir. Also, it is no longer maintained and should not be used anymore. Other, much better options exist (e.g. dovecot).
Sven's user avatar
  • 99.3k
1 vote
Accepted

Postfix with Maildir and popper as pop3 server

I think you may need to use a different POP3 server such as Courier or Dovecot. I can't find any information online about popper supporting anything other than the basic single file format. In fact I'...
USD Matt's user avatar
  • 5,411
1 vote
Accepted

Some IMAP folders not showing in Roundcube after email server migration

Turns out that Roundcube does not subscribe to all IMAP folders by default. Simply resubscribing to the folder from roundcube fixed the issue.
duck degen's user avatar
1 vote
Accepted

Migrate Dovecot 0.99 to Dovecot 2.x and preserve POP UIDs

OK I figured out how to do this. Here's the answer, for anyone who may find it helpful. This is a high-level overview. Let me know if you have questions about the details of any particular step. ...
Ryan Griggs's user avatar
  • 1,013
1 vote

Postfix maildir delivery failed - are my mails lost?

TLDR: By default behaviour of postfix, your email was bounced (i.e. your sender will get non-delivery message) and postfix won't keep the email even in the queue. Based on both logs from mercury and ...
masegaloeh's user avatar
  • 18.3k
1 vote

What are the practical differences between Maildir and Mbox?

The main disadvantage I have run into with the maildir format is file store space used. Depending on the filesystem, each file is allocated space by blocks with a fixed number bytes per block. ...
Scott's user avatar
  • 11
1 vote

Remove Duplicate Messages from Maildir

If you use Dovecot for IMAP access, you can use the following command: doveadm deduplicate -u [email protected] mailbox INBOX to remove duplicates from your INBOX folder. As Dustwolf commented, if ...
Gabriel Hautclocq's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible