Re: [Dovecot] Are Mail files in /Maildir/cur & /Maildir/.Sent read-only ?

2010-01-26 Thread Noel Butler
On Tue, 2010-01-26 at 14:47 +0200, Timo Sirainen wrote: > > No, file's ctime changes when you change flags. mtime never changes. But > mtime can't really be trusted. An IMAP client can save a new messages > with INTERNALDATE set to 10 years ago, and the file's mtime will be from > 10 years ago.

Re: [Dovecot] Are Mail files in /Maildir/cur & /Maildir/.Sent read-only ?

2010-01-26 Thread Timo Sirainen
On Tue, 2010-01-26 at 13:36 +0100, Johannes Grimm wrote: > Hi, this is a snip from the original > http://wiki.dovecot.org/MailboxFormat/Maildir > > "with maildir the filename changes every time the message's flags > change" > > Only if you "do" something with a mail (like deleting) the

Re: [Dovecot] Are Mail files in /Maildir/cur & /Maildir/.Sent read-only ?

2010-01-26 Thread Johannes Grimm
Hi, this is a snip from the original http://wiki.dovecot.org/MailboxFormat/Maildir "with maildir the filename changes every time the message's flags change" Only if you "do" something with a mail (like deleting) the filename and modified date will change. If you want to delete mails

[Dovecot] Are Mail files in /Maildir/cur & /Maildir/.Sent read-only ?

2010-01-26 Thread CoolAtt NNA
Hi ALL... I want to know if the files in /Maildir/cur & /Maildir/.Sent are modified by dovecot. I have a script which calculates the age of the mail files. I think that if they are continuously modified by dovecot I won't be able to calculate the age of the files. Can Anyone plz advise on thi