Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th May 2007, 21:49
wrender wrender is offline
Member
 
Join Date: Oct 2006
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Default Mail server host name in greeting

I have recently done a dnsstuff.com test on my ispconfig server, and it reports everything back that I expected, except for one warning... It's reporting...
"Mail server host name in greeting"
My domain is otherdata.com, otherdatanetworks.com

I could have swore that the last time I ran dns tests, I did not get this warning. Is it possible for something to have changed for postfix on my server?

Thank you
Reply With Quote
Sponsored Links
  #2  
Old 11th May 2007, 22:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Have a look at your postfix main.cf file, if it contains the correct domain. Also check /etc/mailname, if you use ubuntu or debian.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th July 2007, 17:30
Ashaman074 Ashaman074 is offline
Junior Member
 
Join Date: May 2007
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have this same thing happening; how does this work when hosting more than one domain?

For example, right now I have 123.com and abc.com.

If I run a check on abc.com, it might come back saying "WARNING: One or more of your mailservers is claiming to be a host other than what it really is...mail.abc.com claims to be non-existent host GW.123.com: 220 GW.123.com ESMTP Postfix (Ubuntu)"

/etc/mailname says it is GW.123.com.

Is the problem that it is "claiming" to be GW.123.com or is it that GW.123.com doesn't have a DNS entry? (Or both??)

I don't understand how having more than one domain affects this.

Thanks!
Reply With Quote
  #4  
Old 28th July 2007, 10:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's in /etc/postfix/main.cf (please strip out the comments), and what's the output of
Code:
hostname -f
?

Have you tried to put mail.abc.com into /etc/mailname?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 28th July 2007, 11:04
tebokkel tebokkel is offline
Member
 
Join Date: Feb 2007
Location: The Netherlands
Posts: 96
Thanks: 0
Thanked 9 Times in 9 Posts
Default

The name your server uses for the HELO should preferably be an existing hostname (in DNS that is), with the reverse DNS for that IP being the same name. However, although it has become more customary to check for this relation and refuse mail if:
- you don't send a fully qualified name (missing dots)
- you send their own hostname(s) or their IP
- you send "localhost"
and of course:
- if your greeting doesn't match DNS and/or reverse IP.

A setup-checker (as you probably used) can detect all of this, but it doesn't really matter. Most sites hapily accept all kinds of BS, as http://www.faqs.org/rfcs/rfc2505.html makes these checks optional (MAY) or doesn't mention them. Rfc2505 mostly caused open relays to vanish. It's outdated, but there's no new standard, let alone a good solution.


Bottomline: try go get /etc/mailname in line with a forward DNS name and preferably with your reverse DNS too. If not, at least change mailname to your current DNS name.

Paul
Reply With Quote
  #6  
Old 30th July 2007, 20:52
Ashaman074 Ashaman074 is offline
Junior Member
 
Join Date: May 2007
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks Falko, here is main.cf:

Code:
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
mailbox_command = procmail -a "$EXTENSION"
inet_protocols = all
smtpd_sasl_local_domain = 
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
Hostname -f outputs - GW.123.com

/etc/mailname also lists GW.123.com

Tebokkel, are you saying the name doesn't really matter, so long as it is a valid name that exists in DNS? So for example, if i am sending from abc.com it is OK if it identifies itself as GW.123.com so long as GW.123.com resolves to the correct IP?

So based on the input, maybe I should just change /etc/mailname to something that resolves or create a record for GW.123.com?

Thanks for your help with this!
Reply With Quote
  #7  
Old 31st July 2007, 09:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Quote:
Tebokkel, are you saying the name doesn't really matter, so long as it is a valid name that exists in DNS? So for example, if i am sending from abc.com it is OK if it identifies itself as GW.123.com so long as GW.123.com resolves to the correct IP?
yes.

Quote:
So based on the input, maybe I should just change /etc/mailname to something that resolves or create a record for GW.123.com?
yes.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 2nd August 2007, 22:57
Ashaman074 Ashaman074 is offline
Junior Member
 
Join Date: May 2007
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
Default

I see - well I guess it was rather simple then!

Thanks again for the help, it seems to be passing the tests now. I was worried that the name had to match up with its respective domain - good to know that it does not.
Reply With Quote
  #9  
Old 20th March 2012, 16:11
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

Sorry to reopen such an old thread but I have the same problem:

the check: Check SMTP Greeting
the result: WARNING: The following mailservers don't have their host name in greetings:
mail.sa-tax.co.za → h1870666.stratoserver.net

so what is wrong with my mail server not having its host name in greetings?
would you mind checking this from another machine please?
Reply With Quote
  #10  
Old 20th March 2012, 22:05
Ashaman074 Ashaman074 is offline
Junior Member
 
Join Date: May 2007
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Sorry, I decommissioned my server several years ago so I have no way to re-test. I was however able to resolve the issue following the advice given above. Good luck.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
best way to migrate from old mail server to new mail server w/ ispconfig. istep Installation/Configuration 1 20th March 2007 08:55
Cant Change mail server host name after installment ??? tchubb Installation/Configuration 1 6th March 2007 08:16
mail log nvn Installation/Configuration 17 9th November 2006 09:50
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
server blocked/stopped by host Ovidiu Technical 11 14th February 2006 10:50


All times are GMT +2. The time now is 18:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.