From owner-freebsd-questions@FreeBSD.ORG Wed Jul 4 20:33:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 319FD16A46E for ; Wed, 4 Jul 2007 20:33:32 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (darklight.org.ru [194.186.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id CE8CA13C46A for ; Wed, 4 Jul 2007 20:33:30 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.1/8.14.1) with ESMTP id l64KXJ5i019641; Thu, 5 Jul 2007 00:33:19 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Received: (from yuri@localhost) by darklight.org.ru (8.14.1/8.14.1/Submit) id l64KXHE8019640; Thu, 5 Jul 2007 00:33:17 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Date: Thu, 5 Jul 2007 00:33:17 +0400 From: Yuri Pankov To: Lisa Casey Message-ID: <20070704203317.GD2472@darklight.org.ru> References: <003a01c7be78$42267cc0$d5b9bfcf@lisac> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GpGaEY17fSl8rd50" Content-Disposition: inline In-Reply-To: <003a01c7be78$42267cc0$d5b9bfcf@lisac> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-3.0 (darklight.org.ru [127.0.0.1]); Thu, 05 Jul 2007 00:33:20 +0400 (MSD) Cc: freebsd-questions@freebsd.org Subject: Re: New FreeBSD installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2007 20:33:32 -0000 --GpGaEY17fSl8rd50 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 04, 2007 at 04:16:47PM -0400, Lisa Casey wrote: > Hi, > > First, thanks for the help I got from this list when I was having problem= s=20 > getting FreeBSD to install on a new system. Hard drive cabling was the=20 > problem - got that fixed. > > I have FreeBSD up and running now. I have a couple of questions. When I= =20 > installed FreeBSD, it automatically installed Sendmail 8.13. I installed= =20 > cyrus-sasl2 and cyrus-sasl2-saslauthd from ports because I need SMTP auth= =2E=20 > Sendmail is running on the box: > > # ps waux | grep sendmail > smmsp 20613 0.0 0.1 3440 2800 ?? Is 2:53PM 0:00.00 sendmail:=20 > Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) > root 20615 0.0 0.2 4400 3692 ?? Ss 2:54PM 0:00.03 sendmail:=20 > accepting connections (sendmail) > > but I cannot send mail through this server using Outlook Express on the= =20 > Windows computer on my desk (I get a generic error message about "the=20 > connection to the server has failed" nor can I telnet to port 25 on this= =20 > server. I have noticed that there isn't anything in /etc/rc.conf regardi= ng=20 > sendmail (no SENDMAIL_ENABLE=3D"YES" etc.) but since sendmail is startin= g=20 > from rc.d perhaps there shouldn't be anything in rc.conf? I'm not sure=20 > where to begin trying to figure out why I can't send mail or telnet to po= rt=20 > 25. What am I overlooking here? Sendmail will run only local submission if you don't have sendmail_enable=3D"YES" in /etc/rc.conf, so you need to add it to make sendmail listen on interfaces other than 127.0.0.1. Regarding SMTP AUTH - you need to recompile sendmail with SASL - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html > > Also, when I installed FreeBSD, I installed SSH. Unfortunately, at first = I=20 > put the wrong IP address on this machine (it conflicted with another serv= er=20 > I currently have running). I fixed that. In /var/messages, however, I'm= =20 > seeing this every 10 minutes or so: > > Jul 4 16:12:14 mail inetd[423]: ssh/tcp: bind: Address already in use > > I don't know if this is because I initially setup this server with the=20 > wrong IP address on the ethernet interface (and ssh is trying to bind to= =20 > this wrong IP) or if I'm getting this message because ssh is being starte= d=20 > from both rc.d (there is a script in there for ssh) and from /etc/rc.con= f=20 > (/etc/rc.conf contains sshd_enable=3D"YES") You are starting sshd both as daemon and as inetd service. So either comment out ssh lines in /etc/inetd.conf and restart it or remove sshd_enable=3D"YES" from /etc/rc.conf (but be sure to check sshd(8) manpage and search for 'inetd'). > > Thanks for the help, > > Lisa CAsey > HTH, Yuri --GpGaEY17fSl8rd50 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBGjAQNeoAklVFrLdgRAoDwAJ0dvH+2UIAGc50r5lwVkZAzt8Ie9QCgj1ov jK9hMT6QVoJkjIi4Je1APIc= =sRdw -----END PGP SIGNATURE----- --GpGaEY17fSl8rd50--