Gnus development mailing list
 help / color / mirror / Atom feed
From: Ivan Boldyrev <boldyrev+nospam@cgitftp.uiggm.nsc.ru>
Subject: Re: [gnu.emacs.gnus] Automatically sign/encrypt messages
Date: Wed, 04 Feb 2004 12:37:03 +0600	[thread overview]
Message-ID: <jhg6f1x79q.ln2@ibhome.cgitftp.uiggm.nsc.ru> (raw)
In-Reply-To: <4nfzdst77z.fsf@collins.bwh.harvard.edu>

[-- Attachment #1: Type: text/plain, Size: 724 bytes --]

On 8643 day of my life Ted Zlatanov wrote:
> Is it OK if I make a new function based on the attached message?
>
> I'll call it mml-secure-message-encrypt-or-sign-pgpmime
>
> Feel free to make alternate suggestions or tell me I'm wrong :)

If there is a recipient with key in To and number of recipients
without a keys in Bcc or Cc, the hook will not let send a message
(because it will attempt to encrypt, but fail).

It also useful to check if there is only one recipient in To (and
maybe, try to check every recipient's key; then it worth to process
Cc/Bcc as well).

It's also would be nice to check recipients with regexps...


-- 
Ivan Boldyrev

                        Today is the first day of the rest of your life.

[-- Attachment #2: Type: application/pgp-signature, Size: 480 bytes --]

  parent reply	other threads:[~2004-02-04  6:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-03 17:15 Ted Zlatanov
2004-02-04  6:36 ` Xavier Maillard
2004-02-04  6:37 ` Ivan Boldyrev [this message]
2004-02-05 20:01   ` Ted Zlatanov

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=jhg6f1x79q.ln2@ibhome.cgitftp.uiggm.nsc.ru \
    --to=boldyrev+nospam@cgitftp.uiggm.nsc.ru \
    /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).