From owner-freebsd-questions Wed Apr 19 4:51:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from draenor.org (draenor.org [196.36.204.219]) by hub.freebsd.org (Postfix) with ESMTP id B2A7E37B841 for ; Wed, 19 Apr 2000 04:51:23 -0700 (PDT) (envelope-from marcs@draenor.org) Received: from marcs by draenor.org with local (Exim 3.12 #1) id 12ht1j-000F69-00; Wed, 19 Apr 2000 13:52:15 +0200 Date: Wed, 19 Apr 2000 13:52:15 +0200 From: Marc Silver To: Loic Mahe' Cc: FreeBSD Questions Subject: Re: FreeBSD and sendmail Message-ID: <20000419135215.O36881@draenor.org> References: <38FD8CDB.D6FF2653@twam.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38FD8CDB.D6FF2653@twam.com>; from mahe@twam.com on Wed, Apr 19, 2000 at 12:39:23PM +0200 X-Operating-System: FreeBSD 3.4-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey there, I know this probably isn't the answer you're looking for, but you might want to take a look at using Postfix. (/usr/ports/mail/postfix). I found it to be a lot more effective than sendmail especially over a dialup and it doesn't do annoying things like dialup if you check the mailq. :) Cheers, Marc On Wed, Apr 19, 2000 at 12:39:23PM +0200, Loic Mahe' wrote: > Hello, > > I'm trying to use sendmail with my dialup connection. I looked at the > FAQ (http://www.fr.freebsd.org/FAQ/admin.html#ISPMAIL) > and generated my sendmail.cf file. > Sending mail works, but each time I launch sendmail (at boot time, > manually (like sendmail -bt) or with mailq), the modem opens the > connection to my ISP (even if the mail queue is empty). This problem > seems to occur only on FreeBSD (I asked my question in a french > mail-related newsgroup and Linux users told me that they have no such > problem). > I used tcpdump and found that 2 DNS queries are sent (and > therefore lauch the modem since resolv.conf lists my ISP's DNS). > Normally, sendmail uses a ServiceSwitch file to use /etc/hosts instead > of bind, but is it used on FreeBSD ? > > It is not normal that the modem connects if there is no mail to send. > > Any help is welcome. > > Thanks. > > Loic/Toulouse, France > > PS : I'm on FreeBSD 3.1 with sendmail 8.9.2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message