From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33836 Path: main.gmane.org!not-for-mail From: Nick Papadonis Newsgroups: gmane.emacs.gnus.general Subject: Re: matching headers with gnus-posting-styles Date: 21 Dec 2000 14:57:28 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: <20001221191503.10216.qmail@web2103.mail.yahoo.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169868 27224 80.91.224.250 (21 Oct 2002 03:11:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:11:08 +0000 (UTC) Cc: DING@GNUS.ORG Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id A4E88D049D for ; Thu, 21 Dec 2000 15:03:42 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB26050; Thu, 21 Dec 2000 14:00:11 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 21 Dec 2000 13:59:36 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA15178 for ; Thu, 21 Dec 2000 13:59:26 -0600 (CST) Original-Received: from wash-382.res.umass.edu (wash-382.res.umass.edu [128.119.11.126]) by mailhost.sclp.com (Postfix) with ESMTP id 433A8D049D for ; Thu, 21 Dec 2000 14:59:49 -0500 (EST) Original-Received: (from nick@localhost) by wash-382.res.umass.edu (8.9.3/8.9.3) id OAA02532; Thu, 21 Dec 2000 14:57:28 -0500 X-Authentication-Warning: wash-382.res.umass.edu: nick set sender to nick@coelacanth.com using -f Original-To: lewst In-Reply-To: <20001221191503.10216.qmail@web2103.mail.yahoo.com> Original-Lines: 31 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33836 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33836 I had the same problem with this. I spent 3 hours trying to figure out what was wrong. If you can figure out how to post based on header information let me know. I was trying to change my From: field based on the To: field of the message. GNUS v.5.8.8 Xemacs 21.1.12 >>>>> "lewst" == lewst writes: > Greetings, The following posting style isn't working for me: > (setq gnus-posting-styles '((".*" (signature-file > "~/.signature")) (header "^\\(To\\|CC\\|Cc\\):.*" > ".*sourceforge.net" (signature-file "~/.signature-sf")))) > What I'm trying to do is change my .signature based on who I'm > sending a mail message to. So, if the address in the To: or Cc: > headers has "sourceforge.net" in it, I'd like to use > .signature-sf instead. > With the above, I always get just ".signature" no matter who I'm > sending to. What am I doing wrong? > __________________________________________________ Do You > Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of > Products. http://shopping.yahoo.com/ -- - Nick