This procedure prevents automated forwarding by disabling the .forward file for a particular host.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
# cd /etc/mail/cf/domain # cp solaris-generic.m4 filename.m4
define(`confFORWARD_PATH',`')dnl
If a value for confFORWARD_PATH already exists in the m4 file, replace the value with this null value.
For more information, see How to Build a New sendmail.cf File.