mail.local — Store Mail in a Mailbox

Synopsis

/usr/lib/mail.local [-f sender][-d] recipient
					

Description

The mail.local command is used by sendmail(1M) as a mail delivery agent for local mail. It is not a user interface. mail.local reads the standard input up to an end-of-file and appends it to each user's mail file (mailbox).

Messages are appended to the user's mail file in the /var/mail directory. The user must be a valid user name.

Each delivered mail message in the mailbox is preceded by a UNIX From line with the following format.

From sender_address
						time_stamp
					

The sender_address is extracted from the SMTP envelope address (the envelope address is specified with the -f option).

A trailing blank line is also added to the end of each message. ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.