[SLE] Sendmail Dials ISP for Local Mail
Sendmail dials the ISP when starting, and when receiving local mail. I am using the wvdial.dod demand dialer. Local mail delivery is slow, when sendmail dials up the ISP. How do I stop the dial up for local mail?
/var/log/mail says: gethostbyaddr(192.168.99.1) failed: 2
then it mails it localy.
/etc/hosts has: 127.0.0.1 localhost 127.0.0.2 machine.domain.com machine
/etc/resolv.conf has: search localhost nameserver 207.217.126.81
__________________________________________________ Do You Yahoo!? Send online invitations with Yahoo! Invites. http://invites.yahoo.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Sun, 23 Apr 2000, j b wrote:
Sendmail dials the ISP when starting, and when receiving local mail. I am using the wvdial.dod demand dialer.
Local mail delivery is slow, when sendmail dials up the ISP. How do I stop the dial up for local mail?
Go to YaST and System Admistrator, Change Configuration. Then, play around with the entries: SENDMAIL_RELAY and/or SENDMAIL_DIALUP Hope it helps, Alvaro
/var/log/mail says: gethostbyaddr(192.168.99.1) failed: 2
then it mails it localy.
/etc/hosts has: 127.0.0.1 localhost 127.0.0.2 machine.domain.com machine
/etc/resolv.conf has: search localhost nameserver 207.217.126.81
__________________________________________________ Do You Yahoo!? Send online invitations with Yahoo! Invites. http://invites.yahoo.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
"Alvaro A. Novo" wrote:
On Sun, 23 Apr 2000, j b wrote:
Sendmail dials the ISP when starting, and when receiving local mail. I am using the wvdial.dod demand dialer.
Local mail delivery is slow, when sendmail dials up the ISP. How do I stop the dial up for local mail?
Go to YaST and System Admistrator, Change Configuration. Then, play around with the entries:
SENDMAIL_RELAY and/or SENDMAIL_DIALUP
Hope it helps,
Alvaro
Speaking of rc.config (or rather /etc/rc.config.d/sendmail.rc.config for SuSE 6.4), further entries are SENDMAIL_EXPENSIVE="yes" and SENDMAIL_NOCANONIFY="yes". further: SENDMAIL_SMARTHOST="mail.foo.bar" # your providers mailserver SENDMAIL_LOCALHOST="localhost marvin marvin.forty.two" SENDMAIL_RELAY="" I guess some other configuratuion needs to be done in /etc/mail/access like: #127 RELAY 127 OK forty.two OK 192.168.42 OK since missing stuff will cause DNS lookups. sendmail -at least elder versions- wants to resolve all interface names / adresses. For that reason make also sure all used IP-interface addresses are resolved in /etc/hosts. Same for the local network address in /etc/networks. If you have a chance to find out *why* wvdial dials (The ISDN solution to these problems is to install a caching name server (bind8), enable verbose logging and watch the logs) Juergen -- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
juergen.braukmann@ruhr-west.de
-
novo@uiuc.edu
-
test2654@yahoo.com