ERROR:
Error in sendmail trying with the Primary configuratiion ::javax.mail.
SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: 501 5.5.1 HELO/EHLO requires domain address
Error in sendmail trying with the Primary configuratiion ::javax.mail.
nested exception is:
class javax.mail.MessagingException: 501 5.5.1 HELO/EHLO requires domain address
Solution:
First check the hostname of your system.It should be a valid host name.
Improper hostname: livesvr
proper hostname: livesvr.domain.com
An SMTP client, after receiving the greeting message, will normally send an HELO or EHLO command.
EHLO domain
where the domain given is the fully qualified name (host+domain) of the sending client.
RFC 2821 is clear, that the domain name should be that of the sending system, and should be a fully qualified name known in DNS. If such a name is unavailable, a domain literal should be used, again for the sending system.
Some clients take the domain name from the sender email address. Others may use the domain of the server to which they are connection.
If you block defective HELO/EHLO names, you may inadvertently block your own users from sending email.
First check the hostname of your system.It should be a valid host name.
Improper hostname: livesvr
proper hostname: livesvr.domain.com
An SMTP client, after receiving the greeting message, will normally send an HELO or EHLO command.
EHLO domain
where the domain given is the fully qualified name (host+domain) of the sending client.
RFC 2821 is clear, that the domain name should be that of the sending system, and should be a fully qualified name known in DNS. If such a name is unavailable, a domain literal should be used, again for the sending system.
Some clients take the domain name from the sender email address. Others may use the domain of the server to which they are connection.
If you block defective HELO/EHLO names, you may inadvertently block your own users from sending email.
No comments:
Post a Comment