| <[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?
|
| Sendmail loves dns; it's ALWAYS doing host lookups, even when it doesn't
| really need to.
|
| I've only found 2 solutions ot this problem:
|
| 1) Set up sendmail to queue all incoming mail. Then run "sendmail -q"
| periodically.
|
| 2) Run named and set up your own local domain. If done right, sendmail
| will not bring up the link for delivering local mail, but will for outoging
| mail. You can then configure your smtp mailer as expensive, and then
| sendmail should queue outgoing mail but deliver local mail immediately.
|
| -- Phelix
Option 1) works fine already. Thanks a lot!
Regarding option 2) I had a look at named and the config scripts etc and
I find the whole thing a bit confusing. Is there anyone who can give me
a hint on a quick and easy one-off setup for the above purpose?
I run a local class C net, 192.168.1.1 being the Linux router with diald,
sendmail and so on. My domain is dialup.fu-berlin.de, the next higher=
non-local domain is fu-berlin.de and there are three nameservers:
160.45.8.8, 160.45.10.12 and 130.133.1.57.
Therefore, I presume I need only a very simple setup file to do the job.
Furthermore, I asumme I put the named call into something like
/etc/rc.d/rc.local or /sbin/init.d/boot.local?
Thanx a million in advance!
Cheers,
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]