On Monday 01 of April 2013 20:06:06 Thibault Le Meur wrote:
> Thanks for the Answer Francis, but m'y question was about the
> IMAPHostFieldName and SieveHostFieldName parameters not the
> SOGoIMAPServer and SOGoSieveServer parameters which are clearly
> explained In the documentation.
>
> Thibault
>
> Envoyé de mon iPad
>
> Le 1 avr. 2013 à 14:13, Francis Lachapelle <flachape...@inverse.ca> a 
écrit :
> > On 2013-03-29, at 12:41 PM, Thibault Le Meur 
<thibault.lem...@supelec.fr> wrote:
> >> Hi,
> >>
> >> I'd like to know if the  IMAPHostFieldName and SieveHostFieldName
> >> parameters can take an URL as their value (instead of simply the DNS
> >> name of the server).
> >>
> >> For instance, do they accept the same syntax as the SOGoIMAPServer
> >> and SOGoSieveServer parameters ? Such as: imaps://localhost:993
> >> sieve://localhost:2000/?tls=YES
> >
> > Page 30 of the installation guide :
> >
> > SOGoIMAPServer
> >  Parameter used to set the DNS name or IP address of the IMAP server
> > used by SOGo. You can also use SSL or TLS by providing a value using
> > an URL, such as : • imaps://localhost:993
> >  • imaps://localhost:143/?tls=YES
> >
> > SOGoSieveServer
> >  Parameter used to set the DNS name or IP address of the Sieve
> > (managesieve) server used by SOGo. You must use an URL such as: •
> > sieve://localhost
> >  • sieve://localhost:2000
> >  • sieve://localhost:2000/?tls=YES
> >  Note that TLS is supported but SSL is not.
> >
> >
> > Francis
> >

Hi Thibault,

Value IMAPHostFieldName and SieveHostFieldName specifies the name of the 
LDAP attribute. LDAP attribute can be either simple hostname (well usable 
mailHost in LDAP), or may contain URI as is described for SOGoIMAPServer 
and SOGoSieveServer, or can be simple hostname that uses the values from​​
SOGoIMAPServer and SOGoSieveServer as templates for building URI.

So if you want to use mailHost from LDAP, but you need the URI (for 
example for imaps, sieve port,...), set the desired format in 
SOGoIMAPServer and SOGoSieveServer (hostname used in 'template' is 
unimportant). And then IMAPHostFieldName and SieveHostFieldName set 
to "mailHost".

Slavek
-- 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to