From owner-freebsd-questions Sun Jun 1 13:34:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA04030 for questions-outgoing; Sun, 1 Jun 1997 13:34:28 -0700 (PDT) Received: from onyx.interactive.net (root@onyx.interactive.net [208.192.224.6]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA04025 for ; Sun, 1 Jun 1997 13:34:26 -0700 (PDT) Received: from luddite.org (host019.madison.interactive.net [208.192.224.119]) by onyx.interactive.net (8.8.5/8.8.5) with ESMTP id QAA08966 for ; Sun, 1 Jun 1997 16:34:12 -0400 (EDT) Received: (from sachs@localhost) by luddite.org (8.8.5/8.8.5) id QAA00309; Sun, 1 Jun 1997 16:36:35 -0400 (EDT) To: questions@FreeBSD.org Subject: 2.2.2, start_if.tun0 and sendmail Mime-Version: 1.0 (generated by tm-edit 7.101) Content-Type: text/plain; charset=US-ASCII From: Jay Sachs Date: 01 Jun 1997 16:36:34 -0400 Message-ID: <87zptarrfx.fsf@luddite.org> Lines: 38 X-Mailer: Gnus v5.4.55/XEmacs 19.15 X-Face: 6!-I&o^[[HP+0~O~}d2Zf@Pbof:|>j5^*W$QOR"&)JYcHT.@-"AhAXLg3vioV79Ri3JMp/a e3QD@Z$1Ot@'j1/A Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk My 'net connection is made solely via PPP by the following line in /etc/start_if.tun0: /usr/sbin/ppp -ddial ondemand >/dev/null 2>&1 sendmail is configured in /etc/rc.conf with sendmail_enable="YES" # Run the sendmail daemon (or NO). sendmail_flags="-bd -q30m" # -bd is pretty mandatory For whatever reason, sendmail won't daemonize until the ppp connection is established. The problem with this is that the boot-up process waits for this to happen. I *could* edit /etc/rc to start sendmail up in the background, but I hesitate to do that. And I can't see a way to pass the '&' as a bg indicator in rc.conf. Perhaps there's something wrong w/ my sendmail configuration? Here it is: VERSIONID(`blah')dnl OSTYPE(bsd4.4)dnl DOMAIN(generic)dnl MASQUERADE_AS(interactive.net) FEATURE(masquerade_envelope) EXPOSED_USER(root) LOCAL_USER(root sachs) define(`LOCAL_RELAY', interactive.net) define(`SMART_HOST', interactive.net) MAILER(local)dnl MAILER(smtp)dnl I understand that one other option is to put the ppp startup in rc.local, in which case sendmail just breezes by. But I'd like to start up the ppp connection ASAP. Any ideas? -jay