Sendmail not listening correctly
Peter Matulis
petermatulis at yahoo.ca
Mon Sep 19 23:24:01 PDT 2005
--- Mike Loiterman <mike at 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
More information about the freebsd-questions
mailing list