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

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



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'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".