* Uri Guttman <[EMAIL PROTECTED]> 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 "[EMAIL PROTECTED]")
("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 [EMAIL PROTECTED]")
(organization "Front National [http://www.frontnational.com]"))
;; NEWSGROUPS - USENET
;; ###################
;;
;; REC
("rec"
(name "Davey Crockett")
("From" "Davey Crockett <[EMAIL PROTECTED]>")
(signature-file "~/.signature/davey4q")
("Fcc" "~/Mail/sent-rec"))
;; ALT
("alt"
(name "Davey Crockett")
("From" "Davey Crockett <[EMAIL PROTECTED]>")
(signature-file "~/.signature/davey4q")
("Fcc" "~/Mail/sent-alt"))
;;; (setq randomsig-static-string "TESTER, Bill Henderson")
;; GNU
("gnu"
(name "Slackrat")
("From" "Slackrat <[EMAIL PROTECTED]>")
(signature-file "~/.signature/slackrat4q")
("Fcc" "~/Mail/sent-gnu"))
;; MAIL LISTS
;; ##########
;;
..
;; FAMILY
;; ######
;;
..
;; FRIENDS
;; #######
;;
..
))
--
Regards, Slackrat [Bill Henderson] [No _4Q_ for direct email]
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english