Views:

Procedure

  1. Modify the first Sendmail to receive SMTP traffic only from FoxProxy.
    1. Change the DAEMON_OPTIONS settings in the sendmail.mc file into the following:
      DAEMON_OPTIONS(`Port=2500, Addr=127.0.0.1, Name=MTA')dnl
    2. Run the following command for the sendmail.cf file to take effect:
      # m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
  2. Modify the properties of Sendmail.
    1. List the properties.
      ll /usr/sbin/sendmail.sendmail
      -rwxr-sr-x 1 root smmsp 746328 Jan 22 2007 /usr/sbin/sendmail.sendmail
    2. Delete the SGID bit.
      chmod g-s /usr/sbin/sendmail.sendmail
    3. Change the group used by Sendmail.
      chgrp root /usr/sbin/sendmail.sendmail
    4. Verify the properties.
      ll /usr/sbin/sendmail.sendmail
      -rwxr-xr-x 1 root root 746328 Jan 22 2007 /usr/sbin/sendmail.sendmail
  3. Modify the foxlibd script in the /opt/trend/imss/script directory.
    1. Set the TM_FOX_UID parameter to the ID of the user used by Sendmail.
      TM_FOX_UID=0
    2. Set the TM_FOX_GID parameter to the ID of the group used by Sendmail.
      TM_FOX_GID=0
    3. (Optional) If you are using Red Hat (64-bit), set the LD_PRELOAD parameter as follows:
      LD_PRELOAD=/opt/trend/imss/lib64/libTmFoxSocketLib.so
    4. Add the following two lines after the line containing export LD_LIBRARY_PATH:
      TM_FOX_PROXY_CONNECT_PORT=2500
      export TM_FOX_PROXY_CONNECT_PORT
  4. Modify the foxproxy.ini configuration file in the /opt/trend/imss/config directory.
    1. Change the value of the has_foxlib_installed parameter from 0 to 1.
      has_foxlib_installed=1
  5. Restart Sendmail and FoxProxy using the foxlibd script.
    1. Stop the upstream MTA.
      /opt/trend/imss/script/foxlibd stop
      If the following error message appears, ignore it:
      "ERROR: ld.so: object '/opt/trend/imss/lib
      /libTmFoxSocketLib.so' from LD_PRELOAD cannot be
            preloaded: ignored."
    2. Restart the upstream MTA.
      /opt/trend/imss/script/foxlibd start
      If the error message mentioned in the preceding step appears, ignore it.
    3. Restart FoxProxy.
      /opt/trend/imss/script/foxproxyd stop
      /opt/trend/imss/script/foxproxyd start
    4. Restart the sendmail.
      #/etc/init.d/sendmail restart
      #/etc/init.d/sendmail_delivery restart
  6. Verify the installation using a test server.
    1. Test the connection to the IMSS server.
      telnet <IMSS server address> 25
      ehlo imss
      Note
      Note
      The IMSS server and test server addresses must be in the same subnet.
    2. Check if the response contains the test server address.
      The installation is unsuccessful if the response contains the string 127.0.0.1.