JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Network Services
search filter icon
search icon

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)

14.  Mail Services (Reference)

Solaris Version of sendmail

Flags Used and Not Used to Compile sendmail

MILTER, Mail Filter API for sendmail

Alternative sendmail Commands

Versions of the Configuration File

Software and Hardware Components of Mail Services

Software Components

Mail User Agent

Mail Transfer Agent

Local Delivery Agent

Mailers and sendmail

Mail Addresses

Mailbox Files

Mail Aliases

Hardware Components

Mail Host

Mail Server

Mail Client

Mail Gateway

Mail Service Programs and Files

Enhancement for vacation Utility

Contents of the /usr/bin Directory

Contents of the /etc/mail Directory

Contents of the /etc/mail/cf Directory

Contents of the /usr/lib Directory

Other Files Used for Mail Services

Interactions of Mail Programs

sendmail Program

sendmail and Its Rerouting Mechanisms

sendmail Features

sendmail Configuration File

Mail Alias Files

.mailrc Aliases

/etc/mail/aliases File

NIS aliases Map

NIS+ mail_aliases Table

.forward Files

Situations to Avoid

Controls for .forward files

.forward.hostname File

.forward+detail File

/etc/default/sendmail File

Mail Addresses and Mail Routing

Interactions of sendmail With Name Services

sendmail.cf and Mail Domains

sendmail and Name Services

Mail Domains and Name Service Domains

Requirements for Name Services

Interactions of NIS and sendmail

Interactions of sendmail With NIS and DNS

Interactions of NIS+ and sendmail

Interactions of sendmail With NIS+ and DNS

Changes in Version 8.13 of sendmail

Support for Running SMTP With TLS in Version 8.13 of sendmail

Configuration File Options for Running SMTP With TLS

Macros for Running SMTP With TLS

Rule Sets for Running SMTP With TLS

Security Considerations Related to Running SMTP With TLS

Additional Command-Line Options in Version 8.13 of sendmail

Additional and Revised Configuration File Options in Version 8.13 of sendmail

Additional and Revised FEATURE() Declarations in Version 8.13 of sendmail

Changes From Version 8.12 of sendmail

Support for TCP Wrappers From Version 8.12 of sendmail

submit.cf Configuration File From Version 8.12 of sendmail

Functions That Distinguish sendmail.cf From submit.cf

Functional Changes From Version 8.12 of sendmail

Additional or Deprecated Command-Line Options From Version 8.12 of sendmail

Additional Arguments for the PidFile and ProcessTitlePrefix Options From Version 8.12 of sendmail

Additional Defined Macros From Version 8.12 of sendmail

Additional Macros From Version 8.12 of sendmail

Additional MAX Macros From Version 8.12 of sendmail

Additional and Revised m4 Configuration Macros From Version 8.12 of sendmail

Changes to the FEATURE() Declaration From Version 8.12 of sendmail

Changes to the MAILER() Declaration From Version 8.12 of sendmail

Additional Delivery Agent Flags From Version 8.12 of sendmail

Additional Equates for Delivery Agents From Version 8.12 of sendmail

Additional Queue Features From Version 8.12 of sendmail

Changes for LDAP From Version 8.12 of sendmail

Change to the Built-In Mailer From Version 8.12 of sendmail

Additional Rule Sets From Version 8.12 of sendmail

Changes to Files From Version 8.12 of sendmail

sendmail Version 8.12 and IPv6 Addresses in Configuration

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

Mail Addresses and Mail Routing

The path that a mail message follows during delivery depends on the setup of the client system and the topology of the mail domain. Each additional level of mail hosts or mail domains can add another alias resolution, but the routing process is basically the same on most hosts.

You can set up a client system to receive mail locally. Receiving mail locally is known as running sendmail in local mode. Local mode is the default for all mail servers and some clients. On a mail server or a mail client in local mode, a mail message is routed the following way.


Note - The following example assumes that you are using the default rule set in the sendmail.cf file.


  1. Expand the mail alias, if possible, and restart the local routing process.

    The mail address is expanded by checking for the mail alias in the name service and substituting the new value, if a new value is found. This new alias is then checked again.

  2. If the mail is local, deliver the mail to /usr/lib/mail.local.

    The mail is delivered to a local mailbox.

  3. If the mail address includes a host in this mail domain, deliver the mail to that host.

  4. If the address does not include a host in this domain, forward the mail to the mail host.

    The mail host uses the same routing process as the mail server. However, the mail host can receive mail that is addressed to the domain name as well as to the host name.