[SOGo] Problems with virtual users in IMAP web client

Sauro Saltini sogo@opengroupware.org
Thu, 07 Feb 2008 13:11:36 +0100


No, I haven't received any answer at the moment.
I'm going to try to investigate the problem directly in the source code.
As I can see it seems that the "URL" used to connect to IMAP server is 
managed by SOPE functions.
The simplest (and probably best) solution could be changing the 
splitting algorithm to consider the last "@" character (and not the 
first one !) while doing the split of username@server.
I'll post any news in this list... hoping my little knowledge of 
objective-c will suffice.

Bye.

Steven Ingram ha scritto:
> Sauro-
>
> Did you ever receive/find an answer for this? I'm having the same 
> difficulty. Thunderbird is smart enough to figure it out, but SOGo is 
> apparently having difficulty. I'm expecting/hoping that there is a 
> setting for .GNUstepDefaults that will adjust this behavior.
>
> Steve
>
> Sauro Saltini wrote:
>> Hi, I've installed SOGo with Cyrus IMAP and OpenLDAP whith Cyrus 
>> virtual domains, this way the IMAP username is the full mail address 
>> : "user@domain.tld".
>>
>> I can succesfully login to SOGo with such usernames, but when I try 
>> to access the webmail interface SOGo can't connect to IMAP server.
>>
>> Looking at the logs I can see errors related to the processing of 
>> IMAP4 URL: the hostpart contains invalid characters.
>>
>> Using "user@domain.tld" as username obiouvsly leads to an imap URL 
>> like "user@domain.tld@imap.server.com" and probably this URL is 
>> uncorrectly interpreted as username=user, 
>> hostname=domain.tld@imap.server.com leading to invalid characters (@) 
>> in hostname.
>>
>> Many thanks in advance for any hints on how to solve this issue.
>>
>> Sauro Saltini.
>>