User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22 Build Identifier: When a user try to register (more / register) , the register mail is always send using localhost as smtp server . Changes in conf/zanata.properties doesn't affect this behaviour . The only way to change this is to digg into the war , and modify mail-session-host in WEB-INF/classes/META-INF/component.xml Registering process must use the mail server defined in conf/zanata.properties. in the current situation , NO NEW USER CAN REGISTER !! Reproducible: Always Steps to Reproduce: 1. fresh Install 2. change /conf/zanata.properties to add a smtp server 3. try to register as a new user Actual Results: Zanata fail by trying to connect to a localhost smtp server The user is not added to the database Expected Results: Zanata must send the mail using smtp server configured in /conf/zanata.properties Changing the internal mail configuration in WEB-INF/classes/META-INF/component.xml is a workaround .
FYI : trying the same with the 2.2.2 version of Zanata .. still the same problem Greg
More information , If I only specify the mail server in zanata.conf , it raise an "unknown SMTP host" error but the error message give the name of the good server . Seems that the error is returned by some part of the application who effectively read zanata.conf but the connection is still made by another part who try to use META-IN/coponent.xml .
This may be fixed in the current version, but requires a test case and documentation for email server setting.
As newer Zanata version supports neither zanata.conf nor zanata.properties. You can specify the "default-from-address" in standalone.xml as instructed in: https://github.com/zanata/zanata-server/wiki/Installation-Guide#233-configure-jndi Or you can do this in WebUI: <ZanataServerUrl>/admin/server_configuration This bug will otherwise be WONTFIX. However, should you deem necessary, please reopen the bug, and we will be turn it to an Request For Enhancement (RFE).