Solaris 10 本機測試sendmail

執行mconnect,如果Sendmail有正常啟動話,就可用SMTP的指令來進一步測試
# mconnect
connecting to host localhost (127.0.0.1), port 25
connection open
220 sol.ccc.com.tw ESMTP Sendmail 8.14.5+Sun/8.14.5; Wed, 25 Jun 2014 14:31:10 +0800 (CST)

help <--輸入help查看其他的指令
214-2.0.0 This is sendmail version 8.14.5+Sun
214-2.0.0 Topics:
214-2.0.0       HELO    EHLO    MAIL    RCPT    DATA
214-2.0.0       RSET    NOOP    QUIT    HELP    VRFY
214-2.0.0       EXPN    VERB    ETRN    DSN     STARTTLS
214-2.0.0 For more info use "HELP <topic>".
214-2.0.0 To report bugs in the implementation contact Sun Microsystems
214-2.0.0 Technical Support.
214-2.0.0 For local information send email to Postmaster at your site.
214 2.0.0 End of HELP info


執行下列的指令可以查詢Sendmail的資訊
# sendmail -bt -d0 </dev/null
Version 8.14.5+Sun
 Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8
                MIME8TO7 NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS
                NISPLUS PIPELINING SCANF STARTTLS TCPWRAPPERS USERDB
                USE_LDAP_INIT XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = test
  (canonical domain name) $j = test.ccc.com.tw
         (subdomain name) $m = ccc.com.tw
              (node name) $k = test
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>

修改 Ubuntu 20.04 系統時區