LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2013, 10:20 AM   #1
kirannec
LQ Newbie
 
Registered: Aug 2013
Posts: 1

Rep: Reputation: Disabled
Mailsent Issue


16:14:12 [ ERROR] Error Occurred ...
subject---> Ticket [758332]: New - 4 - TEST Email
to---> xyz@zyx.com
error ---> javax.mail.MessagingException: 501 5.0.0 HELO requires domain address

16:14:12 [ ERROR] Exception = javax.mail.MessagingException: 501 5.0.0 HELO requires domain address

javax.mail.MessagingException: 501 5.0.0 HELO requires domain address

at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)
at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:917)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:417)
at javax.mail.Service.connect(Service.java:288)
at javax.mail.Service.connect(Service.java:169)
at javax.mail.Service.connect(Service.java:118)
at javax.mail.Transport.send0(Transport.java:188)
at javax.mail.Transport.send(Transport.java:118)
at com.extraview.common.EVSendMail.sendWithoutAttachment(EVSendMail.java:313)
at com.extraview.common.EVSendMail.send(EVSendMail.java:281)
at com.extraview.util.BatchMailTask.send(BatchMailTask.java:1039)
at com.extraview.util.BatchMailTask.processOneFile(BatchMailTask.java:882)
at com.extraview.util.BatchMailTask.pollDirectory(BatchMailTask.java:565)
at com.extraview.util.BatchMailTask.run(BatchMailTask.java:1115)
at java.lang.Thread.run(Thread.java:595)

16:14:12 [ ERROR] Error 1 Occurred processing file 758332HtmlINTERNAL_USER1377526436793.html subject Ticket [758332]: New - 4 - TEST Email
16:14:12 [ ERROR] Renaming /opt/extraview-test/mailbox/758332HtmlINTERNAL_USER1377526436793.html to :/opt/extraview-test/mailbox/__758332HtmlINTERNAL_USER1377526436793.html
16:14:12 [ ERROR] Error Occurred ...

Last edited by kirannec; 08-26-2013 at 10:22 AM. Reason: Change the name.
 
Old 08-26-2013, 11:00 AM   #2
YankeePride13
Member
 
Registered: Aug 2012
Distribution: Ubuntu 10.04, CentOS 6.3, Windows 7
Posts: 262

Rep: Reputation: 54
Many mail servers require you to start an SMTP exchange like this :

Code:
helo example.com
Or they will not accept mail. You're likely starting the handshake like this:

Code:
helo
Find a way to add the domain to the start of the handshake. You can test this yourself using telnet to connect to the mail server on port 25.
 
Old 08-27-2013, 09:39 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,919

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by kirannec View Post
16:14:12 [ ERROR] Error Occurred ...
subject---> Ticket [758332]: New - 4 - TEST Email
to---> xyz@zyx.com
error ---> javax.mail.MessagingException: 501 5.0.0 HELO requires domain address

16:14:12 [ ERROR] Exception = javax.mail.MessagingException: 501 5.0.0 HELO requires domain address

javax.mail.MessagingException: 501 5.0.0 HELO requires domain address

at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)
at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:917)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:417)
at javax.mail.Service.connect(Service.java:288)
at javax.mail.Service.connect(Service.java:169)
at javax.mail.Service.connect(Service.java:118)
at javax.mail.Transport.send0(Transport.java:188)
at javax.mail.Transport.send(Transport.java:118)
at com.extraview.common.EVSendMail.sendWithoutAttachment(EVSendMail.java:313)
at com.extraview.common.EVSendMail.send(EVSendMail.java:281)
at com.extraview.util.BatchMailTask.send(BatchMailTask.java:1039)
at com.extraview.util.BatchMailTask.processOneFile(BatchMailTask.java:882)
at com.extraview.util.BatchMailTask.pollDirectory(BatchMailTask.java:565)
at com.extraview.util.BatchMailTask.run(BatchMailTask.java:1115)
at java.lang.Thread.run(Thread.java:595)

16:14:12 [ ERROR] Error 1 Occurred processing file 758332HtmlINTERNAL_USER1377526436793.html subject Ticket [758332]: New - 4 - TEST Email
16:14:12 [ ERROR] Renaming /opt/extraview-test/mailbox/758332HtmlINTERNAL_USER1377526436793.html to :/opt/extraview-test/mailbox/__758332HtmlINTERNAL_USER1377526436793.html
16:14:12 [ ERROR] Error Occurred ...
...and it would also help if you gave us ANY useful details. Things like version/distro of Linux, are you using sendmail or postfix, what program(s) are generating the emails, what the mail log files say, if you can send emails from the command-line or not, etc. All you've done is post an error message from some java program.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there software to find network issue? Possible packets dropped or similar issue xmrkite Linux - Software 7 03-17-2015 07:33 PM
Joystick and USB issue, randomly connects, also caused a mouse issue. tim.sloane Linux - Hardware 1 08-08-2012 10:05 AM
Fedora 13 Installation issue -- Unable to install multiple linux distributions ---partition issue navneethr Linux - General 6 12-23-2010 12:17 AM
Postfix issue ; Must issue a STARTTLS command first after forcing TLS sarajevo Linux - Server 3 05-14-2009 09:28 AM
Trouble mounting ipod. Hal issue and mount point issue. okos Slackware 2 05-11-2009 12:51 AM


All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration