8 messages in net.sourceforge.lists.courier-usersRe: [courier-users] courier-imap -- s...
FromSent OnAttachments
Chad Leigh -- Shire.Net LLCJan 24, 2007 11:28 pm 
Sergiy ZhukJan 24, 2007 11:38 pm 
Chad Leigh -- Shire.Net LLCJan 25, 2007 12:02 am 
Sergiy ZhukJan 25, 2007 12:26 am 
Chad Leigh -- Shire.Net LLCJan 25, 2007 1:00 am 
Gordon MessmerJan 25, 2007 3:50 am 
Chad Leigh -- Shire.Net LLCJan 25, 2007 12:28 pm 
Michelle KonzackJan 31, 2007 5:24 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] courier-imap -- some accounts on NFS mounted disks getting messed up on expungeActions...
From:Chad Leigh -- Shire.Net LLC (chad@shire.net)
Date:Jan 25, 2007 12:02:28 am
List:net.sourceforge.lists.courier-users

On Jan 25, 2007, at 12:38 AM, Sergiy Zhuk wrote:

hi

On Thu, 25 Jan 2007, Chad Leigh -- Shire.Net LLC wrote:

Sometimes after marking a few mails for delete, I then do an expunge, and then the mail is messed up so that if I click on a message, the wrong mail body shows for that message. My brother reports similar

Did you check if you still have those messages files on the server ?

Ok, thanks for the reply.

This is what happens (at least under Mail.app -- have to get on the phone with my brother and have him run the same test on Thunderbird)

I look at a mail in an affected accounts inbox I find the mail in the maildir cur. I hit the delete key (marks for delete). The mail is still in the maildir but with a T at the end of the file name. Hit the expunge button. The file in the maildir on the server (nfs client) goes away. Then the mail in the client that is after the deleted mail, sometimes starting with the next one, sometimes a few down in the list (ordered by "mail number") and not necessarily the very next one, all seem to shift up by one -- ie, the mail still is in the list but the content, looking at the mail, is off by one,

say I have messages A B C D E F G etc

A B C D E F G

I delete C and expunge

Now it looks like this

A B D E F G

but if I click, say E, it has F's contents, F has Gs contents, and no mail has D's contents that I can see. But the list in the mail client list view is correct.

Like I said, this is on Mail.app. From the descriptions my brother gave for his Thunderbird problems, it sounds like it is the same, but I would have to do some controlled testing to see if his problems follow the exact same pattern or are different.

It seems to be a problem either with your solaris nfs servers or with nfs client caching.

btw, I am mounting

/sbin/mount_nfs -s -i -3 -T solaris-i1:/local/mail/domain1.com/c/ chad /mail/domain1.com/c/chad

And the nfs server has the ZFS option turned on to NOT update the last accessed date for when the file is accessed for reading. Of course the last modified date is still updated when a file is written.

If you've built courier with FAM, try disabling this first just in case.

I did not explicitly turn this on so I assume it is built witthout FAM.

I'm using NetApps as nfs storage with both bsd 4.x and 6.x as clients running courier and everything has been working fine so far.

Do you have any special settings on the NetApps side or on the client nfs side?

Thanks Chad