Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Unable to send email from exported job

Recently upgraded to TOS 5.4.0r110020 after reloading my machine.
I just finished creating a job that creates a report CSV and then sends it to a user. It works perfectly fine when launching the job from TOS directly. However when I build the job, export it, and then send it over to my job server (Running Cent OS) I get this error, and I'm assuming this is happening when it's trying to send the email with the report....
javax.mail.MessagingException: 501 Syntax: HELO hostname
This actually happens twice. Once for the email that is supposed to send the report, once for an email that is supposed to be sent to me confirming that the job completed. I'm not getting either email.
I am able to ping the mail server directly from the command line using the hostname that's entered into the job. Despite the fact that we are using DNS I also added an entry in the local /etc/hosts file and that did not help with the problem. This appears to be an issue that I've just experienced after upgrading the latest version.
Does anyone have a suggestion?
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I resolved this issue. Turns out that I needed a host entry for the local machine, not the mail server. So for example if you run into this problem and your machine's name is tosjobserver you would need to add this to your hosts file
127.0.0.1 tosjobserver tosjobserver.fulldomainname.com

View solution in original post

1 Reply
Anonymous
Not applicable
Author

I resolved this issue. Turns out that I needed a host entry for the local machine, not the mail server. So for example if you run into this problem and your machine's name is tosjobserver you would need to add this to your hosts file
127.0.0.1 tosjobserver tosjobserver.fulldomainname.com