Question

Which setting in Domino Server 7 defines its connecting hostname when sending email to the world?

Asked by: ITDharam

I'm prepping for an ISP migration and I wanted to setup the reverse DNS entries.  When I went to do that I found an inconsistency in how they were setup for the 2 different mail servers.  On one server, the servername as defined in the FQDN setting and the PTR record match, which is what I would expect.  On the other server, the PTR record doesn't match any FQDN I can find anywhere in the configuration.  (I do not receive any SMTP 550 messages, so somehow we're still OK as far as servers that check the reverse DNS entry)

So when a Domino server sends an email to an outside SMTP server, what defines which name it provides as its own connecting hostname?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-05-12 at 14:25:01ID24402932
Tags

Email

,

Domino

,

SMTP

,

hostname

Topics

Lotus Domino Email Server

,

Simple Mail Transfer Protocol (SMTP)

,

Email Servers

Participating Experts
2
Points
250
Comments
11

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Domino SMTP Service INBOUND
    Essentially what I am looking for is a guide on how to set up an in-bound Lotus Domino Server for e-mail. I've configured the web part and can succesfully get the Domino front page and webadmin.nsf and can send outbound e-mails to various external domains. What I cannot seem...
  2. Domino Setup
    Hello, I work alot with Domino at work, but would like to setup a enviroment at home, I just don't know how to set it up to accept mail & send mail. I have domainname.com registered. Point the MX record to my server. Where in Domino do I set it to accept the incomming...
  3. domino to exchange
    Is it possible to encrypt email traffic between a domino and exchange environment? If it is possible is it done through the exchange - domino connector? Thanks!
  4. New Domino 8.5 server not able to send SMTP mail
    Hello, I have just setup a new Domino 8.5 server for a client and while it can recieve mail no problem it is unable to send external mail. I have checked that port 25 is open by doing a telnet to another mailserver which connects fine. when I try and send to my googlemail ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: fgrushevskyPosted on 2009-05-12 at 14:58:03ID: 24369890

It is "Fully qualified Internet host name" on the basic tab of the server document

 

by: KeremEPosted on 2009-05-12 at 14:59:02ID: 24369902

Hi,

These are all governed by DNS in that:
- When an SMTP host (domino is an SMTP host when delivering to some other SMTP server) connets to another to send e-mail, the receivng server gets the IP adddress from the connection and queries it to resolve to a name. It might succeed or not. If not it can be isntructed to close the cunnestion with a 4.7.1 Relaying deined error or a 4.5.0 temprary error through its configuration settings.

If it resolves the name then it queries the DNS with the obtained FQDN from the reverse query. After it gets the name depending on its configuration it might reject the mail if DNS and Reverse DNS entries don't much. Then again it might not. Instead it might be configured to requery the DNS for an SPF TXT record. An SPF record is a test record and it returns configured E-mail forwarders for the domain it can whether be a catch-all record saying then any server is permitted t forward mail on its behalf or lists some  servers which are authorized to deliver mail on the domains behalf. After this query , even if Reverse and forward DNS queries disagree the mail could be accepted.

As you see this is all DNS related. There are also several problems with reverse lookup zones:
- First of all reverse zones are not as flexible as forward zones which could be easily changed on registrar's page. They are assigned to ISP's and Reverse DNS could be set-up only on the intended server and contain full zone data only. Until recently it was a problem nad only resolved with some recent RFC's allowed for subnet delegation in Reverse DNS. For this reason they must be maintained mnually by ISP's and much of them don't care about it at all.  I guess this is the case for your second DNS. I'll suggest you to both insist on to get it corrected by the ISP and also add an SPF record to your zone to prevent any further problems.

For further reference:
On SPF Records: http://www.openspf.org/
On Subnetting the Reverse DNS (classless in-addr.arpa delegation) http://www.faqs.org/rfcs/rfc2317.html
On Reverse DNS lookup: http://en.wikipedia.org/wiki/Reverse_DNS_lookup
On Reverse DNS Delegation practices: http://www.zytrax.com/books/dns/ch9/reverse.html

I hope this helps.

Cheers,
K.


 

by: KeremEPosted on 2009-05-12 at 15:06:58ID: 24369966

@fgrushevsky:
>>It is "Fully qualified Internet host name" on the basic tab of the server document

The initial question specified that:

> On the other server, the PTR record doesn't match any FQDN I can find anywhere in the configuration.

So this is not an issue with Server Forward DNS that could be set-up from the Domino. IT is rather the Reverse DNS could not be properly configured by ISP.

If they can not confgure it you'd either ask them to redirect the traffic to your DNS as per RFC 2317
or you might have a temporary solution in that instead of entering ptr records like..
23.12       IN PTR dominomail.company.com

They'd rather enter such that your DNS servers could be used instead of theirs.  ( Of course it requires full acces to your corporate DNS's and some good sys admins who won't gaze at you when you as hm/her to define a new reverse dNS zone which as delegated from your ISP.)

64/16         IN  NS  ns1.example.com.

OR

65              IN  CNAME   65.64/27.23.168.192.IN-ADDR.ARPA.


 

by: fgrushevskyPosted on 2009-05-12 at 15:26:46ID: 24370107

K

I am not particulary agree with your statements.

"When an SMTP host (domino is an SMTP host when delivering to some other SMTP server) connets to another to send e-mail, the receivng server gets the IP adddress from the connection and queries it to resolve to a name.  If not it can be isntructed to close the connestion " - This is correct

After that there are several other checks that might happenedon the receiving server configuration

1. The receiving server can check if FQDN obtained from the reverse query is matching server name from SMTP HELO (or EHLO) command.  If FQDNs don't match, the receiving server might be instructed to close the connection.  In my expirience, this particular check is quite popular on mail servers in Germany. IMHO, the original question was about server name presented in HELO (EHLO) command and it is set in "Fully qualified Internet host name" on the basic tab of the server document

2. There are other servers that would check that only domain part of the FQDN obtained from the reverse query is matching server name from SMTP HELO (or EHLO) command.

3. The receiving server can query DNS with FQDN received from reverse query to check if returned IP will match connecting server IP.

so as you can see not everything is DNS driven, but sending server FQDN from HELO command is verified as well

As for SPF records, they are verified  (if verified) on the next step after smtp MAIL FROM command, after all previous checks are succesful






 

by: KeremEPosted on 2009-05-12 at 16:00:22ID: 24370292

@fgrushevsky:

> 1. The receiving server can check if FQDN obtained from the reverse query is matching server name
> from SMTP HELO (or EHLO) command.  If FQDNs don't match, the receiving server might be instructed > to close the connection.  In my expirience, this particular check is quite popular on mail servers in
> Germany.  IMHO, the original question was about server name presented in HELO (EHLO) command
> and it is set in "Fully qualified Internet host name" on the basic tab of the server document

I am also aware that EHLO checks are possible but when I've tried the EHLO FQDN checks. I had to quit it in 2 days. In fact nearly no Exchange servers return the correct FQDN!. So enabling EHLO checks would easily render you without any mail from at least Exchange servers! Furthermore there are servers located in intranets that return their internal domains automatically in EHLO strings. So it is not possible to apply practically and  being a consultant for large enterprises for the last 15 years I know no company that could successfully enable EHLO checks as the RCF suggests. I am currently rejecting only if EHLO string specifies my name or specify localhost. In this case I'm rejecting them using a permanent error saying "You are not me!". So this is why I've omitted to talk about EHLO checks. Oh I've just remember all Microsoft software implements SMTP from as obsolete RFC which does not cover full EHLO syntax. I've even complained about this problem to Microsoft!

> 2. There are other servers that would check that only domain part of the FQDN obtained from the
> reverse query is matching server name from SMTP HELO (or EHLO) command.

> 3. The receiving server can query DNS with FQDN received from reverse query to check if returned > IP will match connecting server IP.

My article covers that too. I told it may or might not reject and if it does not it might query SPF record and
then decide to reject or not.

> so as you can see not everything is DNS driven, but sending server FQDN from HELO command is
> verified as well

Even the domain specified in HELO requires DNS validation to determine if it is valid.

> As for SPF records, they are verified  (if verified) on the next step after smtp MAIL FROM command, > after all previous checks are succesful

I'm sorry but this is incorrect too. Here's the excerpt form the RFC-4408 wihch specifies:

   This document defines a protocol by which domain owners may authorize
   hosts to use their domain name in the "MAIL FROM" or "HELO" identity.
   Compliant domain holders publish Sender Policy Framework (SPF)
   records specifying which hosts are permitted to use their names, and
   compliant mail receivers use the published SPF records to test the
   authorization of sending Mail Transfer Agents (MTAs) using a given
   "HELO" or "MAIL FROM" identity during a mail transaction.

So as you see SPF is active during HELO checks too. Plaese check the full document here:

http://www.ietf.org/rfc/rfc4408.txt

In fact the whole idea behinf SPF checking is to find a credible way since they already know that HELO has never been used as its planned due to bad implementation processes and it is not easy to re-enforce them.

Cheers,
K.

 

by: KeremEPosted on 2009-05-12 at 16:07:48ID: 24370331

If EHLO checks could be inforced  we'd have lesser SPAM mails. Since most of the mass mailing programs around using invailid text such as "ommo.net" / "ZLONBD" /  "kdybvgyjf" and still they can deliver billions and biliions of emials everyday.

 

by: fgrushevskyPosted on 2009-05-12 at 16:09:38ID: 24370346

It is possible and quite easy to configure Exchange to return any given FQDN.  As I mentioned before, I've seen a fair share of the servers checking HELO/EHLO FQDN (mostly in Germany).  

RFC 4408 says that
"It is RECOMMENDED that SPF clients not only check the "MAIL FROM"
   identity, but also separately check the "HELO" identity by applying
   the check_host() function (Section 4) to the "HELO" identity as the
   <sender>."
It is only recommended.

 

by: KeremEPosted on 2009-05-12 at 16:12:58ID: 24370361

Here's a link from microsoft admitting that they can not send EHLO correctly:
http://support.microsoft.com/kb/957497

 

by: KeremEPosted on 2009-05-12 at 16:14:16ID: 24370369

@fgrushevsky

> It is only recommended.

Recomended but not largely practiced !

 

by: ITDharamPosted on 2009-05-13 at 09:50:56ID: 24377005

Some good info here guys.  Your exchange is enlightening.  So here is my problem, IT SEEMS TO WORK FINE!  Why is this a problem, because based on what I'm seeing, I should be getting bounces.  I have over 600 users here, and this particular setup has been in place for a couple years, and I don't get SMTP 550 returns.

I'll spell out the naming scheme here, and maybe something is being missed.  I'm changing the company name to make it interesting.

Local server name:  Alpha.company.local
FQDN in Domino Basics:  Alpha.company.com
FWD DNS Entries:  mail.company.com   Alpha.company.com, and  Alpha.company2.com
Reverse DNS Entry:  Bravo.company.com

Seeing this, would you expect me to be getting bounces?  My users email lots of people, including AOL users, and that can be a pain.
 

 

by: ITDharamPosted on 2009-05-14 at 08:56:56ID: 24386359

I've done a little more reading on this, and I've basically come up with this.  Of the many different steps you can take to block spam, two of them are 1.) Forward DNS lookups (HELO Lookup) and 2.) Reverse DNS lookups

These are two different processes, which can be enabled individually, and they do not 'cross check'.

This explains why my forward and reverse entries are different, but still acceptable.

Is this contrary to what you know?

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...