From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47401 Path: main.gmane.org!not-for-mail From: Nicolas Kowalski Newsgroups: gmane.emacs.gnus.general Subject: Re: automatic smime signing/verifying ? Date: Thu, 24 Oct 2002 17:31:41 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035473519 9830 80.91.224.249 (24 Oct 2002 15:31:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2002 15:31:59 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 184jxl-0002YK-00 for ; Thu, 24 Oct 2002 17:31:58 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 184jxt-0006tK-00; Thu, 24 Oct 2002 10:32:05 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 24 Oct 2002 10:32:47 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id KAA27202 for ; Thu, 24 Oct 2002 10:32:32 -0500 (CDT) Original-Received: (qmail 19796 invoked by alias); 24 Oct 2002 15:31:45 -0000 Original-Received: (qmail 19791 invoked from network); 24 Oct 2002 15:31:44 -0000 Original-Received: from imag.imag.fr (129.88.30.1) by gnus.org with SMTP; 24 Oct 2002 15:31:44 -0000 Original-Received: from pave.imag.fr (pave.imag.fr [129.88.43.12]) by imag.imag.fr (8.11.6/8.11.6) with ESMTP id g9OFVgo25126 for ; Thu, 24 Oct 2002 17:31:42 +0200 (MEST) Original-Received: from astazou ([129.88.43.102] helo=astazou.imag.fr.imag.fr ident=kowalski) by pave.imag.fr with esmtp (Exim 4.10) id 184jxV-000MtG-00 for ding@gnus.org; Thu, 24 Oct 2002 17:31:41 +0200 Original-To: ding@gnus.org X-Face: #v^9{p"~.e3TDs~r\ (Nicolas Kowalski's message of "Thu, 24 Oct 2002 16:54:05 +0200") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Common Lisp, i386-debian-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47401 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47401 Nicolas Kowalski writes: > David S Goldberg 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