How to update Sendmail

From Wiki-UX.info
Jump to: navigation, search

Abstract[edit]

Obtain the latest Sendmail version[edit]

HP-UX 11.0[edit]

HP-UX 11.11 / 11.23[edit]

Install the product[edit]

Install the bundle from the product on the server (11.0/11.11/11.23)

# uname -a
HP-UX rx260-17 B.11.23 U ia64 3250938661 unlimited-user license

# cd /var/tmp

# ll *.depot
-rw-r--r--   1 root       sys        10014720 Jul 30 14:22 Sendmail-Upgrade_B.11.23.1.005_HP-UX_B.11.23_IA_PA.depot
# swinstall -s /var/tmp/Sendmail-Upgrade_B.11.23.1.005_HP-UX_B.11.23_IA_PA.depot \* @

=======  07/30/08 14:24:06 EDT  BEGIN swinstall SESSION
         (non-interactive) (jobid=rx260-17-0007)

       * Session started for user "root@rx260-17".

       * Beginning Selection
       * Target connection succeeded for "rx260-17:/".
       * Source:
         /var/tmp/Sendmail-Upgrade_B.11.23.1.005_HP-UX_B.11.23_IA_PA.depot

       * Targets:                rx260-17:/
       * Software selections:
             Sendmail-Upgrade,r=B.11.23.1.005,a=HP-UX_B.11.23_IA/PA,v=HP
             PHNE_31734.INETSVCS2-RUN,r=1.0,a=HP-UX_B.11.23_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.23_IA
             SMAIL-IDENT.INET-IDENT,r=B.11.23.1.005,a=HP-UX_B.11.23_IA/PA,v=HP,fr=B.11.23.1.005,fa=HP-UX_B.11.23_IA/PA
             SMAIL-IDENT.INET2-IDENT,r=B.11.23.1.005,a=HP-UX_B.11.23_IA/PA,v=HP,fr=B.11.23.1.005,fa=HP-UX_B.11.23_IA
             SMAIL-UPGRADE.INET-SMAIL,r=B.11.23.1.005,a=HP-UX_B.11.23_IA/PA,v=HP,fr=B.11.23.1.005,fa=HP-UX_B.11.23_IA/PA
             SMAIL-UPGRADE.INET2-SMAIL,r=B.11.23.1.005,a=HP-UX_B.11.23_IA/PA,v=HP,fr=B.11.23.1.005,fa=HP-UX_B.11.23_IA
       * Selection succeeded.


       * Beginning Analysis and Execution
       * Session selections have been saved in the file
         "/.sw/sessions/swinstall.last".
       * The analysis phase succeeded for "rx260-17:/".
       * The execution phase succeeded for "rx260-17:/".
       * Analysis and Execution succeeded.


NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log rx260-17-0007 @ rx260-17:/".

=======  07/30/08 14:24:43 EDT  END swinstall SESSION (non-interactive)
         (jobid=rx260-17-0007)
# sendmail -bs
220 rx260-17.usa.hp.com ESMTP Sendmail @(#)Sendmail version 8.13.3 - Revision 1.005 - 15 November 2007/8.11.1; Wed, 30 Jul 2008 14:25:06 -0400 (EDT)

# what /usr/sbin/sendmail
/usr/sbin/sendmail:
        $Debug: leak_q - trace memory leaks during queue processing $
        $Debug: leak_smtp - trace memory leaks during SMTP processing $
        $Debug: ANSI - enable reverse video in debug output $
        $Debug: no_persistent_restart - don't restart, log only $
        Sendmail version 8.13.3 - Revision 1.005 - 15 November 2007
        $Debug: sm_abort_stop - stop process on fatal error $
        $Debug: sm_check_assert - check assertions $
        $Debug: sm_check_require - check function preconditions $
        $Debug: sm_check_ensure - check function postconditions $
        $Debug: sm_trace_ldap - trace LDAP operations $
        $Debug: sm_xtrap_report - report xtrap count on exit $
        $Debug: sm_xtrap - raise exception at N'th xtrap point $
        $Debug: sm_heap_limit - max # of bytes permitted in heap $
        $Debug: sm_check_heap - check sm_malloc, sm_realloc, sm_free calls $

Reference[edit]

Authors[edit]