Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2007 00:33:17 +0400
From:      Yuri Pankov <yuri@darklight.org.ru>
To:        Lisa Casey <lisa@jellico.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: New FreeBSD installation
Message-ID:  <20070704203317.GD2472@darklight.org.ru>
In-Reply-To: <003a01c7be78$42267cc0$d5b9bfcf@lisac>
References:  <003a01c7be78$42267cc0$d5b9bfcf@lisac>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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