07-09-2012 08:39 AM
Using nuxeo 5.5, I changed the SMTP configuration in the Admin console, but it has no effect (even after restart). The default configuration is still used (mail.smtp.host=localhost).
The nuxeo.conf file includes the correct SMTP parameters (mail.smtp.host=<correct_smtp>).
The issue is with the nuxeo.xml configuration file located in NUXEO_HOME/conf/Catalina/localhost which contains the old default parameter.
This file is left unchanged by the restarts. I guess the nuxeo.xml file should be rewrited at each restart to include nuxeo.conf updated values.
Is it right ?
What is the the correct value to be found in the live nuxeo.xml ?
Something like :
<Resource auth="Container" name="Mail" type="javax.mail.Session"
mail.store.protocol="pop3"
mail.pop3.host="pop3.nosuchhost.nosuchdomain.com"
mail.pop3.user="nobody"
mail.transport.protocol="smtp"
mail.smtp.host="localhost" mail.smtp.port="25"
mail.smtp.starttls.enable="false"
mail.smtp.auth="false"
mail.smtp.user="anonymous"
password="password" mail.from="noreply@nuxeo.com"
mail.debug="false" />
Or something like :
<Resource auth="Container" name="Mail" type="javax.mail.Session"
mail.store.protocol="${mail.store.protocol}"
mail.pop3.host="${mail.pop3.host}"
mail.pop3.user="${mail.user}"
mail.transport.protocol="${mail.transport.protocol}"
mail.smtp.host="${mail.smtp.host}" mail.smtp.port="${mail.smtp.port}"
mail.smtp.starttls.enable="${mail.smtp.usetls}"
mail.smtp.auth="${mail.smtp.auth}"
mail.smtp.user="${mail.smtp.username}"
password="${mail.smtp.password}" mail.from="${mail.from}"
mail.debug="${mail.debug}" />
Thanks
07-09-2012 03:34 PM
You're right.
At startup (or simply by running ./bin/nuxeoctl configure
), the file conf/Catalina/localhost/nuxeo.xml
must be overwritten by templates/default/conf/Catalina/localhost/nuxeo.xml
with the values you customized in nuxeo.conf
.
Which configuration templates do you use (what is the value of nuxeo.templates
)?
07-16-2012 11:24 AM
@Alice
07-10-2012 08:15 AM
Please prefer to use comment for comments and answers for answers.
Some things to check:
07-10-2012 10:47 AM
In /etc/init.d/nuxeo, NUXEO_CONF is set
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.