These freeware rexx scripts allows you to easily send/receive encrypted mail with YAM, featuring attachment management (totally hidden) and data compression (several archivers, so you can exchange mail with PC/Unix users too). I wrote these script months ago, for my personal use, and I've been using them for months. They work pretty well and are very comfortable. I'm releasing them because I think they can be useful to other peoples; maybe someone will have ideas to improve them or to implement these features directly in Email programs (YAM2 will have PGP support, but I think it will not have the compression and hidden attachment feature). If you improve this scripts, send me a mail about that. If you base some other prgs/macros on these scripts, please put a reference to me ("Based on YAMandPGP.lha by R. Ragusa") in the doc. You can directly look at the code. You can customize the scripts to your tastes, by modifying the code yourself (window position, paths, strings...). -------------------- HOW TO INSTALL (simple manual operation): 1) Execute these commands makedir YAM:MAILPACKETS makedir YAM:MAILPACKETS/oldmessage makedir YAM:MAILPACKETS/newmessage makedir YAM:MAILPACKETS/newmessage/attachment 2) Modify your s:user-startup (look in s directory for the changes) 3) Copy rexx directory content to YAM:rexx 4) Copy c directory content to c: 5) Modify YAM config to be able to launch the scripts by menus or hotkeys. 6) Eventually install lha, lzx, zip, unzip, tar, gzip, tgz, untgz if you need them. 7) configure your PGP userid in 'YAM:rexx/_1_close_mailpacket.rexx'. Have fun! -------------------- HOW TO USE: _0_new_mailpacket.rexx Use this when you want to start to write an encrypted letter. It clears 'Mnew:'. After that, you can write your text in 'Mnew:mail.txt' using your favourite text editor. If you want to send attachments, too, just copy the files into 'Mnew:'. _1_close_mailpacket.rexx Use this when you have finished writing the text and adding the attachments. It will compress the whole 'Mnew:' dir content in an archive file (a requester will ask you if you want lzx, lha, zip, tar.gz). Then it will let you select the key(s) to which you want to encrypt by means of a MUI program written by J.Kempkes (thank you!). Note: your userid will also be added as recipient to let you reopen the mail, if you properly installed/configured _1_close_mailpacket.rexx. Then it will ask you if you want to encrypt only, or encrypt and sign. Finally YAM will show you the new message edit window; you have to select the recipient address(es) and eventually fill in the subject field. NOTE: if you check the attachments section, you will see the mailpacket linked to the mail. NOTE: your 'Mnew:' dir will not be cleared now. It will be cleared next time you run _0_new_mailpacket.rexx. _2_open_mailpacket.rexx Use this when you want to open an encrypted letter. You will find all the stuff in 'Mold:' dir. The script is rather flexible, so it opens most of the packed/encrypted mails, even if not generated by _1_close_mailpacket.rexx (e.g. hand-generated on a Unix machine). This is the algorithm: 1) detach all attachments, 2) decrypt all crypted files, 3) dearchive all the archive files. The output is written in 'Mold:', with subdirs created for every archive. NOTE: the 'Mold:' content will never be deleted (I mean, only until next time you run _2_open_mailpacket.rexx). References: aminet/comm/misc/mpack-1.5.lha aminet/util/pack/tgz12c.lha