Date: Tue, 29 Jun 2010 00:21:11 +0200 From: Polytropon <freebsd@edvax.de> To: Michael <mlmichael70@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: sendmail: My unqualified host name Message-ID: <20100629002111.b616dbf2.freebsd@edvax.de> In-Reply-To: <4C291E56.3090004@gmail.com> References: <4C290B62.5060209@gmail.com> <20100628234349.6ad1a000.freebsd@edvax.de> <4C291E56.3090004@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Jun 2010 23:12:38 +0100, Michael <mlmichael70@gmail.com> wrote: > Yes but I don't quite understand why. It's my laptop system and I don't > really need or want sendmail there. You may want to reconsider this statement. :-) > I guess it must be some script > trying to send email instead of logging to a file. The sendmail facility is used by the system to deliver status messages (e. g. by the daily/monthly/weekly periodic scripts, sometimes by the printing subsystem), so it depends on an at least locally working installation. There may be other services that rely on sendmail to provide output directed to a system's mail box (usually root). Check /etc/defaults/rc.conf for the sendmail_* family of options. > But how can I find out exactly what is trying to use sendmail (which > fails and complaints)? I think it's sendmail itself that complains on startup (running as local-only delivery system). > My configuration (8.0-RELEASE-p3): > /etc/rc.conf > hostname="prime" > sendmail_enable="NONE" > /etc/hosts > ::1 localhost prime > 127.0.0.1 localhost prime Try to additionally define a domainname ".local" or ".lan", e. g. 127.0.0.1 localhost 127.0.0.1 prime.local prime See "man 5 hosts" for details, I think it explains it very well (it's right in the 1st paragraph). Also give the full name in /etc/rc.conf: hostname="prime.local". Then make sure to have visited /etc/mail doing "make all install". This will make sure sendmail picks up all neccessary configuration items. > It was all fine and quiet for months and started just recently. So THAT is really strange. > The only > change in the system I can think of is that I replaced pf with ipfw. I doubt that has anything to do with it. > Still don't understand what is so urgent that sendmail keeps trying > every minute. It fails to start properly because of a missing configuration item. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100629002111.b616dbf2.freebsd>