How to Change the .forward–File
If, for example, you want to put all .forward files in a common
directory, follow these instructions.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2
- 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
Use the file name of your choice.
- Add the following line to the
file that you just created.
If a value for –confFORWARD_PATH already exists in the m4 file, replace
the value with this new value.
- Build and install a new configuration
If you need help with this step, refer to How to Build a New sendmail.cf File.
Note - When you edit the .mc file, remember
to change DOMAIN(`solaris-generic') to DOMAIN(`mydomain').