From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/12031 Path: news.gmane.org!not-for-mail From: Suno Ano Newsgroups: gmane.emacs.gnus.user Subject: pgg-default-user-id with more than one UID Date: Sun, 29 Mar 2009 21:57:44 +0200 Message-ID: <87ocvkrtjb.fsf@sunoano.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0072711720==" X-Trace: ger.gmane.org 1238357214 30672 80.91.229.12 (29 Mar 2009 20:06:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Mar 2009 20:06:54 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Mar 29 22:08:12 2009 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lo1IE-0001Gj-D4 for gegu-info-gnus-english@m.gmane.org; Sun, 29 Mar 2009 22:07:43 +0200 Original-Received: from localhost ([127.0.0.1]:49839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lo1Gr-0004DU-4x for gegu-info-gnus-english@m.gmane.org; Sun, 29 Mar 2009 16:06:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lo1Az-0002X1-S0 for info-gnus-english@gnu.org; Sun, 29 Mar 2009 16:00:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lo1Av-0002VD-Ll for info-gnus-english@gnu.org; Sun, 29 Mar 2009 16:00:13 -0400 Original-Received: from [199.232.76.173] (port=52929 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lo1Av-0002V8-IK for info-gnus-english@gnu.org; Sun, 29 Mar 2009 16:00:09 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:33068 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lo1Au-0005Jh-B9 for info-gnus-english@gnu.org; Sun, 29 Mar 2009 16:00:09 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Lo1Ao-0005P4-W4 for info-gnus-english@gnu.org; Sun, 29 Mar 2009 20:00:03 +0000 Original-Received: from d86-33-47-57.cust.tele2.at ([86.33.47.57]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Mar 2009 20:00:02 +0000 Original-Received: from suno.ano by d86-33-47-57.cust.tele2.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Mar 2009 20:00:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: d86-33-47-57.cust.tele2.at User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) Cancel-Lock: sha1:LptuMFfK3LnXJe1/s/Fvf8d7KvQ= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:12031 Archived-At: --===============0072711720== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= hi folks, I am with up-to-date Gnus/Emacs and I use pgg.el for signing/encrypting email. I am on Debian sid, using GPG (GNU Privacy Guard). I have *two* (instead of just one) OpenPGP UIDs (User IDs) which I would like to use based on what group I am sending email from. `pgg-default-user-id' allows me to specify only one UID which is then applied to each email no matter what group I send it from -- right now I do this with (add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime) However, I use gnus-parameters to treat different groups differently e.g. use different sender addresses etc. I want to use gnus-parameters for selecting my OpenPGP UIDs as well. The info manual mentions `(VARIABLE FORM)' at (Info-goto-node "(gnus) Group Parameters") but then I am simply to inexperienced with elisp to come up the the solution needed to selectively apply either one of my OpenPGP UIDs based on what group I am sending email from. Can anyone help? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknP0rkACgkQSOlKxsDsfjjNjACgiIECaRCdQCIaIRMnNhUiIaEJ g24AoIFMx00+R0P3+NPxDxfXDdJuH9Hl =2SrG -----END PGP SIGNATURE----- --=-=-=-- --===============0072711720== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english --===============0072711720==--