Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Slackrat <slackrat4Q@azurservers.com>
To: info-gnus-english@gnu.org
Subject: Re: custom signature and from
Date: Fri, 30 Mar 2007 20:31:52 +0200	[thread overview]
Message-ID: <87tzw2a8h3.fsf@azurservers.com> (raw)
In-Reply-To: <x7lkhe90r5.fsf@mail.sysarch.com>


* Uri Guttman <uri@stemsystems.com> a écrit
> i am looking for a simple way to customize my from header and signature
> based on to whom i am sending mail. i have found some libs that do way
> more than i want (random sig quotes) but nothing that just looks at the
> to/cc headers and selects from a set of files. are there any libs that
> do this or similar? i am using v5.10.6 under emacs 21.4.1.
>
> i know about the message-signature variable but i am sure there are
> existing libs that i can use for this.

(setq gnus-posting-styles
      '((".*"

;; BASIC
;; #####
         (signature-file "~/.signature/bill")
	 (name mail-user-name)
	 (address "inconnu@azurservers.com")
         ("X-Homepage" "http://azurservers.com/")
	 ("X-Operating-System" "Slackware GNU/Linux --current");;	
         ("X-GUARANTEE1" "This email is Guaranteed to have been free of any malevolent
              content or attachments when sent from <user>@azurservers.com.
              Azurservers.com publishes SPF records and any UCE or otherwise
              harmful content should be reported to abuse@azurservers.com")
	 (organization "Front National [http://www.frontnational.com]"))

;; NEWSGROUPS - USENET
;; ###################
;;
;; REC 
	("rec"
	 (name "Davey Crockett")
         ("From" "Davey Crockett <daveycrockett4Q@azurservers.com>")
	 (signature-file "~/.signature/davey4q")
	 ("Fcc" "~/Mail/sent-rec"))
;; ALT
	("alt"
	 (name "Davey Crockett")
         ("From" "Davey Crockett <daveycrockett4Q@azurservers.com>")
	 (signature-file "~/.signature/davey4q")
	 ("Fcc" "~/Mail/sent-alt"))
 ;;;        (setq randomsig-static-string "TESTER, Bill Henderson")
;; GNU
	("gnu"
	 (name "Slackrat")
         ("From" "Slackrat <slackrat4Q@azurservers.com>")
	 (signature-file "~/.signature/slackrat4q")
	 ("Fcc" "~/Mail/sent-gnu"))

;; MAIL LISTS
;; ##########
;;

..

;; FAMILY
;; ######
;;

..

;; FRIENDS
;; #######
;;

..

))


-- 
Regards, Slackrat [Bill Henderson] [No _4Q_ for direct email]

  parent reply	other threads:[~2007-03-30 18:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30 16:03 Uri Guttman
2007-03-30 18:12 ` Leo
2007-03-30 19:02   ` Uri Guttman
2007-03-30 18:31 ` Slackrat [this message]
2007-04-05 19:22   ` Uri Guttman

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=87tzw2a8h3.fsf@azurservers.com \
    --to=slackrat4q@azurservers.com \
    --cc=info-gnus-english@gnu.org \
    /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).