You are not logged in.
Pages: 1
Here is the configuation I set up in the mail.cf file under the "File System" Adminsitration tab:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<smtp>
<host>mail080-1.exch080.serverdata.net</host>
<port>465</port>
<username>auth_user@trlm.com</username>
<password>xxxxxxxxx</password>
<ssl>true</ssl>
<tls>
<enable>false</enable>
<require>false</require>
</tls>
</smtp>
<mail>
<sender>report_server@trlm.com</sender>
<encryptionPolicy>allow_mixed</encryptionPolicy>
</mail>
</configuration>
Below is the error message. We use the above settings with a .Net client and it sends emails without issue.
31-Oct-2016 16:10:56.432 WARNING [pool-4-thread-1] net.datenwerke.rs.core.service.mail.MailServiceImpl$1.run Mail could not be send
net.datenwerke.rs.core.service.mail.exceptions.MailerRuntimeException: Mail could not be send
at net.datenwerke.rs.core.service.mail.MailServiceImpl$MailSupervisorImpl.handleException(MailServiceImpl.java:58)
at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:243)
at net.datenwerke.rs.core.service.mail.MailServiceImpl$1.run(MailServiceImpl.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <bpeikes@trlm.com>: Relay access denied
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1873)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1120)
at javax.mail.Transport.send0(Transport.java:195)
at javax.mail.Transport.send(Transport.java:124)
at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:233)
... 4 more
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <bpeikes@trlm.com>: Relay access denied
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1771)
... 8 more
Offline
Hi bpeikes,
that looks odd to me, could you try this:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<smtp>
<host>mail080-1.exch080.serverdata.net</host>
<port>465</port>
<username>auth_user@trlm.com</username>
--> <password>SOME_PASSWORD</password>
<ssl>false</ssl>
<tls>
<enable>false</enable>
<require>false</require>
</tls>
</smtp>
<mail>
<sender>report_server@trlm.com</sender>
<forceSender>false</forceSender>
<encryptionPolicy>allow_mixed</encryptionPolicy>
</mail>
</configuration>
after you changed the pw of course. Just to make sure ...
wbr
Jan
Offline
Actually this is working now. I was editing the file in the wrong place. I was trying to directly create a file on my system at:
C:\Bitnami\reportserver-3.0.2-3\apps\reportserver\reportserver-conf\config\mail\mail.cf
I then realized that you have to use the web interface to edit the files in:
/FileServer Root/etc/mail/mail.cf
Do you know how the FileServer Root maps to the filesystem on the machine tomcat is running on?
Offline
Hi bpeikes, it does not map to the filesystem, it's stored in the database.
wbr jan
Offline
Pages: 1