From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33834 Path: main.gmane.org!not-for-mail From: lewst Newsgroups: gmane.emacs.gnus.general Subject: matching headers with gnus-posting-styles Date: Thu, 21 Dec 2000 11:15:03 -0800 (PST) Sender: owner-ding@hpc.uh.edu Message-ID: <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 1035169867 27207 80.91.224.250 (21 Oct 2002 03:11:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:11:07 +0000 (UTC) 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 EF7C5D049D for ; Thu, 21 Dec 2000 14:18:56 -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 NAB25667; Thu, 21 Dec 2000 13:15:26 -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:14:52 -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 NAA14550 for ; Thu, 21 Dec 2000 13:14:43 -0600 (CST) Original-Received: from web2103.mail.yahoo.com (web2103.mail.yahoo.com [128.11.68.247]) by mailhost.sclp.com (Postfix) with SMTP id 73F04D04A1 for ; Thu, 21 Dec 2000 14:15:06 -0500 (EST) Original-Received: (qmail 10217 invoked by uid 60001); 21 Dec 2000 19:15:03 -0000 Original-Received: from [128.165.147.151] by web2103.mail.yahoo.com; Thu, 21 Dec 2000 11:15:03 PST Original-To: DING@GNUS.ORG Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33834 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33834 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/