#### 3.5.2.11 Saving Messages ¶

Mail command: save [[msglist] mailbox] ¶
Mail command: s [[msglist] mailbox] ¶

  Takes a message list and a file or mailbox name and appends each message in turn to that file or mailbox. The syntax for mailbox is the same as for the `file` command (see Mailbox shortcuts). The name of the mailbox and number of lines and characters appended to it is echoed on the terminal. When writing to file, the numbers represent exact number of lines and characters appended to the file. When file specifies a mailbox, these numbers may differ by the amount of lines/characters needed to represent message envelope for that specific mailbox type.

  Each saved message is marked for deletion as if with `delete` command, unless the variable `keepsave` is set.

Mail command: Save [msglist] ¶
Mail command: S [msglist] ¶

  Like `save`, but the file to append messages to is named after the sender of the first message in msglist. The file name is selected as described in saving mail by name. For example:

      ? from 14 15
       U  14 smith@noldor.org Fri Jun 30 18:11  14/358   The Save c
       U  15 gray@noldor.org  Fri Jun 30 18:30  8/245    Re: The Sa
      ? Save 14 15
      "smith" 22/603

  i.e., 22 lines (603 characters) have been appended to the file “smith”. If the file does not exist, it is created.

Mail command: write [[msglist] file] ¶
Mail command: w [[msglist] file] ¶

  Similar to `save`, except that only message body (without the header) is saved. The msglist can contain message parts (see message part specification), in which case only specified message parts will be saved.

Mail command: Write [msglist] ¶
Mail command: W [msglist] ¶

  Similar to `Save`, except that only message body (without the header) is saved. The msglist can contain message parts (see message part specification), in which case only specified message parts will be saved.

Mail command: mbox [msglist] ¶
Mail command: mb [msglist] ¶

  Mark list of messages to be saved in the user’s personal mailbox (see personal mailbox) upon exiting via `quit` command. This is the default action for all read messages, unless you have variable `hold` set.

Mail command: touch [msglist] ¶
Mail command: tou [msglist] ¶

  Touch the specified messages. If any message in msglist is not specifically deleted nor saved in a file, upon normal termination it will be acted upon as if it had been read (see mail message states).

Mail command: copy [[msglist] file] ¶
Mail command: c [[msglist] file] ¶

  Similar to `save`, except that saved messages are not marked as saved.

Mail command: Copy [msglist] ¶
Mail command: C [msglist] ¶

  Similar to `Save`, except that saved messages are not marked as saved.