This procedure, which prevents automated forwarding, disables the .forward file for a particular host.
Become root or assume an equivalent role.
For information about roles, refer to “Using Privileged Applications” in System Administration Guide: Security Services.
Make a copy of /usr/lib/mail/domain/solaris-generic.m4 or your site-specific domain m4 file.
# cd /usr/lib/mail/domain # cp solaris-generic.m4 mydomain.m4 |
mydomain |
Use the file name of your choice. |
Add the following line to the file you just created.
define(`confFORWARD_PATH',`')dnl |
If a value for confFORWARD_PATH already exists in the m4 file, replace it with this null value.
Build and install a new configuration file.
If you need help with this step, refer to How to Build a New sendmail.cf File.