HP-UX Reference (11i v2 07/12) - 1 User Commands A-M (vol 1)
e
elm(1) elm(1)
File Mode with a Pipe
To mail the output of a command and include a subject line:
$ ls -a | elm -s "Directory Listing" j_doe
WARNINGS
Using two separate mail programs to access the same mail file simultaneously (usually inadvertently from
two separate windows) can cause unpredictable results.
The length of the subject string (used with the
-s command line option) and filenames (used with the -f
and -i command line options) is limited to 255 characters. If the length exceeds this limit, the strings will
be truncated to 255 characters.
AUTHOR
elm was developed by Hewlett-Packard Company.
FILES
$HOME/.elm Directory for the user’s
elm alias, configuration, header,
and other files
$HOME/.elm/aliases
User alias database data table
$HOME/.elm/aliases.dir
User alias database directory table
$HOME/.elm/aliases.pag
User alias database hash table
$HOME/.elm/aliases.text
User alias source text
$HOME/.elm/elmheaders
User-defined additional headers
$HOME/.elm/elmrc User configuration file
$HOME/Canceled.mail
Canceled message in noninteractive use.
/tmp/alias. pid Temporary file for deleting alias
/tmp/form. pid Editor buffer for forms message
/tmp/mbox. loginname Temporary mailbox for user logname
/tmp/print. pid Temporary file for printing message
/tmp/snd.pid Outgoing mail message edit buffer
/tmp/sndh. pid Outgoing mail header edit buffer
/usr/lib/nls/msg/C/elm.cat
Location of the message catalog
/usr/share/lib/elm/elmrc-info
Comment file for $HOME/.elm/elmrc file
/var/mail Directory for incoming mail;
it must have mode 755 and group ID mail
/var/mail/.elm
Directory for elm
mailer system aliases
/var/mail/.elm/aliases
System alias database data table
/var/mail/.elm/aliases.dir
System alias database directory table
/var/mail/.elm/aliases.pag
System alias database hash table
/var/mail/.elm/aliases.text
System alias source text
/var/mail/ loginname Incoming mailbox for user;
it must have mode 660 and group ID mail
/var/mail/
loginname.lock Lock for mail directory
SEE ALSO
answer(1), chfn(1), elmalias(1), fastmail(1), finger(1), mailfrom(1), newalias(1), newmail(1), readmail(1),
vi(1), sendmail(1M), passwd(4), terminfo(4), environ(5).
RFC 821 "Simple Mail Transfer Protocol (SMTP)"
RFC 822 "Standard for the Format of Internet Text Messages"
RFC 1341 "MIME (Multipurpose Internet Mail Extensions): Mechanisms for Specifying and Describing the
Format of Internet Message Bodies"
RFC 1521 "MIME (Multipurpose Internet Mail Extensions) Part One: Mechanisms for Specifying and
Describing the Format of Internet Message Bodies"
RFC 1522 "MIME (Multipurpose Internet Mail Extensions) Part Two: Message Header Extensions for
Non-ASCII Text"
HP-UX 11i Version 2: December 2007 Update − 30 − Hewlett-Packard Company 305