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 Sendmail environment.
- Run the following command:
# systemctl edit sendmail - Add the following lines and save the change:
[Service] Environment="LD_PRELOAD=/opt/trend/imss/lib64 /libTmFoxSocketLib.so" Environment="TM_FOX_PROXY_CONNECT_PORT=2500" Environment="TM_FOX_PROXY_LIST= /opt/trend/imss/config/foxproxy.list"

Note
If IMSS is not installed in the default path (/opt/trend), change the paths in the preceding lines accordingly.Make sure there are no extra trailing spaces in each line.
- Run the following command:
- 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.
- Restart the upstream MTA.
systemctl restart sendmail - Restart FoxProxy.
/opt/trend/imss/script/foxproxyd stop/opt/trend/imss/script/foxproxyd start
- Restart 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.
