[Kolab-devel] Specify Kolab IP address
Andrew J. Kopciuch
akopciuch at bddf.ca
Mon Apr 14 23:36:43 CEST 2008
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.).
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/devel/attachments/20080414/aa282c37/attachment.sig>
More information about the devel
mailing list