[Kolab-devel] Specify Kolab IP address

Gunnar Wrobel wrobel at pardus.de
Wed Apr 16 09:33:51 CEST 2008


"Andrew J. Kopciuch" <akopciuch at bddf.ca> writes:

> On April 14, 2008, Stuart McCulloch Anderson wrote:
>> Afternoon guys, I need a little advice for configuring Kolab.
>> It has recently come up that our network operator requires Kolab to only
>> listen for pop3(s) and imap(s) connection on one of our four IP addresses.
>> I cant seem to find a way to set it up.
>>
>> Can anyone please offer me any guidance or support?
>>
>
> It appears this is not as trivial as one would expect.  :(
>
> the proper configuration for this should go in cyrus.conf  
> (/kolab/etc/kolab/templates/cyrus.conf.template).  in the SERVICES {} 
> section.
>
> however ... those services are written based on whether you have the service 
> turned on or off.   and the SERVICE entry seems to be hard coded within the 
> PERL Kolab::Conf library.  /kolab/lib/perl/vendor_perl/5.X.x/Kolab/Conf.pm
>
> I did some experimenting, and adding additional options after the 
> @@@cyrus-pop3s@@@ seems to get left out.   I do not know the internals of 
> kolabconf overly well, so maybe someone with more experience there could 
> comment?
>
> Currently the listen=143" option is written, and it listens on all IPs, and 
> what you seem to want is listen="my.single.ip.address:143" or something 
> similar.   You could permanently change the cyrus.conf template, and grab the 
> entire written config lines, and replace the @@@cyrus-*@@@ meta tags.
>
> That would work, but you would loose control of turning those services on and 
> off through the LDAP options (used in the admin site, or kolabadmin etc.).

There is no need to remove the @@@cyrus-pop3s@@@ entries. But you'd
need to edit the content within those lines within the template in
order to reduce binding to specific intefaces.

While kolabconf does not use a particularly strong template language
the problem in this case is rather that the template does not cope for
different bind IPs. So in this case there is no alternative to editing
the template.

Cheers,

Gunnar

>
>
> I would hope that someday this would be configurable via the admin site, but 
> that would involve some work.   Changing the LDAP to hold binding addresses, 
> changing the admin site, changing kolabconf.   I know it would be nice, but 
> this is probably a rare requirement, and therefore lower priority on the TODO 
> list. 
>
> Could you open an issue / wish for it in the tracker anyways?
>
>
> you can still do this by hand, editing the cyrus.conf.template though.
>
>
>
> Andy
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel

-- 
______ http://kdab.com _______________ http://kolab-konsortium.com _

p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium

____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
Tel.   : +49 700 6245 0000                          Bundesstrasse 29
Fax    : +49 721 1513 52322                          D-20146 Hamburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   >> Mail at ease - Rent a kolab groupware server at p at rdus <<                 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the users mailing list