On Tue, 15 Sep 2009, Jason wrote:
> damn, here I go again...  however, I've narrowed it down.
> 
> Jason wrote:
> [snip]
> > I've followed the smime howto's, imported my certs, tried .mime.types,
> > .mailcap to no avail.  mutt refuses to decrypt it.  When i select the
> > email, it shows "application/octet-stream".
> > 
> 
> Here's my ${HOME}/.mailcap
> ###############################################################
> application/octet-stream; /home/jason/bin/dump_octet.sh %s; \ needsterminal
> text/html; lynx --dump --force-html %s; copiousoutput
> ###############################################################
> 
> And the shell script calls openssl to decrypt.
> 
> If I 'v'iew an html attachment in an unencrypted email, the above
> mailcap is referenced, and the action performed.  I know this because
> when I remove the '--force-html' the output is raw html.
> 
> When I do the same 'v'iew on a smime.p7m file (application/octet-stream)
>  mutt complains with "No matching mailcap entry found.  Viewing as text."

Just wild guess, what if you press 'm' (edit-mime) instead of <enter>
after pressing 'v'.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3

Reply via email to