|
From: Lucia M. <lme...@cs...> - 2005-02-14 16:09:53
|
Hi all,
I'm using Hermes MSH sending messages through HTTP and it's all OK!! but
I would like exchanging messages through SMTP protocol.
I have some question...
1- Can I do it directly with the Hermes 1.0.0.0 version? Or have I to
develop added code by myself ?
2- To send messages through SMTP, can I use the company server mail?
3- How have I to configure Hermes MSH to use SMTP? Here is my
msh.properties.xml:
...
<Mail>
<SMTP>
<!-- Mail server for sending messages -->
<Host>risc990.bologna.enea.it</Host>
<Port>25</Port>
<User>moda-ml</User>
<Password>modaml</Password>
</SMTP>
<Poll>
<Protocol>pop3</Protocol>
<Host>risc990.bologna.enea.it</Host>
<Port>110</Port>
<Folder>INBOX</Folder>
<User>moda-ml</User>
<Password>modaml</Password>
<MonitorInterval>20000</MonitorInterval>
<!--optional property for forcing the MSH to change the subtype of
incoming SOAP messages to "multipart/related" -->
<ForceChangeSubType>true</ForceChangeSubType>
</Poll>
<SMIME>
<Encryption>
<KeyStore>
<Path>/hermes</Path>
<File>public_keystore</File>
<Password>changeit</Password>
</KeyStore>
</Encryption>
<Decryption>
<KeyStore>
<Path>/hermes</Path>
<File>my_keystore</File>
<Alias>smimekey</Alias>
<Password>changeit</Password>
</KeyStore>
</Decryption>
</SMIME>
</Mail> ...
In ToMSHURL field I wrote: "mailto:mo...@bo..."
Is it right?
Have I to do something else?
Now with this configuration, my msh.log reports this error:
2005-02-14 16:57:54,626 INFO [http-8080-Processor25]: Process command:Send message (31)
2005-02-14 16:57:54,626 INFO [http-8080-Processor25]:Received request to send message
2005-02-14 16:57:54,967 INFO [Thread-39]: Sending message to mo...@bo... through risc990.bologna.enea.it
2005-02-14 16:57:55,097 ERROR [Thread-39]: [10102] Cannot compose mail message Exception: javax.mail.internet.AddressException Message: Nested
group
2005-02-14 16:57:59,223 INFO [http-8080-Processor25]: Process command: Get message (32)
2005-02-14 16:58:15,356 INFO [Thread-3]: Receiving pop3 messages from risc990.bologna.enea.it<INBOX>
2005-02-14 16:58:38,389 ERROR [Thread-3]: [10105] Invalid POP/IMAP server - Server:risc990.bologna.enea.it, Port: 110, Folder: INBOX, User: moda-ml
Exception: javax.mail.MessagingException Message: Connect failed;
nested exception is:
java.net.SocketTimeoutException: Read timed out.
Thanks in advance for your help!!
Regards Lucia
|