PDA

View Full Version : Sendmail, issues...


pcfxer
05-05-2008, 03:33 AM
Okay,

So, for some odd reason I actually had FreeBSD become non-responsive for one of the first times of my life. I start it up, everything appears to be fine, all of the services are booting but then I see that 5, 10, 30 seconds have gone by after starting sshd. I CTRL+C it and sendmail complains a lot.

I say to myself, "aha", because I know the issue is with sendmail. Other things were odd and broken, but I just added sendmail_enable="NO" to my rc.conf and everything appears to be fixed. I'm okay with disabling sendmail because I'm on a desktop, but I'd really like to know WHY sendmail caused issues in the first place.

I'm unsure as to which logs I should be checking, so that is why I've started this thread!

Thank you in advance,
Brodey Dover

anomie
05-05-2008, 03:45 AM
Is this a brand new FBSD install?

The reason I ask is:

sshd may have been generating its host keys;
sendmail gets rather cranky if it can not resolve the box's hostname (which can be fixed by adding an /etc/hosts entry or setting up name resolution properly).

pcfxer
05-08-2008, 11:07 AM
The install is not new. I have edited /etc/hosts now, but I do know that sshd has already created its keys and I have definitely ssh'd into my machine a few times from work.

I suppose I can now remove the hostname="Blah.some.domain" from rc.conf now that /etc/hosts is changed.

Thank you.