| Document Information Preface Part I Network Services Topics 1.  Network Service (Overview) 2.  Managing Web Cache Servers 3.  Time-Related Services Part II Accessing Network File Systems Topics 4.  Managing Network File Systems (Overview) 5.  Network File System Administration (Tasks) 6.  Accessing Network File Systems (Reference) Part III SLP Topics 7.  SLP (Overview) 8.  Planning and Enabling SLP (Tasks) 9.  Administering SLP (Tasks) 10.  Incorporating Legacy Services 11.  SLP (Reference) Part IV Mail Services Topics 12.  Mail Services (Overview) 13.  Mail Services (Tasks) Task Map for Mail Services Planning Your Mail System Setting Up Mail Services (Task Map) Setting Up Mail Services How to Set Up a Mail Server How to Set Up a Mail Client How to Set Up a Mail Host How to Set Up a Mail Gateway How to Use DNS With sendmail Building the sendmail.cf Configuration File How to Build a New sendmail.cf File Setting SMTP to Use TLS How to Set SMTP to Use TLS Managing Mail Delivery by Using an Alternate Configuration How to Manage Mail Delivery by Using an Alternate Configuration of sendmail.cf Administering Mail Alias Files (Task Map) Administering Mail Alias Files How to Initiate an NIS+ mail_aliases Table How to List the Contents of the NIS+ mail_aliases Table How to Add Aliases to the NIS+ mail_aliases Table From the Command Line How to Add Entries by Editing an NIS+ mail_aliases Table How to Edit Entries in an NIS+ mail_aliases Table How to Set Up an NIS mail.aliases Map How to Set Up a Local Mail Alias File How to Create a Keyed Map File Administering the Queue Directories (Task Map) Administering the Queue Directories How to Display the Contents of the Mail Queue, /var/spool/mqueue How to Force Mail Queue Processing in the Mail Queue, /var/spool/mqueue How to Run a Subset of the Mail Queue, /var/spool/mqueue How to Move the Mail Queue, /var/spool/mqueue How to Run the Old Mail Queue, /var/spool/omqueue Administering .forward Files (Task Map) Troubleshooting Procedures and Tips for Mail Services (Task Map) Troubleshooting Procedures and Tips for Mail Services How to Test the Mail Configuration How to Test the sendmail Rule Sets Resolving Error Messages 14.  Mail Services (Reference) Part V Serial Networking Topics 15.  Solaris PPP 4.0 (Overview) 16.  Planning for the PPP Link (Tasks) 17.  Setting Up a Dial-up PPP Link (Tasks) 18.  Setting Up a Leased-Line PPP Link (Tasks) 19.  Setting Up PPP Authentication (Tasks) 20.  Setting Up a PPPoE Tunnel (Tasks) 21.  Fixing Common PPP Problems (Tasks) 22.  Solaris PPP 4.0 (Reference) 23.  Migrating From Asynchronous Solaris PPP to Solaris PPP 4.0 (Tasks) 24.  UUCP (Overview) 25.  Administering UUCP (Tasks) 26.  UUCP (Reference) Part VI Working With Remote Systems Topics 27.  Working With Remote Systems (Overview) 28.  Administering the FTP Server (Tasks) 29.  Accessing Remote Systems (Tasks) Part VII Monitoring Network Services Topics 30.  Monitoring Network Performance (Tasks) Glossary Index |       	 
             
Administering .forward FilesThis section contains several procedures that are related to .forward file administration. Because these
files can be edited by users, the files can cause problems. For more information,
refer to .forward Files in Chapter 14, Mail Services (Reference). Refer to the following: How to Disable .forward FilesThis 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 mydomainUse the file name of your choice.
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. 
 Note - When you edit the .mc file, remember to change DOMAIN(`solaris-generic') to DOMAIN(`mydomain'). 
 How to Change the .forward–File Search PathIf, for example, you want to put all .forward files in a common directory,
follow these instructions. 
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 mydomainUse the file name of your choice.
Add the following line to the file that you just created.define(`confFORWARD_PATH',`$z/.forward:/var/forward/$u')dnl 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 file.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'). 
 How to Create and Populate /etc/shellsThis file is not included in the standard release. You must add the file
 if users are to be allowed to use .forward files to forward mail
to a program or to a file. You can create the file manually by
using grep to identify all of the shells that are listed in your password
file. You can then type the shells into the file. However, the following procedure, which
employs a script that can be downloaded, is easier to use. 
Download the script.http://www.sendmail.org/vendor/sun/gen-etc-shells.htmlBecome root 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.To generate a list of shells, run the gen-etc-shells script.# ./gen-etc-shells.sh > /tmp/shells This script uses the getent command to collect the names of shells that
are included in the password file sources that are listed in /etc/nsswitch.conf.Inspect and edit the list of shells in /tmp/shells.With the editor of your choice, remove any shells that you are not including.Move the file to /etc/shells.# mv /tmp/shells /etc/shells |