Is mupdate_port not supported/broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

we've tried to use mupdate_port in config file, but it seems it's not supported 
or at least doesn't work. We've specified mupdate_port, but it was still trying 
to connect to default port.

When I look at source code, there is mupdate_port in configuration structure, 
but it seems it's not used anywhere. There seems to be only two lines in the 
whole sources ( grep -i -r mupdate_port cyrus-imapd/ ): 
cyrus-imapd-2.3.14/lib/imapopts.h:  IMAPOPT_MUPDATE_PORT,
^^^ just an item in enum
cyrus-imapd-2.3.14/lib/imapopts.c:  { IMAPOPT_MUPDATE_PORT, "mupdate_port", 0,
(union config_value)((long) 3905), OPT_INT, {  { NULL, IMAP_ENUM_ZERO } } },

and mupdate-client.c contains:
backend_connect(NULL, server, &mupdate_protocol,....
-> getaddrinfo(server, mupdate_protocol->service, &hints, &res0);

where mupdate_protocol->service = "mupdate" set in mupdate-client.c, so this 
is reason default port for service is used. There is no assignment to 
mupdate_protocol->service which is used for getaddrinfo.

So is this broken/not supported or I've just missed something?

Regards,
Michal Hlavinka

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux