Page 1 of 1

Mail Configuration OpenKM CE 6.3.11 on another port than 25

PostPosted:Thu Jul 27, 2023 2:51 pm
by petruta
Hello,

I tried to configure server.xml on a different port than 25 and I didn't succeed. The connection is refused.
It seems that even though I write a different port in server.xml, 25 is still used.
Does it need to be configured elsewhere, other than in server.xml?

My configuration in server.xml is:
Code: Select all
<Resource name="mail/OpenKM" type="javax.mail.Session"
    mail.transport.protocol="smtp"
    mail.smtp.auth="true"
    mail.smtp.host="192.168.XXX.XXX"
    mail.smtp.user="no-reply"
    password="XXXXXXX”
    mail.port="26"
    mail.debug="true"/>  
Thank you!

Re: Mail Configuration OpenKM CE 6.3.11 on another port than 25

PostPosted:Mon Jul 31, 2023 11:45 am
by jllort
Remember to take effect about any kind of change in the server.xml file, the OpenKM service must be restarted only at the startup these changes take effect. I think that could be the missing point.

Re: Mail Configuration OpenKM CE 6.3.11 on another port than 25

PostPosted:Wed Aug 02, 2023 6:54 am
by petruta
I followed these steps:
1- I stopped OpenKM
2- I modified server.xml
3- I started OpenKM
Unfortunately, without success. 25 is the one used, not 26. :(

Re: Mail Configuration OpenKM CE 6.3.11 on another port than 25

PostPosted:Mon Aug 07, 2023 6:57 am
by jllort
Sure did you restarted the openkm service? I do not believe it.
Please share the server.xml file here because I would like to take a look at it