<div dir="ltr">Hi Carlos .. <div><br></div><div style>ok , found where the stuff went wrong ... </div><div style><br></div><div style>The problem arise when a user try to register itself , Zanata fail to send the mail (attempt to send to localhost despite of zanata.properties configuration) .</div>
<div style><br></div><div style>I 've modified (inside the zanata.war) the configuration of WEB-INF/classes/META-INF/component.xml as i've seen that this part of the application use seam-mail .. </div><div style>
<br></div><div style><div><br></div><div> <!-- Mailserver for notification messages --></div><div> <mail:mail-session host="localhost" port="25" ssl="false" tls="false"/></div>
<div><br></div><div style>changed to </div><div style><div> <!-- Mailserver for notification messages --></div><div> <mail:mail-session host="xxxx.lswe.priv" port="25" ssl="false" tls="false"/></div>
<div><br></div></div></div><div style><br></div><div style>And all is fine now , register mail is send to the good server .. </div><div style><br></div><div style>Well , this is a workaround .. i think there is a bug here .. </div>
<div style><br></div><div style>Raised in bugzilla as <a href="https://bugzilla.redhat.com/show_bug.cgi?id=920539">https://bugzilla.redhat.com/show_bug.cgi?id=920539</a></div><div style><br></div><div style>Regards , </div>
<div style>Greg</div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/12 Gregoire Henry <span dir="ltr"><<a href="mailto:ghynxmail@gmail.com" target="_blank">ghynxmail@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Carlos , <div><br></div><div>Thers is no such things as a stupid question.. :-) </div><div><br></div>
<div>But , yes i've restarted the server ,</div><div><br></div><div>
There is just 2 points : </div><div>- Should i configure the internal jboss mail service ?</div><div>- I made some digg into the code and see that it try to read an inputstream from "/zanata.properties", not sure if /server/zanata/conf is at the root of the classpath </div>
<div><br></div><div>Any way if this configuration is in production somewhere , i should have made something wrong ... </div><div><br></div><div>( by the way , same thing with the 2.02 release of zanata) </div>
<div><br></div><div><br></div><div>Greg</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/11 Carlos Munoz <span dir="ltr"><<a href="mailto:camunoz@redhat.com" target="_blank">camunoz@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Greg,<br>
<br>
This might be a stupid question but just trying to cover all the bases:<br>
after changing zanata.properties file did you restart the server?<br>
Changes to this file are only read when the server is coming up.<br>
<br>
Carlos A. Munoz<br>
Senior Software Engineer<br>
Engineering - Internationalisation<br>
Red Hat<br>
<div><br>
On 03/12/2013 07:14 AM, Gregoire Henry wrote:<br>
> Hello<br>
><br>
> I'm using Zanata serve 2.0.3 on Windows<br>
><br>
> I can't suceed to configure smtp server ..<br>
><br>
> I've changed conf/zanata.properties (see below) but zanata still try to<br>
> connect to localhost as smtp server ...<br>
><br>
> Caused by: javax.mail.MessagingException: Could not connect to SMTP<br>
> host: localhost, port: 25;<br>
><br>
><br>
> any idea ?<br>
><br>
> --- /conf/zanata<br>
</div>> zanata.email.default.from = <a href="mailto:zanata@lswe.com" target="_blank">zanata@lswe.com</a> <mailto:<a href="mailto:zanata@lswe.com" target="_blank">zanata@lswe.com</a>><br>
<div>> zanata.smtp.host = xxxxxx.lswe.priv<br>
> zanata.smtp.port = 25<br>
> #zanata.smtp.username<br>
> #zanata.smtp.password<br>
> #zanata.smtp.tls<br>
> #zanata.smtp.ssl<br>
><br>
><br>
> Regards<br>
><br>
> Greg<br>
><br>
><br>
</div>> _______________________________________________<br>
> zanata-users mailing list<br>
> <a href="mailto:zanata-users@redhat.com" target="_blank">zanata-users@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/zanata-users" target="_blank">https://www.redhat.com/mailman/listinfo/zanata-users</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>