exmh Tutorial


If you want or need more detailed information, check out the "E-Mail" documention on the UNIX at D0 page. In addtion, the UNIX Mail Systems chapter of the UNIX at Fermilab document is an excellent guide.

The Setup

To setup and invoke exmh as a background process: (for convenience, you might add the first two commands to your .cshrc file)
    % setup exmh 
% setenv DISPLAY your-graphical-terminal:0.0
% exmh &

The exmh application window is very self-explainatory. To get new messages, click on the 'Inc' button of the second menu bar. This produces a list of new mail messages. Then to read a new message, simply click on one of them. From the viewing window, there are menu options for replying, forwarding, sending, deleting, and viewing other messages.

Worth noting:


Converting from VMS

on UNIX:
  % ups list -a mailtools

                All Versions of mailtools

current     --> v2_3               Flavor: NULL
                                   Database: /usr/products/ups_database/declared

                                   Home: /usr/products/mailtools/v2_3

(must use version 2_2 or higher)

on VMS:
  $ sh quota
  User [CALORIM,PERKINS] has 22966 blocks used, 2034 available,
  of 25000 authorized and permitted overdraft of 100 blocks on USR$ROOT4

  $ dir/size=all/grand *.mai;*

Grand total of 1 directory, 500 files, 9380/10759 blocks.
(You must have enough space on unix for all your files. I'll just move a couple of folders as an example.)

  $ mail

MAIL> set fol qcd
%MAIL-I-SELECTED, 60 messages selected

MAIL> extract/all qcdmail
%MAIL-I-CREATED, USR$ROOT4:[PERKINS.MAIL]QCDMAIL.TXT;1 created

MAIL> set fol rap
%MAIL-I-SELECTED, 27 messages selected

MAIL> extract/all rapmail
%MAIL-I-CREATED, USR$ROOT4:[PERKINS.MAIL]RAPMAIL.TXT;1 created

MAIL> exit

  $ dir/sin .txt

Directory USR$ROOT4:[PERKINS.MAIL]

QCDMAIL.TXT;1       RAPMAIL.TXT;1

on UNIX:
  % pwd
/exports/usr/people/perkins

  %ftp d0uta1
Connected to d0uta1.fnal.gov.
220 d0uta1.fnal.gov MultiNet FTP Server Process V3.5(15) at Mon 2-Jun-97 7:49PM-
CDT
Name (d0uta1:perkins):
331 User name (perkins) ok. Password, please.
Password:
230 User PERKINS logged into USR$ROOT4:[PERKINS] at Mon 2-Jun-97 7:49PM-CDT, job
 2a600a32.
Remote system type is VMS.

  ftp> get [.mail]qcdmail.txt qcdmail
local: qcdmail remote: [.mail]qcdmail.txt
200 Port 65.19 at Host 131.225.221.44 accepted.
150 ASCII retrieve of USR$ROOT4:[PERKINS.MAIL]QCDMAIL.TXT;1 started.
226 Transfer completed.  198132 (8) bytes transferred.
198132 bytes received in 1.15 seconds (168.73 Kbytes/s)

  ftp> get [.mail]rapmail.txt rapmail
local: rapmail remote: [.mail]rapmail.txt
200 Port 65.20 at Host 131.225.221.44 accepted.
150 ASCII retrieve of USR$ROOT4:[PERKINS.MAIL]RAPMAIL.TXT;1 started.
226 Transfer completed.  52285 (8) bytes transferred.
52285 bytes received in 0.42 seconds (121.48 Kbytes/s)

  ftp> bye
221 QUIT command received. Goodbye.

  % fvms2mh qcdmail
 Processing Folder: qcdmail
    60 messages processed.

  % fvms2mh rapmail
 Processing Folder: rapmail
    27 messages processed.

  % rm qcdmail rapmail
on VMS:
  $ del QCDMAIL.TXT;1,RAPMAIL.TXT;1
%DELETE-I-FILDEL, USR$ROOT4:[PERKINS.MAIL]QCDMAIL.TXT;1 deleted (392 blocks)
%DELETE-I-FILDEL, USR$ROOT4:[PERKINS.MAIL]RAPMAIL.TXT;1 deleted (105 blocks)
%DELETE-I-TOTAL, 2 files deleted (497 blocks)


Forwarding

on VMS:
  $ mail

MAIL> set forward "smtp%""perkins@d0sgi0.fnal.gov"""
MAIL> exit


Setting Forward on the FNAL Mail Server

It's a good idea to have your mail forwarded from the FNAL mail server as well. This insures that people can reach you using username@fnal.

First, you need to log into FNAL. If you're like me, you have forgotten your password. Send a mail to compdiv@fnal requesting a new one. They will respond within a few minutes.
	$ telnet fnal
	Trying... Connected to FNAL.FNAL.GOV, a DEC-ALPHA running VMS.

	        FNAL - Fermilab Mail Server

        	        Authorized Users Only

	Username: PERKINS
	Password:

        	FNAL - Fermilab Mail Server

	        7 failures since last successful login

	Your password has expired; you must set a new password to log in

	New password:
	Verification:
                                


	         Welcome to FNAL- Fermilab's Central Mail Server

	                    Press CR to continue...
                                                


                             VMS Menu System V3.0
	User: PERKINS                                             Date: 06/11/97
	Forwarding Address: PERKINS@D0UTA2.FNAL.GOV               Time: 11:53 AM

	Fermilab Mail Server Menu

	    F Set Forwarding                       U Unsubscribe from a LISTSERV
	    P Set Password                         X Exit the Menu

	Select Option: F
	


	Please enter your new forwarding address below

	 Supported addressing formats

	 DECnet     Node::User-ID                       OFFSITE::JONES
	 INTERNET   User-ID@Node.domain                 JONES@FNALU.FNAL.GOV
	 Quickmail  User-ID@QMGATE.FNAL.GOV             JONES@QMGATE.FNAL.GOV

	 Please do not enter quotes or standard prefixes (smtp%,IN%...)
	
	 Your current forwarding address is:     PERKINS@D0UTA2.FNAL.GOV

	 Enter forwarding address [ ? for help]: perkins@d0sgi0.fnal.gov
                                                       


	      A message has been sent to your new forwarding address.

	      If you do not receive the message, please take corrective action.
	      If you need assistance, please contact Consulting at Ext. 2345
	
                       Press CR to continue...



                             VMS Menu System V3.0
	User: PERKINS                                             Date: 06/11/97
	Forwarding Address: perkins@d0sgi0.fnal.gov               Time: 11:57 AM

	Fermilab Mail Server Menu

	    F Set Forwarding                       U Unsubscribe from a LISTSERV
	    P Set Password                         X Exit the Menu

	Select Option: X


	  PERKINS      logged out at 11-JUN-1997 11:58:22.50

	Connection closed by Foreign Host
	$

Tutorials | Editing | Compiling | Getting Help

D0 HOME | D0 At Work | UNIX at D0
Last updated on 11 June 1997
Jill Perkins