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...

--
----------------------------------------------------------------
   Adrian L. E. Hungate    --    http://www.tlspu.demon.co.uk
----------------------------------------------------------------
Tagline for May 18, 1998

Virtuoso: A musician with very high morals.
----------------------------------------------------------------
 OnLine Services    --    http://www.onlineservices.demon.co.uk
----------------------------------------------------------------


Paladin IMAP4 Email. Available from: http://www.paladincorp.com.au/

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

Reply via email to