I'm cleaning up some old Maildir folders, and finding messages with names like:
1095812260.M625118P61205V0300FF04I002DC537_0.redoak.cise.ufl.edu,S=2576:2,ST
They don't show up in my IMAP client, so I presume there's some semaphore indicating the message already got moved somewhere else. Is that the case, and can the files be deleted wi...
Hello,
I have the followign bash script to update mtimes for maildir files:
#!/bin/bash
for i in /test/emailfile
do
date=$(sed -n '/Received: from/ { :a; n; /;/ {s/.*; //p;q}; b a }' "$i")
newdate=$(date -d "$date" +'%Y%m%d%H%M.%S')
touch -t "$newdate" "$i"
done
This script has always worked fine, with standard headers ...
I recently asked this question and worked out that the reason a single email message is displaying out of order is not in fact because of the date, but because of the order of the messages. I would like to modify my script to make sure all messages are in the correct order, but am unsure how to do this. Is it just based on the order in w...
Hi, Im changing hosts and i need to convert my maildir accounts on my old server to mbox on my new server.
Any ideas on the best way to do this?
I found this:
for i in new/* cur/*;do formail <”$i” >> ../mbox;done
But i dont really understand it. I have a basic knowledge of linux and I have root access to my server via ssh.
most of t...
I am using offlineimap to sync my gmail account to a locak maildir, then using gnus to read that directory everything is fine but gnus uses its own flags for marking read unread status of messages and they are not synced back to gmail. is there a way to force gnus to use standart maildir flags?
...
I have a mail dir:
foo@foo:~/Maildir$ ls -l
total 288
drwx------ 2 foo foo 155648 2010-04-19 15:19 cur
-rw------- 1 foo foo 440 2010-03-20 08:50 dovecot.index.log
-rw------- 1 foo foo 112 2010-03-20 08:49 dovecot-uidlist
-rw------- 1 foo foo 8 2010-03-20 08:49 dovecot-uidvalidity
-rw------- 1 foo foo 0 2010-03-20 08:49 d...
I am using PHP's IMAP functions to parse mail in a POP3 mailbox, parsing out the attachments. After reading the attachments, I need to move the file to another mailbox. Since POP3 mailboxes don't support imap_mail_move, I'm having to come up with another solution.
Well, my mail is in MailDir format so I know I can get to the actual mail...
I'm using the Perl module Mail::Box::Manager to read messages from a Maildir and move them into another directory. Once the script has finishing processing the mail messages in the Maildir it appears to also remove the cur/ and new/ Maildir directories and the Maildir files/directories need to be recreated.
I don't want the script remo...