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