From owner-freebsd-questions Sat Oct 14 1:13:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id 2D37A37B66E for ; Sat, 14 Oct 2000 01:13:32 -0700 (PDT) Received: (qmail 45845 invoked by uid 100); 13 Oct 2000 23:13:29 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14823.38681.759134.620093@guru.mired.org> Date: Fri, 13 Oct 2000 18:13:29 -0500 (CDT) To: john@goodleaf.net Cc: questions@freebsd.org Subject: Re: local only mail delivery In-Reply-To: <53588196@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG john@goodleaf.net writes: > Any qmail junkies out there? How can I force qmail to deliver mail locally > only, in other words, not even to attempt to deliver to a remote machine. I > know I could block the port with ipfw, but there must be a less kludgy > solution. Do you *really* want someone sending mail to "questions@freebsd.org" to wind up trying to deliever it to "questions" on your machine? That seems an odd things to want. I mean - why run qmail at all? Just plug a local delivery agent in for sendmail (either via /etc/mail/mailer.conf, or as /usr/sbin/sendmail). In any case, if you *really* want that, you might try making /var/qmail/control/locals be a line with a single period. I have no idea what it will actually do (logically, it should work), so let me know what happens, ok?