** Reply to note from "Adrian L. E. Hungate" <[EMAIL PROTECTED]> Mon,
18 May 1998 17:15:45
|
| On Sat, 16 May 1998 19:47:01 MET
| Stefan Ulrich Hegner <[EMAIL PROTECTED]> wrote:
|
| > 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?
|
| 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...
Yes it does. Thanks. Saved me getting the sendmail config stuff and
run all the scripts and so on ... (as suggested on Luca's Website)
However, there is something I don't understand:
I presume the $[ has something to do with the DNS call. Therefore, I
left it in initially, after I configured named as described by Luca
Olivetti on his Webside (Thanx Luca. The DNS Howto was a bit to bogus to
me and the real life example a bit to complicated ...)
Theoretically, it should have worked then already, shouldn't it?
Now I commented the line with the $[ in it and it looks as if I went
through all the hassle of setting up named unnecessarily ... Of course
I learned a lot ...
Luca: I assume I need the dynapatch only, if my provider uses dynamic
addresses - correct?
Cheers guys,
Stefan
/>>>> [EMAIL PROTECTED], [http://www.cam.net.uk/home/hegi] <<<<\
|_____________/ my alternative cyberspace identities & sites: \______________|
| "hegi" alias Stefan U. Hegner, [http://userpage.fhw-berlin.de/~hegi] |
\Alt.Email: [EMAIL PROTECTED], Fachhochschule f"ur Wirtschaft, Berlin, FRG/
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]