I've finally got sendmail working all right, except for one detail which has
me completely stumped.

I've changed the Deliverymode parameter to "=q" to have the messages queued
for delivery, and have specified HoldExpensive=True. I've eliminated the
queuewarn and queuereturn timeouts so I don't start getting warnings from
the queued messages. I've also specified my smart relay host in the DS
section.

I connect to my ISP using pon. Once I have my IP I check the route and
everything seems normal. But upon running "sendmail -q -v" I get something
like this:

Running [message ID]
<[EMAIL PROTECTED]>... Deferred: Nameserver: myisp.smart.host lookup
failure.

That happens on all the messages that are not to be delivered locally.

Logic would tell me that my problem is that my DNS is specified incorrectly
in /etc/resolv.conf, but I've already checked and it's correctly specified.
In fact ping and telnet work just fine even though sendmail complains about
DNS errors.

The stranger part is that in my sendmail.cf file I have something like this:

# "Smart" relay host (may be null)
#DSmy.isp.smart.relay
#DSanother.isp.smart.relay
DSand.another.isp.relay

Because when sendmail starts complaining I load up my sendmail.cf, comment
out the active host and uncomment another host... and it works... sendmail
sends my messages as if there was nothing wrong. Next time I boot, sendmail
starts complaining again... so I simply uncomment one of the inactive hosts
and comment out the active one to fix the problem.

It's a solution... but after a while all the commenting and uncommenting
gets annoying.

Ideas, anyone?

-----
//\/\ario //\/\elendez- TI2DLL
[EMAIL PROTECTED]
http://desvelo.cjb.net
Happily running Linux since 10/28/98

Reply via email to