On Thu, 18 Mar 1999, Michael Perry wrote:
>
> It seems that sendmail either works flawlessly or it starts exhibiting
> bizarro behavior here. I have a real basic setup which is a dialup
> connection via a modem with only one system. My /etc/hosts file is:
>
> 127.0.0.1 localhost
> 207.167.85.183 mperry.basin.com mperry
>
> My resolv.conf is
>
> domain znet.com
> nameserver 207.167.67.1
> nameserver 207.167.80.19
>
> Thats it. Now when I attempt to use localhost smtp, sendmail queues
> every last piece of email I sent with host name deferred lookup and I
> have to force a send with sendmail -q. I have the default sendmail
> installed and working with the switch -bd -q30m -om. If I remove the
> word "localhost" from pine and use no default value and remove it from
> tkrat, all email goes out immediately.
I assume you told sendmail to queue outgoing mail
(SENDMAIL_EXPENSIVE=yes) in YaST?
Just use "-bd -om" as the sendmail args and flush the queue with
"sendmail -q" from your ip-up script or wherever when you go online.
You should also have the line "Cw localhost" in your /etc/sendmail.cf
file (SENDMAIL_LOCALHOST=localhost in YaST should set this).
That should fix it, although I'm not sure which version of sendmail is
shipped with SuSE now, since I maintain mine separately to the
distribution.
>From 8.9.0, sendmail needs an /etc/service.switch file to control DNS
lookups, and decide which mail to queue and which to process directly.
Mine looks like this
# /etc/service.switch
aliases files
hosts files dns
--
Philip Stokes Email: [EMAIL PROTECTED]
Fax: +44 (0)870 164 1242
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html