Date: Thu, 6 Oct 2005 16:56:07 -0700 (PDT) From: Annelise Anderson <andrsn@andrsn.stanford.edu> To: Chuck Swiger <cswiger@mac.com> Cc: freebsd-questions@freebsd.org Subject: Re: sendmail not starting at boot Message-ID: <20051006165310.S7485@andrsn.stanford.edu> In-Reply-To: <4344C2EF.9070905@mac.com> References: <20051004161847.Y538@andrsn.stanford.edu> <4344C2EF.9070905@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Oct 2005, Chuck Swiger wrote: > Annelise Anderson wrote: >> On 5.4-STABLE as of October 1, sendmail doesn't start on reboot. >> I have to either do it by hand or run sh rc.sendmail (which does >> start it). There's no sendmail.sh in /usr/local/etc/rc.d. > > Sendmail is part of the FreeBSD base system by default, and not something in > /usr/local. You should have a /etc/rc.d/sendmail RC script... Interesting, it was blank except for the first line. My failure to do anything but mergemaster -p. > >> The rc.conf has sendmail_enable="YES" and I even changed this >> in /etc/defaults/rc.conf. > > Don't change /etc/defaults/rc.conf. Change /etc/rc.conf only. > >> I supposed I could clip some of rc.sendmail and put in in a >> sendmail.sh file for /usr/local/etc/rc.d, but perhaps something >> more obvious is wrong. I want sendmail to be not only a >> local mta but to be the incoming and outgoing server. > > OK. Setting: > > sendmail_enable="YES" > > ...ought to do the trick, so something else is going on. > > > Have you checked /var/log/messages and /var/log/maillog? > Is your hostname set to a valid FQDN? > Is local DNS working properly on that machine? > > Have you copied /etc/mail/freebsd.mc to /etc/mail/host.example.com.mc, > editting that file if and as needed, and doing a "make all" in /etc/mail? > See /etc/mail/README. Thank you for this and my apologies for a second copy of this message, which also went to the list after I added a smart relay host (nothing was going out beyond the stanford.edu domain, which I guess is something Stanford imposes). Annelise
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051006165310.S7485>