How can you set up chroot to be able to send mail from java? FWIIW,
the system runs RHEL 5.1 with postfix and java 1.5.0_15
The developers currently get the error below.
Kind regards,
Herta
INFO | jvm 1 | 2008/05/23 13:50:17 | ... 40 more
INFO | jvm 1 | 2008/05/23 13:50:17 | Caused by:
org.springframework.mail.MailSendException; nested exceptions (0) are:
INFO | jvm 1 | 2008/05/23 13:50:17 | at
org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:404)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:298)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:284)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
com.mediamine.mail.MailGeneratorImpl.sendMail(MailGeneratorImpl.java:67)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
com.mediamine.mail.MailGeneratorImpl.sendMail(MailGeneratorImpl.java:41)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
com.mediamine.chevrolet.ovs.domain.mail.MailServiceImpl.sendMail(MailServiceImpl.java:64)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
com.mediamine.chevrolet.ovs.domain.mail.MailServiceImpl.reviewLocalizedDocumentsNotifier(MailServiceImpl.java:36)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
com.mediamine.chevrolet.ovs.domain.bpms.mail.ReviewLocalizedDocumentsNotifier.execute(ReviewLocalizedDocumentsNotifier.java:13)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
org.springmodules.workflow.jbpm31.JbpmHandlerProxy.execute(JbpmHandlerProxy.java:133)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
org.jbpm.graph.def.Action.execute(Action.java:122)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:247)
INFO | jvm 1 | 2008/05/23 13:50:17 | ... 98 more
INFO | jvm 1 | 2008/05/23 13:50:17 | Caused by:
javax.mail.MessagingException: 501 Syntax: HELO hostname
INFO | jvm 1 | 2008/05/23 13:50:17 |
INFO | jvm 1 | 2008/05/23 13:50:17 | at
com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1363)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:838)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:375)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
javax.mail.Service.connect(Service.java:275)
INFO | jvm 1 | 2008/05/23 13:50:17 | at
org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:379)
INFO | jvm 1 | 2008/05/23 13:50:17 | ... 108 more
INFO | jvm 1 | 2008/05/23 13:50:17 | WARN [btpool0-3]
(DefaultAddResource.java:730) - MyFaces special javascript could not
be retrieved from request-map.
INFO | jvm 1 | 2008/05/23 13:50:27 | WARN [btpool0-5]
(DefaultAddResource.java:730) - MyFaces special javascript could not
be retrieved from request-map.
--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."
|