I have changed all execept /etc/mail/access. All local (non fully qualified names) mail stalls while it dials the ISP. Settings are:
/var/log/mail says: "gethostbyaddr(192.168.99.1) failed: 2", then it mails it localy.
/etc/hosts has: 127.0.0.1 localhost # me 127.0.0.2 machine.domain.com machine # me fully qualified
/etc/resolv.conf has: search localhost # me nameserver 207.217.126.81 # the ISP
Go to YaST and System Admistrator, Change Configuration. Then, play
around with
the entries: SENDMAIL_RELAY and/or SENDMAIL_DIALUP
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
__________________________________________________ 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/