Georg Lutz writes: 

> Hi Sam, 
> 
> in maildir/maildirpurgetmp.c, function dopurge, the ctime of the files
> is used.  
> 
> Is there a reason not to use mtime?

Yes. 

> Our backup software resets the atime after backup, so everytime the
> backup runs, the ctime changes and things in .Trash/cur never get deleted.

Something is broken.  ctime cannot be changed by merely backing up the file. 

[ ... ] 

      The  field  st_ctime  is  changed by writing or by setting
      inode information (i.e., owner, group, link  count,  mode,
      etc.). 

[ ... ] 

A read-only operation will not affect ctime. 

-- 
Sam 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to