[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxaxp::vmsnotes

Title:VAX and Alpha VMS
Notice:This is a new VMSnotes, please read note 2.1
Moderator:VAXAXP::BERNARDO
Created:Wed Jan 22 1997
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:703
Total number of notes:3722

455.0. "Merge mail for 2 different systems ??" by STOSS1::DPROSE () Sat Apr 12 1997 12:47

    I have been using 2 different vms systems for many years. Now one of
    them is going to be shutdown. I would like to merge the VMS mail from
    one system to my vaxmail on the second system and the exsisting mail
    that I have on that system.
    
    If anyone has any ideas on how I might be able to do this I would be
    greatfull
    
    thanks
    Dennis
T.RTitleUserPersonal
Name
DateLines
455.1The MOVE command can do thisMOVIES::PALMERSki Forever...Sun Apr 13 1997 16:127
The MOVE command in MAIL works just fine across nodes. Something like:

MAIL> MOVE/ALL <target_folder> NODE"user password"::MYDISK:[USER.MAIL]MAIL.MAI

seems to do the trick for me.

Julian
455.2EPS::VANDENHEUVELHeinMon Apr 14 1997 11:5625
    
    Right, MOVE will work just fine. If the files are already accross
    (in seperate directories) then you can also simply move the MAIL$*MAI
    files together and merge the indexed files. The simplest (and slowest)
    command to do so is: $CONV/MERGE other_mail.MAI MAIL.MAI/STAT/EXCEP=X.MAI
    Perferably you merge them together using an approximate fdl file:
    $SET PROT MAIL.MAI
    $RENA MAIL.MAI MAIL.OLD
    $CONV/SORT/FAST/STAT/EXCEP=X.MAI other_mail.mai,mail.old mail.new/FDL=mail
    $RENA MAIL.NEW MAIL.MAI/LOG
    
    However... you may want to consider whether merging is really what 
    you want. The resulting mail file and directory miay well become
    a bit clumsy to manage. You might be better of just leaving the 
    mail from the other system in it's own directory on your current
    system and using MAIL> SET FILE [.OTHER] to switch to it rapidly.
    Then in a few years, you can backup/blow away that other directory easily.
    
    fwiw,
    	Hein.
    
    
    
    
    
455.3STOSS1::DPROSEMon Apr 14 1997 14:396
    thanks
    
    works great