[rhn-users] Sendmail: 'Invalid domain name' error

Xavier MOGHRABI xavier.moghrabi at objectweb.org
Wed Oct 19 17:45:55 UTC 2005


Hi,

I use sendmail on my Redhat Enterprise systems and recently I've met a problem 
concerning a Java Web application that needs to send email. 

When I got the following error from the application telling me that it can't 
send email due to an invalid domain name.
com.xpn.xwiki.XWikiException: Error number 10005 in 10: Could not login to 
mail server localhost port 25 error code 501 (501 5.0.0 Invalid domain name

In my sendmail logs I have the following message :
obispeno sendmail[17999]: NOQUEUE: connect from obispeno.inria.fr [127.0.0.1]
obispeno sendmail[17999]: AUTH: available mech=CRAM-MD5 LOGIN DIGEST-MD5 
ANONYMOUS PLAIN, allowed mech=EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
obispeno sendmail[17999]: j9JHQANM017999: Milter: no active filter
obispeno sendmail[17999]: j9JHQANM017999: --- 220 obispeno.inria.fr ESMTP 
Sendmail 8.13.1/8.13.1; Wed, 19 Oct 2005 19:26:10 +0200
obispeno sendmail[17999]: j9JHQANM017999: <-- HELO XWiki version 0.9.840
obispeno sendmail[17999]: j9JHQANM017999: --- 501 5.0.0 Invalid domain name
obispeno sendmail[17999]: j9JHQANM017999: invalid domain name (XWiki) from 
obispeno.inria.fr [127.0.0.1]
obispeno sendmail[17999]: j9JHQANM017999: --- 421 4.4.1 obispeno.inria.fr Lost 
input channel from obispeno.inria.fr [127.0.0.1]
obispeno sendmail[17999]: j9JHQANM017999: obispeno.inria.fr [127.0.0.1] did 
not issue MAIL/EXPN/VRFY/ETRN during connection to MTA


In fact it seems that the application provide a bad domain (XWiki version 
0.9.840) after HELO command.
I've noticed the authors of this application this error but I need to as soon 
as possible to enable this application. So I'd like that Sendmail accept 
Invalid domains.
To do that I've put the following line in my sendmail.mc file :
FEATURE(`accept_unresolvable_domains')dnl

But it doesn't work.

Can you please tell me if there is a way to accept sending emails comming from 
this application ?

Best regards

--
Xavier MOGHRABI
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20051019/2c7409db/attachment.sig>


More information about the rhn-users mailing list