root@e1198pdb3 ~# sendmail -v -d8.99 -d38.99 the...@gmail.com
openmap() dequote:dequote NULL: valid
openmap() host:host NULL: valid
getcanonname(gmail.com), trying dns
dns_getcanonname(gmail.com, trymx=1)
dns_getcanonname: trying gmail.com. (AAAA)
NO: errno=111, h_errno=2
dns_getcanonname: trying gmail.com. (A)
NO: errno=111, h_errno=2
dns_getcanonname: trying gmail.com. (MX)
NO: errno=111, h_errno=2
dns_getcanonname: trying gmail.com. (AAAA)
NO: errno=111, h_errno=2
dns_getcanonname: trying gmail.com. (A)
NO: errno=111, h_errno=2
dns_getcanonname: trying gmail.com. (MX)
NO: errno=111, h_errno=2
getcanonname(gmail.com), trying files
text_getcanonname(gmail.com)
getcanonname(gmail.com), failed, status=68
gmail.com: Name server timeout
derf...@gmail.com... Transient parse error -- message queued for
future delivery
closemaps: closing host (NULL)
closemaps: closing dequote (NULL)
First: what you want is usually called a "SMART_HOST", and is normally
programmed from sendmail.mc, then the "make" command is run in /etc/
mail to senerate the new sendmail.cf file. SMART_HOST does *not*
redirect email to local accounts, such as "root": there's another
setting needed for that whose name escapes me. Editing sendmail.cf
directly is asking for pain, and won't properly reload the sendmail
daemon. Secondly, what does /var/log/maillog say about this case? And
third, I find sendmail's configuration tools to be pretty painful, and
have switched by preference to "postfix" a long time ago: postfix also
handles milters a lot more gracefully, so you might just consider
ripping out sendmail and using postfix instead.