[zanata-users] Problem wit smtp configuration

Gregoire Henry ghynxmail at gmail.com
Tue Mar 12 10:31:28 UTC 2013


Hi Carlos ..

ok , found where the stuff went wrong ...

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) .

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 ..


  <!-- Mailserver for notification messages -->
  <mail:mail-session host="localhost" port="25" ssl="false" tls="false"/>

changed to
  <!-- Mailserver for notification messages -->
  <mail:mail-session host="xxxx.lswe.priv" port="25" ssl="false"
tls="false"/>


And all is fine now , register mail is send to the good server ..

Well , this is a workaround .. i think there is a bug here ..

Raised in bugzilla as https://bugzilla.redhat.com/show_bug.cgi?id=920539

Regards ,
Greg




2013/3/12 Gregoire Henry <ghynxmail at gmail.com>

> Hello Carlos ,
>
> Thers is no such things as a stupid question.. :-)
>
> But , yes i've restarted the server ,
>
> There is just 2 points :
> - Should i configure the internal jboss mail service ?
> - 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
>
> Any way if this configuration is in production somewhere , i should have
> made something wrong ...
>
> ( by the way , same thing with the 2.02 release of zanata)
>
>
> Greg
>
>
> 2013/3/11 Carlos Munoz <camunoz at redhat.com>
>
>> Hi Greg,
>>
>> This might be a stupid question but just trying to cover all the bases:
>> after changing zanata.properties file did you restart the server?
>> Changes to this file are only read when the server is coming up.
>>
>> Carlos A. Munoz
>> Senior Software Engineer
>> Engineering - Internationalisation
>> Red Hat
>>
>> On 03/12/2013 07:14 AM, Gregoire Henry wrote:
>> > Hello
>> >
>> > I'm using Zanata serve 2.0.3 on Windows
>> >
>> > I can't suceed to configure smtp server ..
>> >
>> > I've changed  conf/zanata.properties (see below) but zanata still try to
>> > connect to localhost as smtp server ...
>> >
>> > Caused by: javax.mail.MessagingException: Could not connect to SMTP
>> > host: localhost, port: 25;
>> >
>> >
>> > any idea ?
>> >
>> > --- /conf/zanata
>> > zanata.email.default.from = zanata at lswe.com <mailto:zanata at lswe.com>
>> > zanata.smtp.host = xxxxxx.lswe.priv
>> > zanata.smtp.port = 25
>> > #zanata.smtp.username
>> > #zanata.smtp.password
>> > #zanata.smtp.tls
>> > #zanata.smtp.ssl
>> >
>> >
>> > Regards
>> >
>> > Greg
>> >
>> >
>> > _______________________________________________
>> > zanata-users mailing list
>> > zanata-users at redhat.com
>> > https://www.redhat.com/mailman/listinfo/zanata-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/zanata-users/attachments/20130312/cd0645a0/attachment.htm>


More information about the zanata-users mailing list