Forwarding with UNIX mail

@ 12:00

Note: This is not about forwarding of all received mail (see Google for that), but about forwarding of single, selected messages to other recipients from your working local account.

It seems there's no forward command in the list of commands for the standard console mail program (the version I'm using seems to be the Debian mailx program), so in order to forward mail an alternative route is needed.

A related URL: http://www.helpdesk.umd.edu/documentation
/unix/mail.shtml
(or the same page with Google highlighting)

The process is quite simple: what you do is save the message you wish to forward (using the s command), then paste it unindented using the ~r command into the message body of the message you compose for the forwardee (is that the term?).

Like this:

jani@sidx:~$ mail
Mail version 8.1.2 01/15/2001. Type ? for help.
"/var/mail/jani": 1 message 1 new
>N 1 nospam4me@mailbox.com Sat Aug 21 12:13 15/452 Imaginative test
& s 1 imagine.txt
"imagine.txt" [New file]
& m u0100728@hotmail.com
Subject: Fwd: Imaginative test
~r imagine.txt
"imagine.txt" 16/462
Cc:
& q





Kommentit (0):





Kommentointi on suljettu.

« Takaisin pääsivulle