Fellow Mutt-fans:

I want to be able to PGP encrypt and send mail
to a recipient from the command line.

In .muttrc I've

        set pgp_autoencrypt

I try:

        mutt -s "hi there" [EMAIL PROTECTED] < plain_textfile

This doesn't work, the plain_textfile arrives as plain
text instead of PGP encrypted.

I've made sure that [EMAIL PROTECTED] is in the public keyring.

This works fine (without prompting for passwords) when
I send my mail using the mutt interface, but I'd really
like to be able to do this by command line.

If not I would have to use _expect_ for sending encryptet
mail automatically. Surely this must be possible ?

Best regards!

-- 
Christian Stigen Larsen -- http://www.sublevel3.org
    [EMAIL PROTECTED]    http://www.stud.ntnu.no/~chrisl/

PGP signature

Reply via email to