Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello,
I have problem with sendmail - when it sends a mail, some servers reject it because sendmail provides in HELLO "localhost.localdomain"... How can I change this to my real server's network name?

Switch to QMAIL - but easier and better to use and configure and your headaches will dissapear - woth the conversion - don't wine about how you can't take the time - you spent more time trying to figure this out than it would take you to convert -

Because EHLO must contain a FQDN (resolvable host and/or domain name)
Brad: Qmail may be easier, but never better than sendmail.. sorry!
Secondo, using another mta will not fix the problem here. The Linux server is not corectly configured.
First make sure, your IP address and host name have matching "A" and "MX" and "PTR" entries in the dns zone.
Edit your /etc/host to make sure it is coherent with the dns zone and then restart sendmail or whatever mta you are using.

Hello
i think Danny i right.
This is a DNS problem that is unable to give FQDN.
pls check these files.
1) Forward Lookup ZOne file (/var/named/localhost.zone)
2) Reverse Lookup Zone file (/var/named/named.local)then check
#domainname
that should be match with ur domainname if not then specify.
#domainname xyz.com >> /etc/sysconfig/network
or u can make a entry direct to the file
asure that MX entry is Correct in ur DNS records#nslookup -querytype=MX
that will show ur mail server IP and host name with domainname.bye
Anil

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |