To extract messages do the following:
$MAIL MAIL>
MAIL> set forward "SMTP%""NJF@MSSLSX.MSSL.UCL.AC.UK"""
MAIL> SELECT JOKES %MAIL-I-SELECTED, 15 messages selected
MAIL> EXTRACT/ALL/HEADER VAX_MAIL.TXT %MAIL-I-CREATED, DISK$XXX:[YOU]VAX_MAIL.TXT;1 created MAIL>This example shows how to place a copy of all the messages in the currently selected folder into a sequential ascii text file called JOKES.TXT.
Log into a Unix machine, e.g., msslag
telnet msslag ...
mkdir ~/Mailit doesn't matter if it complains you have one already.
N.B. other mail readers may use a different directory to "Mail" (like "mail" or "nsmail"
prompt% ~pjs1/bin/vms2mutt < vax_mail.txt >! ~/Mail/jokesThis process fixes the "from" date and "From" address and "Subject".
$ rm vax_mail.txt
Command: c=jokesTo get back to your main/received folder type:
Command: c!