[Dovecot] Problems with registering new emails - imap/jfs/maildir
After changing a mailserver from using mbox/ext3 (RHL9) to Maildir/jfs (RHEL 3), dovecot 0.99.10 no longer reports new email even if asked... I have to restart the mail client and do a fresh login to notice new email.
This happens with multiple mail clients on multiple platforms, and didn't happen before the conversion... any suggestions on workarounds?
-- Trond Eivind Glomsrød Senior Software Engineer Scali - www.scali.com High Performance Clustering
On 24.8.2004, at 20:44, Trond Eivind Glomsrød wrote:
After changing a mailserver from using mbox/ext3 (RHL9) to Maildir/jfs (RHEL 3), dovecot 0.99.10 no longer reports new email even if asked... I have to restart the mail client and do a fresh login to notice new email.
This happens with multiple mail clients on multiple platforms, and didn't happen before the conversion... any suggestions on workarounds?
Sounds pretty strange. How about if you switch from INBOX to another folder and back, does it show then new mails? Nothing in log files? Do the files get moved from new/ directory to cur/ even while client doesn't see them?
Timo Sirainen wrote:
On 24.8.2004, at 20:44, Trond Eivind Glomsrød wrote:
After changing a mailserver from using mbox/ext3 (RHL9) to Maildir/jfs (RHEL 3), dovecot 0.99.10 no longer reports new email even if asked... I have to restart the mail client and do a fresh login to notice new email.
This happens with multiple mail clients on multiple platforms, and didn't happen before the conversion... any suggestions on workarounds?
Sounds pretty strange. How about if you switch from INBOX to another folder and back, does it show then new mails?
No.
Nothing in log files?
Nothing.
Do the files get moved from new/ directory to cur/ even while client doesn't see them ?
No, they stay in new/ until the mail client is restarted.
-- Trond Eivind Glomsrød Senior Software Engineer Scali - www.scali.com High Performance Clustering
On 25.8.2004, at 16:03, Trond Eivind Glomsrød wrote:
Sounds pretty strange. How about if you switch from INBOX to another folder and back, does it show then new mails?
No.
I can't really think of anything that could cause the problem if that doesn't work, but restarting connection works. Except if the first connection got stuck somehow, but I guess it still worked except for not showing new mails?
Could you look at what the client and Dovecot talks to eachothers? http://dovecot.org/bugreport.html#sniffing
Timo Sirainen wrote:
On 25.8.2004, at 16:03, Trond Eivind Glomsrød wrote:
Sounds pretty strange. How about if you switch from INBOX to another folder and back, does it show then new mails?
No.
I can't really think of anything that could cause the problem if that doesn't work, but restarting connection works. Except if the first connection got stuck somehow, but I guess it still worked except for not showing new mails?
Could you look at what the client and Dovecot talks to eachothers? http://dovecot.org/bugreport.html#sniffin g
No, they talk fine... it worked before we converted to maildirs and nfs.
Closer checking shows that it works with ext3 and reiserfs, but not with jfs.
Either there's a bug in the filesystem, or dovecot does an invalid assumption... no idea of which.
-- Trond Eivind Glomsrød Senior Software Engineer Scali - www.scali.com High Performance Clustering
On 26.8.2004, at 23:23, Trond Eivind Glomsrød wrote:
Closer checking shows that it works with ext3 and reiserfs, but not with jfs. Either there's a bug in the filesystem, or dovecot does an invalid assumption... no idea of which.
The strange thing is that it works after reconnecting. I don't see what the difference is between reconnecting and reselecting mailbox. If it never worked it would be clear that the problem is with Dovecot. I think there has been problems with Reiser as well, so it's well possible that Dovecot assumes something wrong. I guess I should try creating reiser/jfs partitions myself and see how they work.
Timo Sirainen wrote:
On 26.8.2004, at 23:23, Trond Eivind Glomsrød wrote:
Closer checking shows that it works with ext3 and reiserfs, but not with jfs. Either there's a bug in the filesystem, or dovecot does an invalid assumption... no idea of which.
The strange thing is that it works after reconnecting. I don't see what the difference is between reconnecting and reselecting mailbox. If it never worked it would be clear that the problem is with Dovecot. I think there has been problems with Reiser as well, so it's well possible that Dovecot assumes something wrong. I guess I should try creating reiser/jfs partitions myself and see how they work.
I converted the partitions to reiserfs, and just as on the test system, that solved the problem. When reconnecting (quitting the application and restarting it), it should connect to a new instance as opposed to keeping an open one... maybe some optimization is different when checking for additions as opposed to opening it for the first time?
participants (2)
-
Timo Sirainen
-
Trond Eivind Glomsrød