CoolAtt NNA
2010-Jan-26 11:58 UTC
[Dovecot] Are Mail files in /Maildir/cur & /Maildir/.Sent read-only ?
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 this.... Thanks CoolAtt _________________________________________________________________ Windows Live: Make it easier for your friends to see what you?re up to on Facebook. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009
Johannes Grimm
2010-Jan-26 12:36 UTC
[Dovecot] Are Mail files in /Maildir/cur & /Maildir/.Sent read-only ?
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 of a certain age you can you use either the Dovecot Xxpunge plugin or a cronjob with a command like: find /home -mtime +30 -name *,ST -exec rm {} \; Am 26.01.2010 12:58, schrieb 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 this.... > > Thanks > CoolAtt > > > _________________________________________________________________ > Windows Live: Make it easier for your friends to see what you?re up to on Facebook. > http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009 >-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5862 bytes Desc: S/MIME Cryptographic Signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20100126/9920e964/attachment-0002.bin>