Questions tagged [maildir]

Maildir is an email storage format where each message is kept in a separate file with a unique name, and each folder is a directory.

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

procmail to deliver mail to 2 maildir locations

Now I am having Postifx --> procmailrc---> maildire---> dovecot and I need to have another maildir in another folder inside /root as a backup at the same time having /$home/maildir ? First and ...
0
votes
1answer
1k views

Extract all messages in a set of maildirs with certain domains in the headers

I have a mailserver (running Exim as MTA/MDA, and Dovecot for IMAP access) with around 50 users, and around 100GB total data (including some huge accounts, some defunct ones, etc). The mail is all ...
1
vote
1answer
255 views

What's the meaning of suffixes that procmail assigns to mail filenames?

I am running a Postfix server and I would like to know the meaning of suffixes that mail filenames have. For instance: 1338839258.Vfe02I2a6f0M572204.example.com:2,S 1338840057.Vfe02I2a6f1M483134....
3
votes
0answers
819 views

Webmail Interface for Direct Access to Maildir Directory (No IMAP, POP3 on Purpose) [closed]

I am using a service providers that allows me to forward email to a shell account. I work/play in a lot of environments where I cannot SSH into the host a lot of the time, and I want to separate out ...
2
votes
1answer
1k views

Using rdiff-backup for incremental backups of large compressed archive files?

I am researching a remote off-site backup strategy. The major limitation is that the upstream pipe is only ~50 kb/s, so with that in mind the incremental backup capabilities using file differentials ...
0
votes
2answers
865 views

Users reporting strange IMAP issues from their mail clients: messages missing, deleted, or moved from folders

The server is a CentOS 5 install running Dovecot for imap access within an office LAN to about 5 computers using Thunderbird. There's only one mailbox, in the Maildir format, and about 20GB in size. ...
2
votes
2answers
1k views

Permissions of Maildir and subdirs (.INBOX.Sent etc)

What should the correct are? Now there is 777 and I know that it's very stupid, but if I ask you before change them to prevent from permission error by time sending/receiving emails. Thank you.
3
votes
1answer
5k views

Postfix not delivering email using Maildir

I've followed this guide to get postfix set up. I've not completed it yet, as from sending test emails, email is no longer being delivered since switching to Maildir from mbox. I have created a ...
2
votes
2answers
4k views

How to create default subfolders using procmail with Maildir (and postfix) that work with MUA's?

I have a procmail setup and want to have a Spam folder that works with MUA's. I found this tutorial http://www.cyberciti.biz/faq/how-do-i-move-spam-mail-to-spam-folder/ but it doesn't work as ...
2
votes
2answers
193 views

removing spam between mail server and client

My postfix was badly configured and let a lot of spam emails through to an account. I've fixed postfix now so it's become a much better spam filter, and almost no new spam is getting through. However, ...
0
votes
1answer
145 views

Filter mail which was delivered to root's inbox

My mailserver was set so that all the mails to info@domain were going to the root Maildir. Now, I'm wondering how could I "filter" these mails out so that I can see which mails were tried to be sent ...
2
votes
1answer
882 views

Migrate Maildir between courier and dovecot servers

I have several tarballs that make up all the previous emails for two or three accounts on a mail server. This machine we be shut down within a few weeks and so I need to migrate all the previously ...
1
vote
3answers
1k views

how to set postfix vmail mailbox permissions to group readable?

Postfix is delivering mail to ~vmail/user/new directories with owner vmail:vmail but permissions masked to 700 (i.e. not group readable.) I need the mailfiles to be created group readable so that ...
2
votes
1answer
2k views

Detecting unreaded mails in Maildir

I like to detect unreaded mails in Maildir mailboxes. The subfolder "new" only content mails that are not already pulled from an MUA. But I want the unreaded mails within INBOX (no virtual subdirs). ...
0
votes
1answer
546 views

Default subfolders for dovecot

For new accounts, dovecot only has a single default folder, the inbox. Is there a way to specify a default set of subfolders, preferably immutable, that exist for each inbox? Ideally, I want each ...
1
vote
1answer
2k views

How to sync Mails from Server to Backup with only the latest Mails remaining on the Server

At the moment i do a simple Mail-Backup: On the server there is a Maildir, and i use rsync to sync the Maildir from server to backup. So i delete on the Server every file which is older than i.e. ...
0
votes
2answers
514 views

Transferring mails and user setting to new mail server

We have a mail server running Debian 5.0. It is one year old now but we want to deploy a new server with Ubuntu Server 10.04. The problem is that we want to transfer all the user mails and settings to ...
3
votes
1answer
350 views

~/Maildir vs /var/mail for e-mail storage

I run a mail server with Exim4 and Dovecot. Currently mail goes to ~/Maildir. However, I am wondering what the relative advantages and disadvantages of storing mail in /var/mail/$user/ is. Is one ...
2
votes
1answer
2k views

Extracting and saving attachments from maildir, deduplicated

I would like to know if there exists a solution for archiving email, stripping out the attachments and saving them separately, deduplicated? The ideal would be a maildir-setup, with a script running ...
6
votes
2answers
14k views

Converting a Maildir to a PST

Does anyone know of any solutions to convert a Maildir to a PST in linux? I'm able to use a program in Windows called Aid4Mail, but that requires me to pull the Maildir down from the server. I've got ...
1
vote
1answer
337 views

Does Dovecot support UIDPLUS (RFC4315)?

I have Dovecot version 1.2.9-1ubuntu6.3 installed on my server (using Maildir+), and I was reading an article on Outlook 2010 that says that Outlook will purge messages immediately if the server ...
2
votes
1answer
579 views

How to create maildir with unix script?

I want to create maildirs with unix script, so question is how to create directory like in this example: example.com/j/o/h/john-2011.04.07.09.35.49/ if i have only three arguments - mailserver (...
9
votes
4answers
6k views

Remove Duplicate Messages from Maildir

I've got a bunch of duplicate messages in my IMAP server's Maildir. What's the best way to remove them? Some relevant points: Shared Message-ID is usually a good enough definition of duplicate. A ...
0
votes
2answers
807 views

How pipe email to PHP with Maildirs

I used to pipe incoming emails using: |/path/to/php/script in .forward file at /home folder. But the actual system I'm working on is based on Maìldir instead MBOX. So that solution does not work. I ...
0
votes
1answer
667 views

Script encrypting Mails on Server [Maildir/GPG]

The idea is to encrypt [cronjob] all mails older than x days with a certain [per user] PGP Key. Mails are stored in Maildir format. Are you guys aware of an existing solution to this? Or maybe ...
0
votes
1answer
914 views

Integrating multiple mailboxes (dovecot, Exim, maildir)

Following an outage, I've ended up with 2 mailboxes for each of my users, on separate machines. I've shut the interim machine down now, and put the mailboxes on the real server in /srv/scratch/$...
0
votes
1answer
1k views

Maildir and mail attachments

If the mail receive with attachments and mail storage in the server - Maildir. How attachment set in Maildir format? For example: I user maildir for incoming message in my server. I got 1 message ...
1
vote
2answers
102 views

Maildir and users

I have pop3 local server. I want to use mail storage - Maildir format. And i have question: Maildir structure: Maildir tmp cur new Is it for one user? If i have 2 users in my pop3 ...
2
votes
2answers
556 views

Best Practice: Migrating Email Boxes (maildir format)

So here's the situation. I've got about 20,000 maildir email accounts chewing up a several hundred GB of space on our email server. Maildir by nature keeps thousands of tiny a****** little files, ...
0
votes
2answers
201 views

Using Maildir as default mailspool

Is it possible to use a Maildir as the mailspool for users on a *nix box? I can get procmail to deliver to a Maildir without any problem, but I want to keep all the nifty features like finger knowing ...
2
votes
7answers
4k views

What file system is better for a Linux mail server?

I have a mail server using maildir format, with about 100GB of data, and several directories have over 20000 files each. I'm currently using ext3, and I noticed that it's a bit slow sometimes. So I'd ...
2
votes
1answer
2k views

Convert outlook PST to IMAP Maildir

I'm currently migrating users from an Exchange to an IMAP Postfix server using Maildir format mailboxes. For now i've been copying mails on outlook from the PST to the new IMAP mailbox, but it's ...
4
votes
1answer
9k views

Move postfix maildir files from one mail server to another

I have a new mail server configured as described in this howto: http://howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu-9.10 I also have an ancient mail server ...
2
votes
2answers
767 views

Error with procmail script to use Maildir format

I have this code in /etc/procmailrc: DROPPRIVS=yes DEFAULT=$HOME/Maildir/ :0 * ? /usr/bin/test -d $DEFAULT || /bin/mkdir $DEFAULT { } :0 E { # Bail out if directory could not be created ...
2
votes
2answers
1k views

Spamassassin one-liner to tag & move mail with an X-Spam-Flag: YES to a new directory?

Say you have a directory with tens of thousands of messages in it. And you want to separate the spam from the non-spam. Specifically, you would like to: Run spamassassin against the directory, ...
2
votes
2answers
789 views

Move 53,800+ files into 54 separate folders with ~1000 files each?

Trying to import 53,800+ individual files (messages) using Gmail's POP fetcher. Gmail understandably refuses, giving the error: "Too many messages to download. There are too many messages on the ...
1
vote
3answers
5k views

Migrating Outlook PSTs -> Maildir via IMAP

Our small shop has been on Exchange since forever (currently on 2003). However, we use a 3rd party managed Exchange provider and set tight limits on how much server-side storage we allow each user. ...
2
votes
1answer
2k views

maildir in Windows for IMAP

I'm interested in accessing my IMAP accounts offline. I found that maildirs are a simple way to make it work. I found that [offlineimap] takes care of almost everything in making the IMAP->maildir ...
7
votes
2answers
11k views

set mutt default Maildir folder

I have recently set up a mail server running postfix as the MTA, and dovecot as the imap/pop3 daemon. Originally, and by default on Debian, it was using the mbox format. For reliability reasons, I ...
0
votes
3answers
16k views

How can I disable drweb update notifications, and why can't ./Maildir be found? [closed]

Recently, I have started receiving the following failure notice from the qmail Mailer Daemon: Hi. This is the qmail-send program at domain I'm afraid I wasn't able to deliver your message to the ...
0
votes
3answers
288 views

LDA for Exim+SA

I have a mail server running Exim and Dovecot, backed by MySQL for virtual users. Spamassassin is configured and seems to be working reasonably, but sending flagged spams to a "spam" dir for the ...
0
votes
2answers
2k views

Decode TNEF / winmail.dat in whole Maildir

because of a transition from MS Exchange to Courier IMAP, all our old mail messages have a winmail.dat attachment, which sometimes contains also the message's original attachments. I am looking for a ...
2
votes
2answers
660 views

Can't sent to Maildir : postfix

I set up /etc/postfix/main.cf smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no append_dot_mydomain = no readme_directory = no smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem ...
3
votes
4answers
3k views

What is the best filesystem for Maildir folders storage? [closed]

Projected volume size is around 1TB,. Filesystem should perform fast when dealing with LOTS of files in every folder. Snapshots support would be great, for backup purpose, but not compulsory. It ...
2
votes
2answers
6k views

postfix maildir with custom path

I need to have postfix store mail in a maildir in /var/mail/<DOMAIN>/<USER>. I've got mail_spool_directory = /var/mail and I'm preparing home_mailbox = but I don't know where to go ...
4
votes
3answers
3k views

How to organise Maildir subdirectories

I have a mailserver: Postfix for transfer Dovecot/IMAP for reading Maildir for storage Thunderbird as main supported client (but of course, I want to be compatible with all) Roundcube for webmail ...