This procedure disables .forward files only for a particular host.
Become root.
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 |
Add the following line to the file you just created:
define(`confFORWARD_PATH',`')dnl |
If a line already exists in the domain m4 file that you are using, replace the line.
Build and install a new configuration file.
See "How to Build a New sendmail.cf File" for a complete procedure.