Gnus development mailing list
 help / color / mirror / Atom feed
From: lewst <lewst@yahoo.com>
Subject: matching headers with gnus-posting-styles
Date: Thu, 21 Dec 2000 11:15:03 -0800 (PST)	[thread overview]
Message-ID: <20001221191503.10216.qmail@web2103.mail.yahoo.com> (raw)

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/



             reply	other threads:[~2000-12-21 19:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-21 19:15 lewst [this message]
2000-12-21 19:57 ` Nick Papadonis
2000-12-21 20:52   ` David S. Goldberg
2000-12-21 20:34 ` ShengHuo ZHU
2000-12-21 21:59   ` Kai Großjohann
2000-12-21 20:10 lewst
2000-12-21 20:31 ` Charles Sebold

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=20001221191503.10216.qmail@web2103.mail.yahoo.com \
    --to=lewst@yahoo.com \
    /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).