XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Documentation and Knowledge Base > Mail server host name in greeting


Posted by: hugo Jul 13 2006, 02:57 PM
Hi everyone,

I had difficult to send emails to some email servers. They are just rejects my emails. I find out that, the greeting does not meet RFC requirement. Xmail server send <1152797622.1311402928@domain.com> should be domain.com. I tough the miss configuration is on my side but after I checked the autors site xmailserver.org domain with dnsreport.org tools it see to me that is the xmailserver core sending wrong greeting.

Did someone resolve that issue?

Posted by: hschneider Jul 13 2006, 04:40 PM
Pls forward this to Davide at xmailserver.org. In fac it is _recommended_ by the RFC, that mean it is not a must. But some weird servers out there seem to confuse that ... A server.tab switch which modifes that would be nice ...

Posted by: dario Aug 22 2006, 01:22 AM
If somebody is concerned about this warning (read below for explanation):
- on windows you can try this http://www.henry.it/xmail/patches/greeting-xmail-1.22.zip (xmail 1.22), just replace it & restart.
- on *nix try this http://www.henry.it/xmail/patches/greeting-patch.src (*nix, xmail 1.22 only);
patch it in the src folder:
QUOTE
patch -p1 <greeting.patch.src

then rebuild xmail.

What it does is just change what xmail prints out for the greeting message set by the "SmtpServerDomain" value in server.tab. This is the SMTPSvr.cpp diff file
QUOTE
--- SMTPSvr.cpp.old Mon Aug 21 22:13:08 2006
+++ SMTPSvr.cpp Mon Aug 21 22:12:26 2006
@@ -1032,7 +1032,7 @@
  MscGetTimeStr(szTime, sizeof(szTime) - 1);

  if (BSckVSendString(hBSock, SMTPS.pSMTPCfg->iTimeout,
-       "220 %s %s service ready; %s", SMTPS.szTimeStamp,
+       "220 %s %s service ready; %s", SMTPS.szSvrDomain,
        SMTP_SERVER_NAME, szTime) < 0) {
   ErrorPush();
   SMTPClearSession(SMTPS);

It works for me, but test, test, test it before production ... use at your own risk...
As Harald said it's just an RFC recommendation, so don't bother if you don't have a *real problem* or just want to get rid of that dnsreport warning *at any cost*.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)