UNIX for OpenVMS Users, Second Edition

Appendix D: A Procedure for Converting OpenVMS Mail Files to UNIX Mail Files

Ack! Thpft!

Bill the Cat

If you have been an OpenVMS user for any length of time, you may well have accumulated an e-mail history. If you shift your mail address to a UNIX system, you will probably want to bring that history along with you, without having to switch back and forth between operating systems. We have included an "as is" procedure, part of which runs on OpenVMS and part of which runs on UNIX, to duplicate your OpenVMS MAIL files on the UNIX system. While the rest of this book has referenced the Bourne, Korn, or C UNIX shell programs exclusively, one section of this appendix requires Perl, a popular UNIX language designed specifically for writing scripts.

General Instructions

Converting OpenVMS Mail to UNIX Mail

Cliff Straw
6 January 1998

Overview

This document provides a process to convert OpenVMS mail folders to UNIX mail folders in "From" format. UNIX mail folders are used by dtmail, Netscape Communicator, and the mail and mailx commands.

The process converts each folder in an OpenVMS mail file to a UNIX mail folder. The conversion process preserves all of the message header information (Date, From, To, Cc, and Subject).

This is a two-phase process. The first phase executes on an OpenVMS system and extracts all of the folders and mail messages contained in a mail file. The second phase executes on a UNIX system and converts the folders and mail messages to the UNIX mail format.

The following example for...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: E-Mail Software
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.