🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3658

Re: Sendmail Delivery Options

#3658
From: Peter McDermott
Date: Fri, 06 Aug 1999 00:00
43 lines
3089 bytes
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?

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?
Technical Details
Message-ID: <7oeo3j$67e$1@petermc.demon.co.uk>
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>

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: Peter McDermott <peter@petermc.demon.co.uk>
Subject: Re: Sendmail Delivery Options
Date: 1999/08/06
Message-ID: <7oeo3j$67e$1@petermc.demon.co.uk>
X-Deja-AN: 510397628
X-NNTP-Posting-Host: petermc.demon.co.uk:158.152.22.244
References: <933521112.11557.0.nnrp-10.c2dea8e2@news.demon.co.uk> <m3n1wb7740.meow@hopf.demon.co.uk>
X-Trace: news.demon.co.uk 934154603 nnrp-10:4215 NO-IDENT petermc.demon.co.uk:158.152.22.244
Organization: Nefarious Enterprises
User-Agent: tin/pre-1.4-980618 (UNIX) (Linux/2.2.7 (i686))
Newsgroups: comp.mail.sendmail,comp.os.linux.networking,demon.ip.support.unix,demon.tech.unix
X-Complaints-To: abuse@demon.net