Closed TopicStart new topicStart Poll

> Mail server host name in greeting
hugo
Posted: Jul 13 2006, 02:57 PM
Quote Post


Advanced Member
****

Group: Members
Posts: 105
Member No.: 235
Joined: 9-August 02



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?


--------------------
Cya
Martin


----------------------------------------------------
Running XMail Servers 1.21 on Windows 2000
PMEmail PosterICQ
Top
hschneider
Posted: Jul 13 2006, 04:40 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



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 ...


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
dario
Posted: Aug 22 2006, 01:22 AM
Quote Post


Advanced Member
****

Group: Members
Posts: 141
Member No.: 265
Joined: 9-September 02



If somebody is concerned about this warning (read below for explanation):
- on windows you can try this recompiled binary (xmail 1.22), just replace it & restart.
- on *nix try this patch (*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*.


--------------------
-------
Dario
PMUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Documentation and Knowledge Base | Next Newest »

Closed TopicStart new topicStart Poll