Hi all.
I'm trying to write a script which will mail any file specified as an
argument, to a specific user. However, I need the mail to be sent
GPG-encrypted. Obviously, I can use
cat file | gpg -e -a -r [EMAIL PROTECTED] | mutt -s "Hello World" [EMAIL PROTECTED]
Or equivalent, but that's a bit messy, and requires significant effort on
the receiving end.
Does anyone have any ideas on how I could get mutt to send a GPG-encoded file
on the command line, so that it appears as a proper encrypted attachment?
The MUA at the receiving end is also mutt, so there's no problem with
broken receiving mailers.
...or is this beyond mutt's intended functionality?
TIA...
--
David Smith Tel: +44 (0)1454 462380 (direct)
STMicroelectronics Fax: +44 (0)1454 617910
1000 Aztec West TINA (ST only): (065) 2380
Almondsbury Home: 01454 616963
BRISTOL Mobile: 07932 642724
BS32 4SQ Work Email: [EMAIL PROTECTED]
Home Email: [EMAIL PROTECTED]