From owner-freebsd-questions Wed Apr 19 3:37:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from zeus.mipnet.org (zeus.mipnet.org [195.115.143.1]) by hub.freebsd.org (Postfix) with ESMTP id D927A37BBED for ; Wed, 19 Apr 2000 03:37:17 -0700 (PDT) (envelope-from mahe@twam.com) Received: from twam.com (sad-hermes-19.mipnet.org [195.115.76.34]) by zeus.mipnet.org (8.9.3/8.9.3) with ESMTP id MAA02011 for ; Wed, 19 Apr 2000 12:51:55 +0200 (MET DST) Message-ID: <38FD8CDB.D6FF2653@twam.com> Date: Wed, 19 Apr 2000 12:39:23 +0200 From: "Loic Mahe'" Organization: TWAM Informatique X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en, fr-FR MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: FreeBSD and sendmail Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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