IMAP Bug?
IMAP Bug?
Hi,
I've got IMAP setup and two people accessed the same mail box at the same time (I thought this was ok?).
The second one got a load of error messages about uid's (see screenshots).
It doesn't seem to be very easy to replicate (so don't know what caused it) ... but it's a bit worrying ... something up with the server / database???
Any ideas? (even if its just - you're not supposed to do that with IMAP!). Been running with IMAP for a while and it's been ok until two different machines connected at the same time to the same mailbox (never had a problem when webmail does this though).
hMail = 5.1.2-B346
Client = Outlook 2007
Thanks!
S.
I've got IMAP setup and two people accessed the same mail box at the same time (I thought this was ok?).
The second one got a load of error messages about uid's (see screenshots).
It doesn't seem to be very easy to replicate (so don't know what caused it) ... but it's a bit worrying ... something up with the server / database???
Any ideas? (even if its just - you're not supposed to do that with IMAP!). Been running with IMAP for a while and it's been ok until two different machines connected at the same time to the same mailbox (never had a problem when webmail does this though).
hMail = 5.1.2-B346
Client = Outlook 2007
Thanks!
S.
Re: IMAP Bug?
Did you have any logging enabled?
If at first you don't succeed, bomb disposal probably isn't for you! ヅ
Re: IMAP Bug?
no 
it all seems happy at the moment ... cant get it to do it again .. just a bit twitched about what happened behind the scenes / if its anything to worry about or one of those things that you just sorta shrug at ...
S.

it all seems happy at the moment ... cant get it to do it again .. just a bit twitched about what happened behind the scenes / if its anything to worry about or one of those things that you just sorta shrug at ...
S.
Re: IMAP Bug?
Well me I'd shrug at it, lifes to short to lose any sleep over it
Just keep logging enabled for a while and post back if it happens again. We would just be guessing without logs.

If at first you don't succeed, bomb disposal probably isn't for you! ヅ
Re: IMAP Bug?
yeah I know ... (wish I had a quid for everytime that was said on here! ... lol) ... was just a bit weird. Best I could do was the outlook codesWe would just be guessing without logs.

all seems well anyway ...
'zzzzzzzzzzzzz' .. sleep catchup

Cheers
S.
Re: IMAP Bug?
Outlook keeps persistent connection to your IMAP service and might have UID issues on hMailServer when same account is accessed by two or more clients. Webmail does not have such issues, because webmail connections are not persistent.sheffters wrote:Hi,
I've got IMAP setup and two people accessed the same mail box at the same time (I thought this was ok?).
The second one got a load of error messages about uid's (see screenshots).
It doesn't seem to be very easy to replicate (so don't know what caused it) ... but it's a bit worrying ... something up with the server / database???
Any ideas? (even if its just - you're not supposed to do that with IMAP!). Been running with IMAP for a while and it's been ok until two different machines connected at the same time to the same mailbox (never had a problem when webmail does this though).
looks like microsoft interpretation of IMAP RFC differs from hmailserver interpretation of same docs.
Re: IMAP Bug?
ah .. thanks 

Re: IMAP Bug?
It might be hMailServer or Outlook bug. We'll never know, if we can't reproduce it and microsoft does not explain which error triggers this message. hMailServer might be handing unique ids incorrectly between two concurrent sessions or microsoft might be ignoring some parts of rfc and then complaining when others use those rfc features.sheffters wrote:ah .. thanks
Re: IMAP Bug?
It keeps doing it every now and again ... will put some logging on tomorrow and see.
S.
S.
Re: IMAP Bug?
the IMAP onversation log when this happens ...
"IMAPD" 2344 4018 "2009-09-16 11:54:07.437" "94.171.161.187" "SENT: * 168 EXISTS"
"IMAPD" 2344 4018 "2009-09-16 11:54:07.437" "94.171.161.187" "SENT: * 1 RECENT"
"IMAPD" 2344 4075 "2009-09-16 11:54:07.437" "94.171.161.187" "SENT: * 168 EXISTS"
"IMAPD" 2344 4075 "2009-09-16 11:54:07.437" "94.171.161.187" "SENT: * 1 RECENT"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.453" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.453" "94.171.161.187" "SENT: e7r8 OK IDLE terminated"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.687" "94.171.161.187" "RECEIVED: 6px8 FETCH 168 (UID)"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.687" "94.171.161.187" "SENT: * 168 FETCH (UID 59711)"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.687" "94.171.161.187" "SENT: 6px8 OK FETCH completed"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.921" "94.171.161.187" "RECEIVED: 9fgf UID FETCH 59698:59711 (UID FLAGS RFC822.SIZE BODY.PEEK[HEADER] INTERNALDATE)"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.921" "94.171.161.187" "SENT: * 168 FETCH (UID 59711 RFC822.SIZE 1189 FLAGS () INTERNALDATE "16-Sep-2009 11:54:05 +0100" BODY[HEADER] {718}"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.921" "94.171.161.187" "SENT: )"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.921" "94.171.161.187" "SENT: 9fgf OK UID completed"
"IMAPD" 2420 4075 "2009-09-16 11:54:08.156" "94.171.161.187" "RECEIVED: hv6a IDLE"
"IMAPD" 2420 4075 "2009-09-16 11:54:08.156" "94.171.161.187" "SENT: + idling"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.703" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.703" "94.171.161.187" "SENT: hv6a OK IDLE terminated"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.718" "94.171.161.187" "RECEIVED: 7d7o UID FETCH 59711 (UID FLAGS BODY.PEEK[])"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.718" "94.171.161.187" "SENT: * 168 FETCH (UID 59711 FLAGS () BODY[] {1223}"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.718" "94.171.161.187" "SENT: )"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.718" "94.171.161.187" "SENT: 7d7o OK UID completed"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.953" "94.171.161.187" "RECEIVED: 8q3k IDLE"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.953" "94.171.161.187" "SENT: + idling"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.234" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.234" "94.171.161.187" "SENT: 8q3k OK IDLE terminated"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.250" "94.171.161.187" "RECEIVED: zaiw UID STORE 59711 +FLAGS (\Seen)"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.281" "94.171.161.187" "SENT: * 168 FETCH (FLAGS (\Seen) UID 59711)"
"IMAPD" 2420 4018 "2009-09-16 11:54:15.281" "94.171.161.187" "SENT: * 168 FETCH (FLAGS (\Seen) UID 59711)"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.281" "94.171.161.187" "SENT: zaiw OK UID completed"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.515" "94.171.161.187" "RECEIVED: wjo6 IDLE"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.515" "94.171.161.187" "SENT: + idling"
"IMAPD" 2380 4103 "2009-09-16 11:54:33.406" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2380 4103 "2009-09-16 11:54:33.406" "94.171.161.187" "SENT: h6u0 OK IDLE terminated"
"IMAPD" 2400 4101 "2009-09-16 11:54:33.421" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2380 4103 "2009-09-16 11:54:33.421" "94.171.161.187" "RECEIVED: 9cx4 LOGOUT"
"IMAPD" 2400 4101 "2009-09-16 11:54:33.421" "94.171.161.187" "SENT: mxak OK IDLE terminated"
"IMAPD" 2380 4103 "2009-09-16 11:54:33.421" "94.171.161.187" "SENT: * BYE Have a nice day[nl]9cx4 OK Logout completed"
"IMAPD" 2380 4102 "2009-09-16 11:54:33.437" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2400 4101 "2009-09-16 11:54:33.437" "94.171.161.187" "RECEIVED: q761 LOGOUT"
"IMAPD" 2380 4102 "2009-09-16 11:54:33.437" "94.171.161.187" "SENT: yxjg OK IDLE terminated"
"IMAPD" 2400 4101 "2009-09-16 11:54:33.437" "94.171.161.187" "SENT: * BYE Have a nice day[nl]q761 OK Logout completed"
"IMAPD" 2380 4100 "2009-09-16 11:54:33.453" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2380 4100 "2009-09-16 11:54:33.453" "94.171.161.187" "SENT: msgb OK IDLE terminated"
"IMAPD" 2380 4102 "2009-09-16 11:54:33.453" "94.171.161.187" "RECEIVED: t4fv LOGOUT"
"IMAPD" 2380 4102 "2009-09-16 11:54:33.453" "94.171.161.187" "SENT: * BYE Have a nice day[nl]t4fv OK Logout completed"
"IMAPD" 2380 4100 "2009-09-16 11:54:33.468" "94.171.161.187" "RECEIVED: 8uxw LOGOUT"
"IMAPD" 2380 4100 "2009-09-16 11:54:33.468" "94.171.161.187" "SENT: * BYE Have a nice day[nl]8uxw OK Logout completed"
I've attached all mornings convo from 10ish if its any use ...
S.
"IMAPD" 2344 4018 "2009-09-16 11:54:07.437" "94.171.161.187" "SENT: * 168 EXISTS"
"IMAPD" 2344 4018 "2009-09-16 11:54:07.437" "94.171.161.187" "SENT: * 1 RECENT"
"IMAPD" 2344 4075 "2009-09-16 11:54:07.437" "94.171.161.187" "SENT: * 168 EXISTS"
"IMAPD" 2344 4075 "2009-09-16 11:54:07.437" "94.171.161.187" "SENT: * 1 RECENT"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.453" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.453" "94.171.161.187" "SENT: e7r8 OK IDLE terminated"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.687" "94.171.161.187" "RECEIVED: 6px8 FETCH 168 (UID)"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.687" "94.171.161.187" "SENT: * 168 FETCH (UID 59711)"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.687" "94.171.161.187" "SENT: 6px8 OK FETCH completed"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.921" "94.171.161.187" "RECEIVED: 9fgf UID FETCH 59698:59711 (UID FLAGS RFC822.SIZE BODY.PEEK[HEADER] INTERNALDATE)"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.921" "94.171.161.187" "SENT: * 168 FETCH (UID 59711 RFC822.SIZE 1189 FLAGS () INTERNALDATE "16-Sep-2009 11:54:05 +0100" BODY[HEADER] {718}"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.921" "94.171.161.187" "SENT: )"
"IMAPD" 2420 4075 "2009-09-16 11:54:07.921" "94.171.161.187" "SENT: 9fgf OK UID completed"
"IMAPD" 2420 4075 "2009-09-16 11:54:08.156" "94.171.161.187" "RECEIVED: hv6a IDLE"
"IMAPD" 2420 4075 "2009-09-16 11:54:08.156" "94.171.161.187" "SENT: + idling"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.703" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.703" "94.171.161.187" "SENT: hv6a OK IDLE terminated"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.718" "94.171.161.187" "RECEIVED: 7d7o UID FETCH 59711 (UID FLAGS BODY.PEEK[])"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.718" "94.171.161.187" "SENT: * 168 FETCH (UID 59711 FLAGS () BODY[] {1223}"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.718" "94.171.161.187" "SENT: )"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.718" "94.171.161.187" "SENT: 7d7o OK UID completed"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.953" "94.171.161.187" "RECEIVED: 8q3k IDLE"
"IMAPD" 2420 4075 "2009-09-16 11:54:11.953" "94.171.161.187" "SENT: + idling"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.234" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.234" "94.171.161.187" "SENT: 8q3k OK IDLE terminated"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.250" "94.171.161.187" "RECEIVED: zaiw UID STORE 59711 +FLAGS (\Seen)"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.281" "94.171.161.187" "SENT: * 168 FETCH (FLAGS (\Seen) UID 59711)"
"IMAPD" 2420 4018 "2009-09-16 11:54:15.281" "94.171.161.187" "SENT: * 168 FETCH (FLAGS (\Seen) UID 59711)"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.281" "94.171.161.187" "SENT: zaiw OK UID completed"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.515" "94.171.161.187" "RECEIVED: wjo6 IDLE"
"IMAPD" 2420 4075 "2009-09-16 11:54:15.515" "94.171.161.187" "SENT: + idling"
"IMAPD" 2380 4103 "2009-09-16 11:54:33.406" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2380 4103 "2009-09-16 11:54:33.406" "94.171.161.187" "SENT: h6u0 OK IDLE terminated"
"IMAPD" 2400 4101 "2009-09-16 11:54:33.421" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2380 4103 "2009-09-16 11:54:33.421" "94.171.161.187" "RECEIVED: 9cx4 LOGOUT"
"IMAPD" 2400 4101 "2009-09-16 11:54:33.421" "94.171.161.187" "SENT: mxak OK IDLE terminated"
"IMAPD" 2380 4103 "2009-09-16 11:54:33.421" "94.171.161.187" "SENT: * BYE Have a nice day[nl]9cx4 OK Logout completed"
"IMAPD" 2380 4102 "2009-09-16 11:54:33.437" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2400 4101 "2009-09-16 11:54:33.437" "94.171.161.187" "RECEIVED: q761 LOGOUT"
"IMAPD" 2380 4102 "2009-09-16 11:54:33.437" "94.171.161.187" "SENT: yxjg OK IDLE terminated"
"IMAPD" 2400 4101 "2009-09-16 11:54:33.437" "94.171.161.187" "SENT: * BYE Have a nice day[nl]q761 OK Logout completed"
"IMAPD" 2380 4100 "2009-09-16 11:54:33.453" "94.171.161.187" "RECEIVED: DONE"
"IMAPD" 2380 4100 "2009-09-16 11:54:33.453" "94.171.161.187" "SENT: msgb OK IDLE terminated"
"IMAPD" 2380 4102 "2009-09-16 11:54:33.453" "94.171.161.187" "RECEIVED: t4fv LOGOUT"
"IMAPD" 2380 4102 "2009-09-16 11:54:33.453" "94.171.161.187" "SENT: * BYE Have a nice day[nl]t4fv OK Logout completed"
"IMAPD" 2380 4100 "2009-09-16 11:54:33.468" "94.171.161.187" "RECEIVED: 8uxw LOGOUT"
"IMAPD" 2380 4100 "2009-09-16 11:54:33.468" "94.171.161.187" "SENT: * BYE Have a nice day[nl]8uxw OK Logout completed"
I've attached all mornings convo from 10ish if its any use ...
S.
- Attachments
-
- imap-16_09_2009.zip
- (92.1 KiB) Downloaded 156 times
Re: IMAP Bug?
> It keeps doing it every now and again
Which message did the problem occur with when you got it during that log session? Was it 59246 or 59236?
I would need to take that ID and check whenever hMailServer sends it to Outlook and see if I can figure out what's confusing Outlook.
The error message claims that hMailServer reported an UID which didn't comply with the RFC's. The UID shown in the error message does comply with the RFC's (numerical integer) so I assume the problem is that Outlook thinks that something hMailServer does related to UID's aren't done properly.
Which message did the problem occur with when you got it during that log session? Was it 59246 or 59236?
I would need to take that ID and check whenever hMailServer sends it to Outlook and see if I can figure out what's confusing Outlook.
The error message claims that hMailServer reported an UID which didn't comply with the RFC's. The UID shown in the error message does comply with the RFC's (numerical integer) so I assume the problem is that Outlook thinks that something hMailServer does related to UID's aren't done properly.
Re: IMAP Bug?
I didnt grab the UID (forgot) ... I'll leave the logging on and repost with screenshots next time it happens.
Cheers
S.
Cheers
S.
Re: IMAP Bug?
done it again ... so here we are! (didnt get the imap complaince error this time, just a uid error one)
logs have ... attached file is last hours worth of convos ...
error was ~1710 server time.
Thanks
S.
logs have ... attached file is last hours worth of convos ...
error was ~1710 server time.
Thanks
S.
- Attachments
-
- im-hour-log.zip
- (67.27 KiB) Downloaded 173 times
Re: IMAP Bug?
elo,
sorry to be a pain ... but this is still happpening ... any idea how to fix etc?
thanks
S.
sorry to be a pain ... but this is still happpening ... any idea how to fix etc?
thanks
S.
Re: IMAP Bug?
Try an upgrade to the latest stable release of hmailserver 5.3-B1617, and see if the problem persists.
http://download.hmailserver.com/hMailSe ... -B1617.exe
http://download.hmailserver.com/hMailSe ... -B1617.exe
Re: IMAP Bug?
Hi,
I'm on that for the last few days ... same prob
... was hoping it might have fixed it too.
Cheers
S.
I'm on that for the last few days ... same prob

Cheers
S.
Re: IMAP Bug?
sheffters -- I don't use Outlook but I find your problem distressing so I tried to google on the issue. It seems you are not alone with this problem and that it is not a server issue but an add-in issue. Below is a link that might be a good start for you. Good Luck...
http://www.microsoft.com/communities/ne ... &sloc=&p=1
http://www.microsoft.com/communities/ne ... &sloc=&p=1
hMS: 5.2.1-B361 | DB: Internal MySQL from hMS 4.4 | OS: W2K3 1Gb VM
Re: IMAP Bug?
Hi,
Thanks for that link.
*bases head against wall for not googlin properly myself*
I use Norton ... will disable it and see how it goes!
Thanks a lot
S.
Thanks for that link.
*bases head against wall for not googlin properly myself*
I use Norton ... will disable it and see how it goes!
Thanks a lot
S.
Re: IMAP Bug?
sheffters wrote:I use Norton

If at first you don't succeed, bomb disposal probably isn't for you! ヅ
Re: IMAP Bug?
I know ... epic fail ... latest one is much better than the original 360's though ... apart from IMAP obviously.
Tried Comodo for a bit till there update thing got jammed on all my pcs and set CPU to 100% ... known bug with there update process ... but less than helpful having to uninstall, reinstall and then hope it gets a different update.
Used a few others too ... with variable results.
Ended up back on Norton ... now hunting for something else to use!
Problem is there isn't really one without a problem of some sort or other.
S.
Tried Comodo for a bit till there update thing got jammed on all my pcs and set CPU to 100% ... known bug with there update process ... but less than helpful having to uninstall, reinstall and then hope it gets a different update.
Used a few others too ... with variable results.
Ended up back on Norton ... now hunting for something else to use!
Problem is there isn't really one without a problem of some sort or other.
S.
Re: IMAP Bug?
I'm using http://www.tallemu.com/ For the free Firewall and http://www.cloudantivirus.com/ for AV
I got fed up of these all in one jobbies breaking. I had the same issue with Comodo and AVG is just useless at the moment.
I got fed up of these all in one jobbies breaking. I had the same issue with Comodo and AVG is just useless at the moment.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ
Re: IMAP Bug?
We get this all the time (and always have done with Outlook) even on a vanilla install. It appears that deleting a message can cause the UIDs of other messages to change?
Re: IMAP Bug?
I think it happens when theres 2 machines in the same mail box and one of them deletes a message ... sometimes the UID changes sometimes it doesn't.
Don't know why the UID would change though ... presumably thats dealt with on the server???
Cheers
S.
Don't know why the UID would change though ... presumably thats dealt with on the server???
Cheers
S.
Re: IMAP Bug?
Wasn't it because hMail creates a new copy of the email when it moves it around?
If at first you don't succeed, bomb disposal probably isn't for you! ヅ
Re: IMAP Bug?
Server informs client about changed UIDs. They only have to check UIDVALIDATY.sheffters wrote:I think it happens when theres 2 machines in the same mail box and one of them deletes a message ... sometimes the UID changes sometimes it doesn't.
Don't know why the UID would change though ... presumably thats dealt with on the server???
Could you try turning off IMAP IDLE support?
Re: IMAP Bug?
It's deleted though not moved ... at least thats when I've noticed it recently.^DooM^ wrote:Wasn't it because hMail creates a new copy of the email when it moves it around?
I'll give it a go and let you know.Could you try turning off IMAP IDLE support?
Thanks!
S.
Re: IMAP Bug?
You mean it's moved to the deleted folder before the expunge command is used.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ
Re: IMAP Bug?
@ doom ... ah 
@ dzekas ... still does it with IDLE disabled.
Will try using thunderbird or summat and see if it still happens.
S.

@ dzekas ... still does it with IDLE disabled.
Will try using thunderbird or summat and see if it still happens.
S.
Re: IMAP Bug?
any news?
i'm using tbird since long time.. so cant help with oe..
i'm using tbird since long time.. so cant help with oe..
Re: IMAP Bug?
elo,
Sorry ... forgot about this one!
Its an outlook problem ... works fine with norton + thunderbird ... but as soon as outlook connects at the same time it goes mental ... even if the other client is thunderbird (i.e. outlook + thunderbird connected at the same time) ...
went crazy, but don't now if thats because thunderbird did a full sync or not.
Basically, it comes down to Outlook being shite at IMAP no matter what else is running / connected, it cant handle more than 1 connection at once ... which kinda defeats the point of imap (or at least what im using it for!).
Cheers
S.
Sorry ... forgot about this one!
Its an outlook problem ... works fine with norton + thunderbird ... but as soon as outlook connects at the same time it goes mental ... even if the other client is thunderbird (i.e. outlook + thunderbird connected at the same time) ...
went crazy, but don't now if thats because thunderbird did a full sync or not.
Basically, it comes down to Outlook being shite at IMAP no matter what else is running / connected, it cant handle more than 1 connection at once ... which kinda defeats the point of imap (or at least what im using it for!).
Cheers
S.