Retrieve
Unix Attachment
If the file is from one SLAC user to another SLAC user then tell
them to share the file with the Windows or Unix file system and to
not use e-mail for this. However, normally you will find the file is
from an offsite user and you can get these files out for the SLAC
person as long as it is for business purposes.
- Connect to Quarantine Database. Login to the system (nospam2, nospam3,
nospam5) identified in the attachment given to you by user
or if not provided by the user, you can go to the Web Admin
console on the CSM/DB server
(https://mailgate02.slac.stanford.edu:18080).
- Become root;
- su - pmx6 to become the pmx6 user;
- Start the quarantine management with a
parameter stating to get the last 20K messages (this is usually
enough for the last day or two): pmx-qman --max-messages 150000
- Finding the Message. After it has read the quarantine you will format a command
to find the message(s) you are looking for. In this example we
are finding all messages addressed to
lepimpec@slac.stanford.edu. You will see suggestions for
formatting your query if you enter ? after the quarantine has
been read.
- Saving the Message to Disk. Assuming the message you are looking for is seen after
pressing the 'l' key (for list) then you will use the "save" command to save to disk. We usually take the default for
name and location of file. We are in the "pmx6" user local home directory
(/home/pmx6) and we overwrite ("w") any existing file.
Type
'quit' to leave the PMX Quarantine Management software. You now
have the original message sitting in the pmx6 home directory
(/home/pmx6) and
you need to open it to pull the attachment out.
- Copy Message to Unix Home Directory and Save Attachment
- You will be using Pine to open the message and save the
attachment to disk.
- Copy the message to your own AFS home directory
(e.g. cp pmx-qman.mbox ~rkau/mbox);
- Type 'exit' to leave the pmx6 user;
- Type 'exit' to leave the root user;
- Get into your unix home directory (e.g. cd ~rkau);
- Type 'Alpine' to open the alpine mail software;
- When Pine opens enter 'i' (for Index);
- Type '>' (to view message);
- Type '>' (to view attachments);
- Move
cursor to highlight the attachment you want and press the 's'
key (for Save) and hit return to take the same name;
- You can
type 'q' (for Quit) and press Enter to exit Pine now.
- Copy to Windows for Virus Scan. Use your favorite
Secured file Transfer program (SecureFX, WinSCP, etc) on your Windows computer to copy the file to the Windows file system. It
should be automatically virus scanned as it is placed on disk
but it's always safer if the file(s) is manually scanned.
- You can place the file(s) in the Windows network DropBox area
(i.e. "V:\SCS\Desktop\Pickup\XXXXXX") or wherever is
accessible to the user. Notify the user it is now in file system for them. You
should erase it after a few days or whenever they tell you they
have retrieved a copy of it.
|