| 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 .forward Files (Task Map) Administering .forward Files How to Disable .forward Files How to Change the .forward-File Search Path How to Create and Populate /etc/shells 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 the Queue DirectoriesThis section describes some helpful tasks for queue administration. For information about the client-only queue,
refer to submit.cf Configuration File From Version 8.12 of sendmail. For other related information, you can refer to Additional Queue Features From Version 8.12 of sendmail.  Refer to the following: How to Display the Contents of the Mail Queue, /var/spool/mqueue
Show how many messages are in the queue and how fast they are being
cleared from the queue.Type the following: # /usr/bin/mailq | more This command provides the following information. Additionally, this command now checks for the authorization attribute, solaris.admin.mail.mailq. If the check is
successful, the equivalent of specifying the -bp flag with sendmail is executed. If the check
fails, an error message is printed. By default, this authorization attribute is enabled for all
users. The authorization attribute can be disabled by modifying the user entry in prof_attr. For
more information, refer to the man pages for prof_attr(4) and mailq(1). How to Force Mail Queue Processing in the Mail Queue, /var/spool/mqueueUse this procedure, for example, to process messages to a system that was previously
unable to receive messages. 
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.Force queue processing and display the progress of the jobs as the queue is
cleared.# /usr/lib/sendmail -q -v  How to Run a Subset of the Mail Queue, /var/spool/mqueueUse this procedure, for example, to force a substring of an address, such as
a host name, to be processed. Also, use this procedure to force a particular
message from the queue. 
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.Run a subset of the mail queue at any time with -qRstring.# /usr/lib/sendmail -qRstring stringUse a recipient's alias or a substring of user@host.domain, such as a host name.
 Alternately, you can run a subset of the mail queue with -qInnnnn. # /usr/lib/sendmail -qInnnnn nnnnnUse a queue ID.
 How to Move the Mail Queue, /var/spool/mqueueIf you are moving the mail queue, follow these instructions. 
Become root on the mail host 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.Kill the sendmail daemon. # svcadm disable network/smtp:sendmail Now sendmail is no longer processing the queue directory.Change to the /var/spool directory.# cd /var/spoolMove the directory, mqueue, and all its contents to the omqueue directory. Then create a
new empty directory that is named mqueue.# mv mqueue omqueue; mkdir mqueueSet the permissions of the directory to read/write/execute by owner, and read/execute by group. Also,
set the owner and group to daemon.# chmod 750 mqueue; chown root:bin mqueueStart sendmail.# svcadm enable network/smtp:sendmail How to Run the Old Mail Queue, /var/spool/omqueueTo run an old mail queue, follow these instructions. 
Become 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.Run the old mail queue.# /usr/lib/sendmail -oQ/var/spool/omqueue -q The -oQ flag specifies an alternate queue directory. The -q flag says to run every
job in the queue. Use the -v flag if you are displaying the
verbose output on the screen.Remove the empty directory.# rmdir /var/spool/omqueue |