From: Nicolas Kowalski <Nicolas.Kowalski@imag.fr>
Subject: Re: automatic smime signing/verifying ?
Date: Thu, 24 Oct 2002 17:31:41 +0200 [thread overview]
Message-ID: <vqobs5jx38i.fsf@astazou.imag.fr> (raw)
In-Reply-To: <vqohefbsx9u.fsf@astazou.imag.fr> (Nicolas Kowalski's message of "Thu, 24 Oct 2002 16:54:05 +0200")
Nicolas Kowalski <Nicolas.Kowalski@imag.fr> writes:
> David S Goldberg <david.goldberg6@verizon.net> writes:
>
>> Not sure about automatically adding the mml for signing (probably can
>> be done with message-setup-hook or something, though) but for
>> automatic detection and verification of signatures I use:
>>
>> (setq mm-verify-option 'always)
>> mm-decrypt-option 'always)
>
> This does not work for me. I still have to hit 'W S' to make Gnus
> verify smime signatures.
Silly me. It works : the mime buttons did not show up, that's all...
Sorry for wasting your time :-(.
My configuration for the initial request is the following, and seems
to work well, but the gnus-buttonized-mime-types setup looks bad,
isn't it ?
;;
;; smime verify/sign messages
;;
;; view smime parts by default
(setq gnus-buttonized-mime-types nil)
(add-to-list 'gnus-buttonized-mime-types "multipart/signed")
(add-to-list 'gnus-buttonized-mime-types "multipart/encrypted")
;; regexp of groups from which new messages are smime signed by default
(setq my-sign-smime-group-regexp "^\\(INBOX.\\|\\)mail.work")
;; hook to setup message
(defun my-mml-secure-message-sign-smime ()
(when (string-match
my-sign-smime-group-regexp
gnus-newsgroup-name)
(mml-secure-message-sign-smime)))
;; plug this into message-setup-hook
(add-hook 'message-setup-hook 'my-mml-secure-message-sign-smime)
--
Nicolas
next prev parent reply other threads:[~2002-10-24 15:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-24 14:05 Nicolas Kowalski
2002-10-24 14:22 ` David S Goldberg
2002-10-24 14:54 ` Nicolas Kowalski
2002-10-24 15:28 ` Simon Josefsson
2002-10-24 15:31 ` Nicolas Kowalski [this message]
2002-10-24 15:41 ` David S Goldberg
2002-10-27 1:26 ` Clemens Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vqobs5jx38i.fsf@astazou.imag.fr \
--to=nicolas.kowalski@imag.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).