This procedure, which prevents automated forwarding, disables the .forward file for a particular host.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services. To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.
Make a copy of /etc/mail/cf/domain/solaris-generic.m4 or your site-specific domain m4 file.
# cd /etc/mail/cf/domain # cp solaris-generic.m4 mydomain.m4 |
Add the following line to the file that you just created.
define(`confFORWARD_PATH',`')dnl |
If a value for confFORWARD_PATH already exists in the m4 file, replace the value 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.
When you edit the .mc file, remember to change DOMAIN(`solaris-generic') to DOMAIN(`mydomain').