From owner-freebsd-questions Thu Jun 4 04:28:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA21809 for freebsd-questions-outgoing; Thu, 4 Jun 1998 04:28:33 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA21700 for ; Thu, 4 Jun 1998 04:26:41 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.8/8.8.8) id OAA29817; Thu, 4 Jun 1998 14:25:38 +0300 (EEST) (envelope-from ru) Message-ID: <19980604142538.A29611@ucb.crimea.ua> Date: Thu, 4 Jun 1998 14:25:38 +0300 From: Ruslan Ermilov To: Wayne G Boyd , freebsd-questions@FreeBSD.ORG Subject: Re: sendmail question Mail-Followup-To: Wayne G Boyd , freebsd-questions@FreeBSD.ORG References: <199806041029.KAA05955@jcegroup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91i In-Reply-To: <199806041029.KAA05955@jcegroup.com>; from Wayne G Boyd on Thu, Jun 04, 1998 at 10:29:04AM +0000 X-Operating-System: FreeBSD 2.2.6-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jun 04, 1998 at 10:29:04AM +0000, Wayne G Boyd wrote: > I am trying to get sendmail on a freeBSD box, to deliver mail for a > client who is dialled in on a PPP link. My problem is that at the time > the client is sending the mail, the freeBSD box's only modem is being > used of the dialin, thus it can's dial the internet to do any DNS > stuff, or to talk SMTP to our ISP. > > The result is that sendmail hangs for too long, and the mail client > on the other end of the ppp link times out. > > How can I get sendmail to queue all mail, and only try to do > dnslookups when it is servicing the queue, not when it is accepting > the message ? This is exactly what the ``deferred'' delivery mode for. You can do it in several ways: 1. If you're configuring your sendmail by mean of m4, then add the following line to your .mc file: define(`confDELIVERY_MODE', `deferred') 2. If you're configuring your sendmail by just editing the /etc/sendmail.cf then add the following to it: O DeliveryMode=deferred In both cases, edit your /etc/rc.conf script, find ``sendmail_flags'' option and set the queue process interval to the desired value (option -q). > Is there anywhere on the net with easy to read info about sendmail > configuration ? Sure! 1. cd /usr/src/usr.sbin/sendmail/doc (susbin collection must be installed) 2. lynx http://www.sendmail.org/ (lynx from the Ports collection is required) > Thanks for your help, You're welcome! Regards, -- Ruslan Ermilov System Administrator ru@ucb.crimea.ua United Commercial Bank +380-652-247647 Simferopol, Crimea 2426679 ICQ Network, UIN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message