help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus: using different e-mail addresses for different groups


From: Mathias Dahl
Subject: Re: Gnus: using different e-mail addresses for different groups
Date: 22 Oct 2004 10:36:39 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Sebastien Kirche <sebastien.kirche.no@spam.free.fr.invalid> writes:

> > Can I train Emacs to use a different e-mail address for
> > different groups? Right now Gnus gets the value from the
> > user-mail-address variable.
> 
> Take a look  to the "posting styles" that let you  define custom headers and
> also evaluations depending on the group you are writing.

Thanks! That was what I wanted. This snippet does what I need:

(setq gnus-posting-styles
      '((".*"
         (address "xyz@abc.com"))
        ("^comp.ifs"
         (address "xyz@123.com"))
        ("emacs"
         (address "xyz@xyz.com"))))

/Mathias


reply via email to

[Prev in Thread] Current Thread [Next in Thread]