LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Sendmail warning (http://www.linuxquestions.org/questions/red-hat-31/sendmail-warning-4175445829/)

Joaquin 01-16-2013 05:49 AM

Sendmail warning
 
Hello,

I configured everything for my GMAIL account to send mail using sendmail.

But I get the following warning:

Code:

WARNING: local host name (netcool) is not qualified; see cf/README: WHO AM I?
my /etc/hosts file has the following lines of code:

Code:

# Do not remove the following line, or various programs
# that require network functionality will fail.
172.27.1.20        netcool
127.0.0.1      localhost.localdomain
::1                localhost6.localdomain6 localhost6

I have read several guides on how to configure sendmail, thinking that I had been wrong but all the ones I have read confirm that my configuration is correct.

Someone would know help me?

unSpawn 01-16-2013 08:51 AM

Quote:

Originally Posted by Joaquin (Post 4871202)
Code:

WARNING: local host name (netcool) is not qualified; see cf/README: WHO AM I?

A domain name has at least one dot in it like "gov.cn": the name and the TLD. A host is then part of that domain so it contains at least two dots like "mx.mail.gov.cn". That's what you would call a fully qualified domain name, or FQDN for short. Additionally the name needs to be resolvable across the 'net (meaning not using a private LAN range address) so that the remote mail server (MTA) your MTA contacts knows who it speaks to. You could use the external IP address your ISP leases / gives you as long as you're aware of lease time changes. Additionally MTAs in domestic / SOHO IP ranges best use their ISPs MTA as smarthost to avoid ending up in RBLs (Real Time Black Hole spam Lists).

Joaquin 01-16-2013 09:01 AM

Quote:

Originally Posted by unSpawn (Post 4871314)
A domain name has at least one dot in it like "gov.cn": the name and the TLD. A host is then part of that domain so it contains at least two dots like "mx.mail.gov.cn". That's what you would call a fully qualified domain name, or FQDN for short. Additionally the name needs to be resolvable across the 'net (meaning not using a private LAN range address) so that the remote mail server (MTA) your MTA contacts knows who it speaks to. You could use the external IP address your ISP leases / gives you as long as you're aware of lease time changes. Additionally MTAs in domestic / SOHO IP ranges best use their ISPs MTA as smarthost to avoid ending up in RBLs (Real Time Black Hole spam Lists).


Ok. What should I do to fix it?

unSpawn 01-16-2013 09:25 AM

To start with read my post again. I suggested you could use the external IP address your ISP leases you as long as you're aware of lease time changes.

Joaquin 01-16-2013 09:29 AM

Quote:

Originally Posted by unSpawn (Post 4871346)
To start with read my post again. I suggested you could use the external IP address your ISP leases you as long as you're aware of lease time changes.

No, you can not use the IP address of your ISP changes dynamically.

unSpawn 01-16-2013 09:44 AM

Well then just amend your host name: http://www.linuxquestions.org/questi...alhost-889403/


All times are GMT -5. The time now is 10:08 PM.