e

elm(1)elm(1)

Subject: this is a test

Copies To: ...

...invokes editor, you compose message, then...

Your options now are:

a)ttachments e)dit message edit h)eader s)end it f)orget it.

What is your choice? s mail sent!

If you "forget" the message, it is saved in $HOME/Canceled.mail.

File Mode with Redirection

To send a ®le by use of command-line redirection, use a command like:

$ elm j_doe < help.c

which reads ®le help.c and sends it with the default subject.

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 ®le simultaneously (usually inadvertently from two separate windows) can cause unpredictable results.

AUTHOR

elm was developed by Hewlett-Packard Company.

FILES

Directory for the user's elm alias, con®guration, header,

$HOME/.elm

 

and other ®les

$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-de®ned additional headers

$HOME/.elm/elmrc

User con®guration ®le

$HOME/Canceled.mail

Canceled message in noninteractive use.

/tmp/alias. pid

Temporary ®le for deleting alias

/tmp/form.pid

Editor buffer for forms message

/tmp/mbox.loginname

Temporary mailbox for user logname

/tmp/print. pid

Temporary ®le 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 ®le for $HOME/.elm/elmrc ®le

/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), ®nger(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)"

Section 1232

− 29 −

HP-UX Release 11i: December 2000