-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday, July 28 at 10:13 PM, quoth Michele Martone:
>ehm. one more thing.
>how would you deal with the MTA with the wrapper-based solution ?
Personally? I'd compile mutt with smtp support and be done with it.
>i know only of :
>
>using nbsmtp, in a dangerous way:
> set sendmail="nbsmtp -P password ..."
>
>using ssmtp , in a dangerous way:
> set sendmail="ssmtp -ap password ..."
Well, yes, those are the most obvious.
If you're game for a temp file, you could use gpg (with gpg-agent) to
quickly decrypt a version of their config file for use, and then
delete it... but that'll require an MTA wrapper too (this is as
complex and undesirable a solution as they get, eh?). For example:
#!/bin/sh
gpg --decrypt ~/.msmtprc.gpg -o ~/.msmtprc
msmtp "$@"
retval=$?
rm ~/.msmtprc
exit $retval
Nothing else leaps to mind.
~Kyle
- --
I know God will not give me anything I can't handle. I just wish that
He didn't trust me so much.
-- Mother Theresa
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkiOOpoACgkQBkIOoMqOI17/ZQCeJGqFahZMeg0U1KrYHvUiZUxx
3JkAoMRLeUHAOiPoVdyMxrvDi7b7edkf
=a0aJ
-----END PGP SIGNATURE-----