Hi, I'd like to build a small application that should send emails. XWiki is installed on a Redhat Linux 4 with Sendmail 8.13.1. When I try a simple example to send email I get the following error message from XWiki : Error number 4001 in 4: Error while parsing velocity page Demos.test Wrapped Exception: Invocation of method 'sendMessage' in class com.xpn.xwiki.XWiki threw exception class 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 ) com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Demos.test Wrapped Exception: Invocation of method 'sendMessage' in class com.xpn.xwiki.XWiki threw exception class 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 fact after looking for the problem in my sendmail conf, I discover that the problem come from the domain name indicated by XWiki which avoid XWiki to connect to sendmail : 'HELO XWiki version 0.9.840' I would like to know if there is a way to change the XWiki domain name or to tell sendmail to accept wrong domain name. In my sendmail config, I've put this : FEATURE(`accept_unresolvable_domains')dnl But it still doesn't work. Thanks a lot -- Xavier MOGHRABI - Consortium ObjectWeb -- Sendmail debug trace : 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