From: Jack Twilley <jmt+usenet@twilley.org>
Subject: Yet another attempt at more signing
Date: Wed, 27 Mar 2002 05:47:14 -0800 [thread overview]
Message-ID: <86it7i86n1.fsf@duchess.twilley.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1234 bytes --]
I got annoyed with having <#secure ...> as the first line of my
messages so I went looking for another arrangement.
Here's what I came up with:
--begin elisp--
(load "bbdb-pgp" t)
(setq bbdb/pgp-default-action 'sign)
(remove-hook 'message-send-hook 'bbdb/pgp-hook-fun)
(add-hook 'message-send-mail-hook 'bbdb/pgp-hook-fun)
(add-hook 'message-send-news-hook '(lambda ()
(if (not (string= "one.particular.newsgroup" gnus-newsgroup-name))
'mml-secure-message-sign-pgpmime)))
--end elisp--
What that should do is sign all emails I send that aren't to people
who have BBDB entries with "pgp-mail" set to encrypt, and sign all
Usenet posts except those to one particular newsgroup.
Unfortunately, it doesn't work. I get the error message
"The message is corrupted. No mail header separator." when trying to
run the mml-secure-message-sign-pgpmime function in the
message-send-news-hook.
Any suggestions? It would rock if I could somehow stick that
one.particular.newsgroup in a BBDB record and set its "pgp-mail" value
to nil, but I don't think that'd work. :-)
Jack.
--
Jack Twilley
jmt at twilley dot org
http colon slash slash www dot twilley dot org slash tilde jmt slash
[-- Attachment #2: Type: application/pgp-signature, Size: 229 bytes --]
next reply other threads:[~2002-03-27 13:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-27 13:47 Jack Twilley [this message]
2002-03-27 17:49 ` Simon Josefsson
2002-03-28 0:09 ` Jack Twilley
2002-03-28 0:12 ` Paul Jarc
2002-03-28 10:26 ` Simon Josefsson
2002-03-28 18:09 ` Simon Josefsson
2002-03-28 19:25 ` Jack Twilley
2002-03-28 19:40 ` Jack Twilley
2002-03-28 19:46 ` Paul Jarc
2002-03-28 20:56 ` Jack Twilley
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=86it7i86n1.fsf@duchess.twilley.org \
--to=jmt+usenet@twilley.org \
/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).