Thanks everyone, finally got some time to take another look at this.

* Chris G <c...@isbd.net> [110312 13:30]:
> On Fri, Mar 11, 2011 at 02:17:49PM -0600, Derek Martin wrote:
> > On Fri, Mar 11, 2011 at 05:50:34PM +0000, Chris G wrote:
> > > On Tue, Mar 08, 2011 at 02:40:06PM -0800, John Magolske wrote:
> > > > I'd like the original (source) mailboxes to retain their N's, I'm not
> > > > concerned about copying over this to the backup copy.
> > > > 
> > > That's because rsync is changing the *access* time of the 'source'
> > > mailboxes isn't it, I'm not sure you can stop it doing this.
> > 
> > YOU ABSOLUTELY CAN, by using rsync -t as I've said several times now.
> > [...]
> >
> I just did some tests too, rsync doesn't change the access time even
> without using -t as far as I can tell.

Evidentally rsync is changing the access time of my mbox file.
Here, I last browsed the mailbox "somelist" with Mutt at 13:38,
fetched new mail to it at 14:18, and ran rsync around 14:23 :

% ls -lu Mail/List/somelist
-rw------- [...] 2011-03-12 13:38 Mail/List/somelist

(fetch new mail...)

% ls -lc Mail/List/somelist
-rw------- [...] 2011-03-12 14:18 Mail/List/somelist

% ls -lu Mail/List/somelist
-rw------- [...] 2011-03-12 13:38 Mail/List/somelist

% rsync -avt --delete Mail/ /otherharddrive/Mail

% ls -lu Mail/List/somelist
-rw------- [...] 2011-03-12 14:23 Mail/List/somelist

FWIW I have the "relatime" option set in /etc/fstab ...and I didn't
try the chattr commands (not sure if that would help, but good to know
about this utility). However, I did find a solution by searching the
archives of this list a bit more. Adding this to my muttrc:

  set check_mbox_size=yes

Solves the problem entirely.

Regards,

John

-- 
John Magolske
http://B79.net/contact

Reply via email to