Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » NAMESPACE error
  •  
yokidrink

Messages: 5
Karma: 0
Send a private message to this user
I have a question here about public folderscanning.

Currently i am testing kerio mailserver 6.5 with GFI mail essentials.
I've setup GFI to check the spam and it works quite nicely but I cannot scan the public folders due to the following error i receive:

"The IMAP test failed for the following reason:
Could not connect to <ip address>
NAMESPACE command is not supported or more than one shared namespace is present."

Problem is, i don't know if this error is caused by Kerio mail server (GFI does connect) or the gfi application.

i've just changed debuggin to include imap traffic on the mailserver and this is what i see:

28/Mar/2008 12:24:45][1636] {imaps} User xxx<_a.t_>xxx.xxx logged in
[28/Mar/2008 12:24:45][1636] {imaps} Command x0001 CAPABILITY
[28/Mar/2008 12:24:48][1636] {imaps} Session end while reading line because remote host closed the connection.
[28/Mar/2008 12:24:48][1636] {imaps} Server session end

Anyone has an idea what the cause of this error is?

update:

I've installed wireshark and performed the test (failed) and after that i used the "scan now" option which gave me following result:

236 9.252478 10.10.10.15 10.10.10.16 IMAP Request: x0001 LIST "" *
238 9.273272 10.10.10.16 10.10.10.15 IMAP Response: * LIST () "/" "INBOX"
239 9.273675 10.10.10.15 10.10.10.16 IMAP Request: x0002 CAPABILITY
240 9.274134 10.10.10.16 10.10.10.15 IMAP Response: * CAPABILITY IMAP4 IMAP4rev1 IDLE ACL LITERAL+ UIDPLUS QUOTA ID SORT ANNOTATE ANNOTATEMORE STATUS-COUNTERS UNSELECT LISTEXT STARTTLS AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=NTLM
241 9.274447 10.10.10.15 10.10.10.16 IMAP Request: x0003 LOGOUT

It seems Kerio doesn't support NAMESPACE command so the requesting application terminates the connection.

Is this correct and if so... is there a way around it

[Updated on: Fri, 28 March 2008 18:12]

  •  
yokidrink

Messages: 5
Karma: 0
Send a private message to this user
Does anyone have an idea about this one? Is kerio able to provide namespace commands? I've ran a debug on GFI side and the problem definetley originates from the mail server. Its basically the same issue as with Exchange which doesn't support this either Sad

2008-04-01,15:04:13,359,3,"#00000490","#00000828","info ","RPFolders","PITrail: CAPABILITY[* CAPABILITY IMAP4 IMAP4rev1 IDLE ACL LITERAL+ UIDPLUS QUOTA ID SORT ANNOTATE ANNOTATEMORE STATUS-COUNTERS UNSELECT LISTEXT STARTTLS AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=NTLM]"
2008-04-01,15:04:13,359,3,"#00000490","#00000828","info ","RPFolders","PITrail: CAPABILITY[x0002 OK CAPABILITY completed]"
2008-04-01,15:04:13,359,1,"#00000490","#00000828","error ","RPFolders","ProcessInternal: NAMESPACE command is not supported"
2008-04-01,15:04:13,359,2,"#00000490","#00000828","warning ","RPFolders","ProcessInternal: critical flag is set, processing is disabled"
2008-04-01,15:04:13,359,1,"#00000490","#00000828","error ","RPFolders","Process: ProcessInternal failed[0x80004005]"
2008-04-01,15:04:13,359,3,"#00000490","#00000828","info ","RPFolders","Process: entering wait state...

  •  
scottwilkins

Messages: 654
Karma: 7
Send a private message to this user
This is just a guess, but...

From looking at the RFC: http://www.rfc-editor.org/rfc/rfc2342.txt There appears to be multiple methods for doing NAMESPACE. Kerio's a bit hesitant on supporting public domain features that don't have a solid format. I can't say I blame them on that one either. If a feature works in only 1/2 of the systems, it's not a great feature then.
  •  
yokidrink

Messages: 5
Karma: 0
Send a private message to this user
thanks for that, i'll read the rfc on it.

I did get this interesting bit of info from the gfi forum:

If it keeps failing and you know that your Kerio does support this use of IMAP, maybe you can change the rpfolders Registry set (found under HKEY_LOCAL_MACHINE\SOFTWARE\GFI\ME12\Attendant).
You can create a new key called 'SharedNamespace' (without the quotes) with a Sting that will reflect the SharedNamespace your Kerio server supports.
If the name of the namespace contains non-ASCII characters, it must be encoded in Modified BASE64 as specified in IMAP RFC2060.


question now would be... which format does kerio support as GFI side seems to be flexible on what to send to the mailserver.

well, in order to work with the rfc listed above, the mailserver in question has to support the namespace command, when checking manually:

* OK Kerio MailServer 6.5.0 patch 1 IMAP4rev1 server ready
a01 capability
* CAPABILITY IMAP4 IMAP4rev1 IDLE ACL LITERAL+ UIDPLUS QUOTA ID SORT ANNOTATE AN
NOTATEMORE STATUS-COUNTERS UNSELECT LISTEXT AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN
AUTH=DIGEST-MD5 AUTH=NTLM
a01 OK CAPABILITY completed
a01 namespace
a01 BAD Unknown command 'namespace'

I guess I have to give up then?

[Updated on: Tue, 01 April 2008 16:52]

  •  
yokidrink

Messages: 5
Karma: 0
Send a private message to this user
Does anyone have an idea how kerio supports namespace command? it seems kerio supports the rfc but I cannot find what the syntax of this command would be
  •  
Pavel Dobry (Kerio)

Messages: 5245
Karma: 251
Send a private message to this user
NAMESPACE is an optional IMAP command and IMAP client should not use it if the server does not advertise this keyword in the CAPABILITY response.
  •  
yokidrink

Messages: 5
Karma: 0
Send a private message to this user
ok so basically you are saying it is not possible, at least at this moment. will you support this in the future? it enables the GFI public folder scanning for spam
Previous Topic: Can't view message headers with KOFF
Next Topic: Block Cyrillic spam
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Tue Nov 21 11:19:47 CET 2017

Total time taken to generate the page: 0.00406 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.