Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2002 23:41:01 -0500 (EST)
From:      Scott Nolde <scott@smnolde.com>
To:        Troy <tdrake@myrealbox.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Postfix port binding problem
Message-ID:  <20020104233915.D93879-100000@bsd.smnolde.com>
In-Reply-To: <3C368033.1510A0@myrealbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
smacked into the keyboard previously by owner-freebsd-questions@FreeBSD.ORG:

 >Date: Fri, 04 Jan 2002 22:25:23 -0600
 >From: Troy <tdrake@myrealbox.com>
 >To: freebsd-questions@FreeBSD.ORG
 >Subject: Postfix port binding problem
 >
 >I recently got tired of playing with sendmail, so I setup postfix, then
 >tried qmail to see which one I liked the best, so went back to postfix,
 >and now whenever I try to start postfix I get this error in the
 >maillog:  postfix/master[1096]: fatal: bind INADDR_ANY port 25: Address
 >already in use.  I'm assuming this means it cant bind to port 25 because
 >something else is using it.. but I don't know what is. Running top shows
 >nothing smtp related is running, but a netstat -a  shows this:
 >tcp4       0      0  *.smtp  *.*  LISTEN, so obviosly something is
 >binding to port 25, but I have no clue what it would be, as I
 >deinstalled qmail before going back to postfix, and have renamed all the
 >sendmail binaries. Any suggestions welcomed, thanks!
 >

sockstat | grep 25 will tell you what is listening on port 25.

Chances are you didn't disable sendmail before starting postfix.  You can
do this in /etc/rc.conf with sendmail_enable="NO", then kill sendmail, and
start postfix.

Scott Nolde
GPG Key 0xD869AB48


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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