UNIX for OpenVMS Users, Third Edition

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

Highlights

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. This appendix brings together many of the scripting concepts mentioned in Chapter 10, combining DCL from OpenVMS, Korn shell, and Perl. The authors are grateful to Cliff Straw for providing the example.

D.1 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 an OpenVMS mail environment is used in the instructions below:

The OpenVMS...

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.