🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3660

Re: Sendmail Delivery Options

#3660
From: G. Roderick Singleton
Date: Mon, 09 Aug 1999 00:00
61 lines
3860 bytes
Peter McDermott wrote:
> 
> In demon.ip.support.unix stefan the exiled <smd@hopf.demon.co.uk> wrote:
> >>>>>> "Andrew" == Andrew Taylor <news@hot-shot.demon.co.uk> wrote:
> 
> >    Andrew> I have a 99% working sendmail config on a Mandrake 6
> >    Andrew> box. What makes Sendmail queue it's external mail until my
> >    Andrew> ppp connection is up but deliver internal mail imediatley?
> 
> > The default setup AFAIK.  If the ppp connection isn't up sendmail
> > should simply queue external mail anyway because it can't look them up
> > in DNS or connect to the host.
> 
> > The only thing you might want to do is ensure sendmail isn't running
> > the queue every 15 minutes, or whatever, by making sure it starts as
> > just `sendmail -bd' rather than `sendmail -bd -q15', and then just run
> > the queue when you connect with `sendmail -q' in /etc/ppp/ip-up.
> 
> I've got a question here. Two questions, in fact. One a sendmail
> question, one a suck question.
> 
> I configured my current set-up using the very helpful guides
> on www.hopf.demon.co.uk, and it works rather well, but for two
> things.
> 
> At the moment, I'm using kppp to initiate a ppp connection. When
> I initially connect, none of the mail can get through, because
> I've got sendmail set to check the mail domains resolve properly,
> but the punts seem to attempt delivery before access to demon's
> dns servers kicks in. So sendmail just keeps refusing to deliver,
> offering up continuous 'cannot resolve' messages in the mail log.
> 
> I kill the sendmail demon, and then re-launch it, and everything
> is fine. So, my question is, is there some way I can stop the
> punts from attempting to deliver immediately, or does anyone have
> any other clues what I should do to fix this?
> 

The the tip at http://www.harker.com/sendmail/smtpdemanddial.html

You may have to tweak for 8.9.x but the idea is sound.


> Question number two, is my suck question. For some reason,
> I can't seem to run suck from within a script. I've tried to
> call it from withing ip-up, I've tried it from a script of
> it's own. Nada. I'm probably missing something completely
> obvious, but I've no idea what it might be. It runs fine if
> I just type the same command by hand.
> 
> Clues please?

I think you've been caught by insufficient configuration. The following
section of the FAQ should get you on track:
http://www.sendmail.org/faq/section3.html#3.11
-- 
________________________________________________________________________________
G. Roderick Singleton, <gerry@pathtech.org> PATH tech,
71 Underhill Drive, Unit 159, Toronto, ON  M3A 2J8
Voice : 416-452-4583 Fax: 416-452-0036
________________________________________________________________________________
Technical Details
Message-ID: <37AEBE41.DD7@pathtech.org>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <933521112.11557.0.nnrp-10.c2dea8e2@news.demon.co.uk> <m3n1wb7740.meow@hopf.demon.co.uk> <7oeo3j$67e$1@petermc.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10669a,d9f3a472d832d14c
X-Google-Attributes: gid10669a,public
X-Google-Thread: fac57,d9f3a472d832d14c
X-Google-Attributes: gidfac57,public
X-Google-Thread: 10de99,d9f3a472d832d14c
X-Google-Attributes: gid10de99,public
X-Google-Thread: 108f6a,d9f3a472d832d14c
X-Google-Attributes: gid108f6a,public
From: "G. Roderick Singleton" <gerry@pathtech.org>
Subject: Re: Sendmail Delivery Options
Date: 1999/08/09
Message-ID: <37AEBE41.DD7@pathtech.org>
X-Deja-AN: 510561095
Content-Transfer-Encoding: 7bit
References: <933521112.11557.0.nnrp-10.c2dea8e2@news.demon.co.uk> <m3n1wb7740.meow@hopf.demon.co.uk> <7oeo3j$67e$1@petermc.demon.co.uk>
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.on.wave.home.com 934198849 24.114.0.17 (Mon, 09 Aug 1999 04:40:49 PDT)
Organization: PATH tech
MIME-Version: 1.0
NNTP-Posting-Date: Mon, 09 Aug 1999 04:40:49 PDT
Newsgroups: comp.mail.sendmail,comp.os.linux.networking,demon.ip.support.unix,demon.tech.unix