From owner-freebsd-security Thu Nov 4 23:19:28 1999 Delivered-To: freebsd-security@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 8D1BD14D23 for ; Thu, 4 Nov 1999 23:19:26 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id XAA71639; Thu, 4 Nov 1999 23:16:26 -0800 (PST) (envelope-from dillon) Date: Thu, 4 Nov 1999 23:16:26 -0800 (PST) From: Matthew Dillon Message-Id: <199911050716.XAA71639@apollo.backplane.com> To: Carol Deihl Cc: Wes Peters , "Scott I. Remick" , freebsd-security@FreeBSD.ORG Subject: Re: Firewall questions References: <4.2.2.19991104094637.00cdd9f0@mail.computeralt.com> <3821B920.F1A47745@softweyr.com> <38227105.43BA2183@tinker.com> Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org :> If you want to be able to send mail into the firewall, yes. For outgoing :> mail, sendmail is called directly. Outgoing mail that has to be queued up, :> for whatever reason, won't be resent unless you have sendmail running as :> a daemon. :> : :Actually, you don't need to have sendmail running as a daemon to resend :queued mail. Just put something like this in your crontab (this one :tries to resend twice an hour): : :# deliver mail that gets queued :5,35 * * * * root /usr/sbin/sendmail -q : :Carol :-- :Carol Deihl - principal, Shrier and Deihl - mailto:carol@tinker.com You don't have to run sendmail from cron, you can run it as a daemon *without* having it listen on port 25. It is simply: sendmail -q30m (note that there is no '-bd'). If you have the MaxDaemonChildren option set properly, running it this way is much safer then running it from cron. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message