From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81593 Path: news.gmane.org!not-for-mail From: Angel de Vicente Newsgroups: gmane.emacs.gnus.general Subject: Re: Something like gnus-posting-styles for new mails? Date: Wed, 14 Mar 2012 15:58:31 +0000 Message-ID: References: <87r4wv42es.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1331740748 22917 80.91.229.3 (14 Mar 2012 15:59:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2012 15:59:08 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29873@lists.math.uh.edu Wed Mar 14 16:59:08 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S7qbT-0002U4-Me for ding-account@gmane.org; Wed, 14 Mar 2012 16:59:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1S7qbI-0004s1-NI; Wed, 14 Mar 2012 10:58:56 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1S7qbH-0004rv-B7 for ding@lists.math.uh.edu; Wed, 14 Mar 2012 10:58:55 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1S7qbG-0004La-6k for ding@lists.math.uh.edu; Wed, 14 Mar 2012 10:58:55 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1S7qbE-00024b-Pg for ding@gnus.org; Wed, 14 Mar 2012 16:58:52 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S7qbB-0002Da-6c for ding@gnus.org; Wed, 14 Mar 2012 16:58:49 +0100 Original-Received: from carro.ll.iac.es ([161.72.206.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Mar 2012 16:58:49 +0100 Original-Received: from angelv by carro.ll.iac.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Mar 2012 16:58:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: carro.ll.iac.es User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:UgIgCzu34w1VIRqzBYM9LFREAHg= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81593 Archived-At: Hi, Tassilo Horn writes: >> I have modified gnus-posting-styles so that I will use an alternative >> mail address when replying to a certain mailing list and it works >> fine, but I would like that when I compose a new mail to that list the >> From header is also "automagically" modified to that alternative mail >> address. I didn't find anything obvious in the gnus-posting-styles >> section in the manual (or surroundings). Is there an easy way to >> acomplish that? > > Simply set point on the group whose posting style you want to use, and > then hit `C-u m' instead of only `m'. Or hit `C-u 1 m', and Gnus will > query you for the group whose posting style you want to use. This is for a mailing list, not a newsgroup. I get the mails through my regular IMAP mail, and when replying the From address is changed OK, thanks to the following rule in my gnus-posting-styles ((header "to" ".*visit-users.*") (address "angel.....@gmail.com")) So I don't think your idea would work? In any case, even for a post to a newsgroup, I don't seem go get the headers modified if I use C-u m or C-u 1 m Thanks for your help, -- Ángel de Vicente http://angel-de-vicente.blogspot.com/