Sendmail Newbie Question
Posted on 1998-08-22
I have become a sysadmin by default, and know just enough to be dangerous. I have a Sun Sparc-2 antique with Solaris 2.6 which runs just fine. Just added an Ultra-2 workstation, also with 2.6, but the latter can't seem to send mail except to itself. sendmail.cf on the two machines is identical. Both use the same router, which is maintained by a real sysadmin in a different department (who has no clue what is wrong with my machines).
When I run sendmail -d 1 -v email@example.com to see what is happening, the machine which doesn't work right lists the sendmail options and parameters:
verify_mail_server(): remote mode is off
SYSTEM IDENTITY (after readcf):
(short domain name) $w = pinhead
(canonical domain name) $j = $w.$D
(subdomain name) $m =
(node name) $k = pinhead
Note the "remote mode is off" notice. On the machine that works correctly, this line says that remote mode is on. Also, note that the subdomain field is blank; this field is filled in corectly onthe machine that works. I tried setting Mm directly, but it was ignored. Mail to foreign machines bounces back saying that "HELO pinhead" is invalid, which of course it is.
So, the question is, how do you turn "remote mode" on? Where is the subdomain information supposed to come from? Neither machine's sendmail.cf file explicitly defines it, so it is getting picked up from the system somehow. I have looked at comp.mail.sendmail and the sendmail.org web pages and FAQs, but can find no reference to this item.