Email configuration

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"?> mail080-1.exch080.serverdata.net 465 auth_user@trlm.com xxxxxxxxx true false false report_server@trlm.com allow_mixed

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

Hi bpeikes,

that looks odd to me, could you try this:

<?xml version="1.0" encoding="UTF-8"?> mail080-1.exch080.serverdata.net 465 auth_user@trlm.com --> SOME_PASSWORD false false false report_server@trlm.com false allow_mixed

after you changed the pw of course. Just to make sure …

wbr

Jan

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?

Hi bpeikes, it does not map to the filesystem, it’s stored in the database.

wbr jan