Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2005 02:23:59 -0400 (EDT)
From:      Peter Matulis <petermatulis@yahoo.ca>
To:        freebsd-questions@freebsd.org
Subject:   RE: Sendmail not listening correctly
Message-ID:  <20050920062359.13926.qmail@web60016.mail.yahoo.com>
In-Reply-To: <200509200545.j8K5jvG88834@fat_man.ascendency.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Mike Loiterman <mike@ascendency.net> wrote:

> I tried doing a:
> 
> #cd /etc/mail && make stop && killall -9 sendmail

Use the ps command to ensure sendmail is not running.  Use kill <pid>

> The config file I'm using is made from $hostname.cf.  That's where I make
> all my changes.

Altering cf files directly is frowned upon.  I can't help you there.
 
> I don't know why but somehow there is something else listening on 25 but I
> can't figure out what:
> 
> # sockstat | grep sendmail 
> # cd /etc/mail && make start 
> Starting: sendmail sendmail-clientmqueue. 
> # sockstat | grep sendmail 
>  smmsp    sendmail   727   3  dgram  -> /var/run/log 
>  root     sendmail   724   3  dgram  -> /var/run/logpriv 
>  root     sendmail   724   4  tcp4   *:25                  *:* 
>  root     sendmail   724   5  tcp6   *:25                  *:*

I have never used these commands.  This should be enough:

$ netstat -naf inet

Make sure there is no sendmail listening (port 25 or 587).

> # tail -f /var/log/maillog

<snip>

Looks like you either have a botched cf file or there is some other daemon interference.  Is
this a new install?  What have you done/installed/configured relating to mail software? 
Rebuilt the system?  Compiled kernel?

--
Peter


	

	
		
__________________________________________________________ 
Find your next car at http://autos.yahoo.ca



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050920062359.13926.qmail>