From owner-freebsd-questions Tue Jun 20 12:15:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hellasnet.gr (mail.hellasnet.gr [212.54.192.3]) by hub.freebsd.org (Postfix) with ESMTP id 3408C37BCBC for ; Tue, 20 Jun 2000 12:12:54 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (ppp3.patr.hellasnet.gr [212.54.197.18]) by mail.hellasnet.gr (8.9.1/8.9.1) with ESMTP id VAA07797; Tue, 20 Jun 2000 21:11:40 +0200 (GMT) Received: (from charon@localhost) by hades.hell.gr (8.10.2/8.10.2) id e5LIkgj86227; Wed, 21 Jun 2000 21:46:42 +0300 (EEST) Date: Wed, 21 Jun 2000 21:46:41 +0300 From: Giorgos Keramidas To: Robert Small Cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: sendmail question Message-ID: <20000621214641.C73385@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from rsmall@pwahec.org on Tue, Jun 20, 2000 at 10:54:10AM -0500 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jun 20, 2000 at 10:54:10AM -0500, Robert Small wrote: > I built a new mailserver this weekend, and everytime I boot it up, to > get sendmail working I have to kill the sendmail daemond (killall -HUP > sendmail), then type in "sendmail -bd -q30m", even though it's in my > rc.conf: > > sendmail_enable="YES" # Run the sendmail daemon (or NO). flags="-bd > sendmail_-q30m" # Flags to sendmail (if enabled) > > Any ideas why this happens? In my 3.4-S home box, the /etc/rc script that starts sendmail also checks if the file /etc/sendmail.cf is there. After upgrading sendmail 8.10.2 manually, I was bitten by this fact, since I had my sendmail.cf in /etc/mail and not in /etc. Perhaps you ought to change your /etc/rc to check for /etc/mail/sendmail.cf too. If this is the problem with your sendmail, then look for the lines: if [ "X${sendmail_enable}" = X"YES" -a -r /etc/sendmail.cf ]; then echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags} and change the first one to: if [ "X${sendmail_enable}" = X"YES" -a -r /etc/mail/sendmail.cf ]; then Ciao. -- Giorgos Keramidas, < keramida @ ceid . upatras . gr > For my public key: finger keramida@ceid.upatras.gr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message