Cyradm

Winfried Ritsch ritsch at algo.mur.at
Thu Mar 10 22:44:00 CET 2016


Same Install but my guam server did not start:


Mär 10 22:36:26 yura.algorythmics.at guam[25389]: 22:36:26.492 [error] CRASH 
 REPORT Process <0.85.0> with 0 neighbours exited with reason: {{shutdown,
{failed_to_start_child,imap,{{badmatch,{error,eaddrinuse}},
[{kolab_guam_listener,init,1,[{file,"src/kolab_guam_listener.erl"},
{line,44}]},{supervisor,init,1,[{file,"supervisor.erl"},{line,243}]},
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}}},
{kolab_guam,start,[normal,[]]}} in application_master:init/4 line 133
Mär 10 22:36:28 yura.algorythmics.at guam[25389]: {"Kernel pid 
terminated",application_controller,"{application_start_failure,kolab_guam,
{{shutdown,{failed_to_start_child,imap,{{badmatch,{error,eaddrinuse}},
[{kolab_guam_listener,init,1,[{file,\"src/kolab_guam_listener.erl\"},
{line,44}]},{supervisor,init,1,[{file,\"supervisor.erl\"},{line,243}]},
{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,306}]},
{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,237}]}]}}},
{kolab_guam,start,[normal,[]]}}}"}

I think guam also wants to claim port 143.

So I did a change:
 imap        cmd="imapd"  listen="127.0.0.1:9143"                 prefork=5

and on guam in the server list added ad servers:


imap_servers, [
                    {
                        imaps, [
                            { host, "127.0.0.1" },
                            { port, 9993 },
                            { tls, true }
                        ]
                    },
                    {
                        imap, [
                            { host, "127.0.0.1" },
                            { port, 9143 }
                        ]
                    }
                ]
and  on listeners changed the imap listener (port 143) from imaps to imap: 
                            { imap_server, imap },

then I can use the cyradm.

So my question is: Can this be an security issue ? 

(also guam does not support implicit tls on listener).
I am not so firm with security issues (but did the secure kolab steps).

mfg
 winfried


  

On Tuesday 08 March 2016 15:33:09 Martin Friberg wrote:
> Works!
> Thanks!
> 
> Den 2016-03-08 kl. 13:55, skrev Rudolf Chupac:
> > Hello,
> > 1. edit /etc/cyrus.conf and add this line to section SERVICES:
> > imap       cmd="imapd"  listen="127.0.0.1:143"                 prefork=5
> > 
> > 2. stop guam service
> > systemct stop guam.service
> > 
> > 3. restart cyrus
> > systemct restart cyrus-imapd.service
> > 
> > 4. start guam service
> > systemct start guam.service
> > 
> > 5. login
> > cyradm --user cyrus-admin localhost
> > 
> > Hope, it helps.
> > 
> > Guam is proxy for imap service and redirects ports 143 and 993 to secure
> > 9993.
> > After this change, you are able to connect to unsecure 143, but only
> > from localhost.
> > 
> > On 03/08/2016 01:31 PM, Martin Friberg wrote:
> >> Fresh install centos 7 kolab16  selinux is disabled
> >> 
> >> imtest works
> >> telnet to imap works
> >> 
> >> cyradmin just stalles and takes forver to show passwd prompt (20-30)
> >> 
> >> im really at the point of giving up i been battleing this for servral
> >> weeks now
> >> 
> >> 
> >> any input is more then welcome i can even setup a vps and give access
> >> so you can see wth is going on
> >> 
> >> cheers
> >> 
> >> 
> >> 
> >> ---
> >> Detta e-postmeddelande har sökts igenom efter virus med
> >> antivirusprogram från Avast.
> >> https://www.avast.com/antivirus
> >> 
> >> _______________________________________________
> >> users mailing list
> >> users at lists.kolab.org
> >> https://lists.kolab.org/mailman/listinfo/users
> > 
> > _______________________________________________
> > users mailing list
> > users at lists.kolab.org
> > https://lists.kolab.org/mailman/listinfo/users
> 
> ---
> Detta e-postmeddelande har sökts igenom efter virus med antivirusprogram
> från Avast. https://www.avast.com/antivirus

-- 
---- Atelier Algorythmics ----
Winfried Ritsch
Leitnergasse 7a, 
A-8010 Graz, Austria
mobil: ++43 664 2439369
http://algo.mur.at/


More information about the users mailing list