AIX sendmail subdmain name = NULL


How do I set the subdomain name in sendmail on AIX?
         (subdomain name) $m = <null>

hostname\:/ >echo \$Z | sendmail -d0
Version AIX5.3/8.13.4
 Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8
                MIME8TO7 NAMED_BIND NDBM NETINET NETUNIX NEWDB NIS NISPLUS
                PIPELINING SCANF USERDB USE_LDAP_INIT USE_TTYPATH XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = hostname
  (canonical domain name) $j = domainname.com.au
         (subdomain name) $m = <null>
              (node name) $k = hostname
========================================================

Recipient names must be specified
hairylotsAsked:
Who is Participating?
 
woolmilkporcConnect With a Mentor Commented:
Add to /etc/resolv.conf

domain mydomain.tld

or customize the $m macro in /etc/sendmail.cf like

$mmydomain.tld

If you choose the latter option issue

refresh -s sendmail

after changing semdmail.cf

wmp
0
 
hairylotsAuthor Commented:
Thanks.
Actual solution was to add nodename.domain.tld to the host file for public IP.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.