On Mon, 18 May 1998, Adrian L. E. Hungate wrote:

> On    Sat, 16 May 1998 19:47:01 MET
> Stefan Ulrich Hegner <[EMAIL PROTECTED]> wrote:
> 
> 
> > Hi there,
> > I successfully got my diald running on my local net router to
> > provide
> > a number of clients with on-demand internet access. However, I
> > encountered
> > a nasty problem:
> > 
> > Everytime sendmail is called (be it by an smtp transfer or even for
> > distributing local mail) diald connects me to my provider. However,
> > I'd rather have it to connect only for set times for mail sending.
> > Is there a way to implement that?
> > 
> > I got diald 0.16, ppp 2.2.0 and kernel 2.0.30 running.
> > 
> > Your help is very much appreciated.
> > 
> > Cheers,
> > 
> > Stefan.
> > 
> > 
> 
> I am using sendmail 8.8.7 with RedHat 5.0
> 
> The solution I found was as follows:
> 
> Set the option "O HoldExpensive=True", then add the flag (F=) 'e' to the 
> 4 smtp mailers (Msmtp, Mesmtp, Msmtp8 and Mrelay).
> 
> This will hold all outgoing emails until the queue is next run.
> 
> Then search for the characters $[ and comment out each line it occurs in.
> 
> Simple as that. If you start sendmail with 'sendmail -bd -q1h' then the 
> queue gets processed every hour. If you leave off the '-q1h' then the 
> queue never gets run, and you could put 'sendmail -q' in your ip-up 
> script (Or other script that gets run as IP comes up)
> 
> Hope that helps.
> 
> Adrian...
> 

Hmm, just a thought to add to that (Something I just got bitten by).

Once you have setup sendmail like this, it can't do DNS lookups to find
out the MXs (Mail Exchangers) for your outgoing emails, but it must send
them somewhere. To get around this, it sends them to the host(s) that it
sees emails coming in from. This is fine if your ISPs store & forward
mails servers allow you to send outgoing email through them. I use Demon
Internet, who DON'T! Email comes in from one or more of punt1, punt2,
punt3 .... you get the idea, but you can only send emails out via post,
otherwise you get a rude message and a bounce!!.

The answer to this, if it describes your situation, is to find the name of
your ISPs OUTGOING mail server, and put it in as the "Smart" relay host,
ie: 

DSpost.demon.co.uk

Would work if you are a Demon Internet subscriber.

Sorry for any confusion I may have caused.

Adrian Hungate...


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to