From owner-freebsd-questions Tue Aug 12 05:18:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA18308 for questions-outgoing; Tue, 12 Aug 1997 05:18:59 -0700 (PDT) Received: from romeo.ic.ac.uk (romeo.ic.ac.uk [155.198.5.9]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id FAA18301 for ; Tue, 12 Aug 1997 05:18:50 -0700 (PDT) Received: from judy.ic.ac.uk [155.198.5.5] by romeo.ic.ac.uk with esmtp (Exim 1.62 #1) id 0wyFuP-0005Zp-00; Tue, 12 Aug 1997 13:18:45 +0100 Received: from mism.ad.ic.ac.uk (mism.ad.ic.ac.uk [129.31.188.88]) by judy.ic.ac.uk (8.7.5/8.7.5) with SMTP id NAA15440 for ; Tue, 12 Aug 1997 13:18:17 +0100 (BST) Received: from dmg.ad.ic.ac.uk by mism.ad.ic.ac.uk (5.65/4.0) id AA10972; Tue, 12 Aug 1997 13:28:48 +0100 Message-Id: <3.0.2.32.19970812131739.009fb690@mism.ad.ic.ac.uk> X-Sender: dmg3@mism.ad.ic.ac.uk X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32) Date: Tue, 12 Aug 1997 13:17:39 +0100 To: freebsd-questions@freebsd.org From: David Goddard Subject: ppp -auto and sendmail as a delivery agent Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I know this is a variation on a FAQ, but trawls though the archives and docs haven't produced definitive answers. I'm running ppp -auto to handle my networking (works fine) on by 2.2 box, and I'd like to check my mail with poplicent (no probs there) and send it with sendmail (ugh). During startup, sendmail (called from rc.local with -bd flag only) sends a packet to the network, causing ppp to dial. I find this strange as there is no q flag. I've disabled sendmail because of this - is this an appropriate approach for achieving my aim or is there some other way of preventing it from sending a packet (ie. should I have sendmail running as a daemon for outgoing mail delivery to work properly)? I would have thought that I don't need the sendmail daemon, but I have had slight problems... A possibly related problem is that when I try and send mail to a local user (ie. mail dmg or mail dmg@localhost), it brings up the ppp link and sends it to the internet (sendmail is currently configured not to queue mail, I'm going to get round to that Real Soon Now). Before I set up ppp -auto (and disabled the sendmail daemon), there was no problem with this (or is this a red herring?). I suspect that what is happening is that the mail is being interpreted as being sent to dmg@dmg.cc.ic.ac.uk (ie. me at full name of my host as defnined in sysconfig) which is then being sent over PPP (because I have no sendmail daemon listening on my box?), munged by Imperial's mail system to dmg@ic.ac.uk and delivered to my POP mailbox. If I need to go RTFM a bit more, point me in the right direction please :-) Thanks for any help you can give, Dave p.s. I'm not on the questions list so please cc me in any replies. Cheers. -- David Goddard ~ dmg@ic.ac.uk ~ goddard@acm.org Management Information Services ~ Tel: +44 (0)171 594 7282 Imperial College, London, SW7 2AZ ~ Fax: +44 (0)171 594 7277 Some mornings it's just not worth chewing through the leather straps