New FreeBSD installation

Yuri Pankov yuri at
Wed Jul 4 20:33:32 UTC 2007

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 problems 
> getting FreeBSD to install on a new system. Hard drive cabling was the 
> problem - got that fixed.
> I have FreeBSD up and running now. I have a couple of questions. When I 
> installed FreeBSD, it automatically installed Sendmail 8.13. I installed 
> cyrus-sasl2 and cyrus-sasl2-saslauthd from ports because I need SMTP auth. 
> 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: 
> Queue runner at 00:30:00 for /var/spool/clientmqueue (sendmail)
> root  20615  0.0  0.2  4400 3692  ??  Ss    2:54PM   0:00.03 sendmail: 
> accepting connections (sendmail)
> but I cannot send mail through this server using Outlook Express on the 
> Windows computer on my desk (I get a generic error message about "the 
> connection to the server has failed" nor can I telnet to port 25 on this 
> server. I  have noticed that there isn't anything in /etc/rc.conf regarding 
> sendmail (no SENDMAIL_ENABLE="YES"  etc.) but since sendmail is starting 
> from rc.d perhaps there shouldn't be anything in rc.conf? I'm not sure 
> where to begin trying to figure out why I can't send mail or telnet to port 
> 25. What am I overlooking here?

Sendmail will run only local submission if you don't have
sendmail_enable="YES" in /etc/rc.conf, so you need to add it to make
sendmail listen on interfaces other than Regarding SMTP AUTH
- you need to recompile sendmail with SASL -

> Also, when I installed FreeBSD, I installed SSH. Unfortunately, at first I 
> put the wrong IP address on this machine (it conflicted with another server 
> I currently have running). I fixed that. In /var/messages, however, I'm 
> 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 
> wrong IP address on the ethernet interface (and ssh is trying to bind to 
> this wrong IP) or if I'm getting this message because ssh is being started 
> from both rc.d (there is a script  in there for ssh) and from /etc/rc.conf 
> (/etc/rc.conf contains sshd_enable="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="YES" from /etc/rc.conf (but be sure to check sshd(8)
manpage and search for 'inetd').

> Thanks for the help,
> Lisa CAsey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list