From owner-freebsd-questions Tue Sep 23 16:08:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA11500 for questions-outgoing; Tue, 23 Sep 1997 16:08:26 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA11491 for ; Tue, 23 Sep 1997 16:08:16 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id XAA07776; Tue, 23 Sep 1997 23:48:04 +0100 (BST) Message-Id: <199709232248.XAA07776@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Bruce Albrecht cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail and ppp -auto In-reply-to: Your message of "Tue, 23 Sep 1997 09:00:02 CDT." <199709231400.JAA02114@zuhause.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 23 Sep 1997 23:48:04 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I just started using ppp -auto, and whenever sendmail starts up or I > get any new mail, ppp connects to my ISP. How do I trace this? I > don't know how. Is there something I should add to my sendmail > configuration? For that matter, how do I attach bpf0 to tun0, and where > is documentation on setting up ipfilters to reject the packet sendmail > is sending? Would it help to set up a caching named? There's a bit in the FAQ now (in the networking section - 10.7.9 currently). Essentially, you need to "set log +tcp/ip", determine the rogue program (sendmail in your case) and add a few lines to ppp.conf: set dfilter 1 deny udp src eq 25 set dfilter 2 deny udp dst eq 25 set dfilter 3 permit 0/0 0/0 -- Brian , , Don't _EVER_ lose your sense of humour....