[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Huge number of entries in /var/log/maillog



Claus Assmann wrote:

>On Thu, Aug 07, 2003, Paul Greene wrote:
>
>  
>
>>Aug  7 18:01:18 <isp.assigned.hostname> sm-msp-queue[30602]: 
>>h73AU1EQ012645: to=postmaster, delay=4+12:30:01, xdelay=00:00:00, 
>>mailer=relay, pri=19565956, relay=localhost.home.net., dsn=4.0.0, 
>>stat=Deferred: Connection timed out with localhost.home.net
>>    
>>
>
>	Note: if localhost doesn't resolve to the IP address
>	of your local system (127.0.0.1 or ::1 for IPv6),
>	then you either need to fix your hostname resolution
>	(localhost and localhost.YOUR.DOMAIN should resolve
>	to that address by convention) or you need to specify
>	the IP address as argument, e.g.,
>
>		FEATURE(`msp', `[127.0.0.1]')
>
>	This belongs in submit.mc, not in sendmail.mc.
>
>  
>
>>/etc/hosts was changed to the following (192.168.0.1 and 192.168.1.1 are 
>>interfaces on the firewall but facing internal subnets; 192.168.1.2 is 
>>the webserver on a separate machine):
>>
>>::1 localhost localhost
>>127.0.0.1 localhost localhost
>>192.168.0.1 localhost localhost
>>192.168.1.1 localhost localhost
>>    
>>
>
>Why do you list localhost twice per entry?
>
I just removed the "home.net" string from every line in the existing file.

I added the other interfaces (192.168.0.1 and 192.168.1.1) because I 
found it got rid of the following error messages:

Aug  7 18:43:26 <isp.assigned.hostname> sendmail[30039]: 
gethostbyaddr(192.168.1.1) failed: 1
Aug  7 18:43:26 <isp.assigned.hostname> sendmail[30039]: 
gethostbyaddr(192.168.0.1) failed: 1

>>I'm not sure where sendmail is getting the information to try to relay 
>>messages to "domainspa.com", since there is no reference to it in 
>>"sendmail.cf".
>>    
>>
>
>submit.cf probably still uses localhost on your machine...
>
>  
>
>>So I guess the information I'm trying to decipher is, is the current 
>>configuration of /etc/hosts I now have correct?
>>    
>>
>
>Doesn't look like it. 192.x.y.z isn't "localhost".
>  
>

Are the ip addresses assigned to the firewall (other than localhost 
127.0.0.1) supposed to be listed in /etc/hosts? It's got a dynamically 
assigned IP on the external interface, and 2 internal addresses 
(mentioned above). If they are, how would those lines be formatted in 
/etc/hosts?

I did change /etc/myname from "<hostname>.home.net" to 
"<hostname>.comcast.net"

Paul