From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81621 Path: news.gmane.org!not-for-mail From: david.goldberg6@verizon.net (Dave Goldberg) Newsgroups: gmane.emacs.gnus.general Subject: Re: Something like gnus-posting-styles for new mails? Date: Sun, 18 Mar 2012 20:34:55 -0400 Message-ID: <84y5qxl974.fsf@davestoy.home> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1332117342 16611 80.91.229.3 (19 Mar 2012 00:35:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2012 00:35:42 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29901@lists.math.uh.edu Mon Mar 19 01:35:40 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 1S9QZX-0003Jy-Iq for ding-account@gmane.org; Mon, 19 Mar 2012 01:35:39 +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 1S9QZP-0006O5-FD; Sun, 18 Mar 2012 19:35:31 -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 1S9QZN-0006Nt-Ut for ding@lists.math.uh.edu; Sun, 18 Mar 2012 19:35:29 -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 1S9QZE-0005k5-26 for ding@lists.math.uh.edu; Sun, 18 Mar 2012 19:35:29 -0500 Original-Received: from vms173021pub.verizon.net ([206.46.173.21]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1S9QZC-0003db-BC for ding@gnus.org; Mon, 19 Mar 2012 01:35:18 +0100 Original-Received: from davestoy.home.verizon.net ([unknown] [74.104.172.88]) by vms173021.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0M1300KGMWA8YY60@vms173021.mailsrvcs.net> for ding@gnus.org; Sun, 18 Mar 2012 19:34:57 -0500 (CDT) X-Face: W!bie|rYVd43O:2CkHTb*~s5}Yzx30X<@6Tq_bnP56Hp!xX4sVl4tgYRirjRcke\wfY!JJ9 i?]VIUJicJzq2\!3%7$5R%wi!R[.]Va97q In-reply-to: (Angel de Vicente's message of "Wed, 14 Mar 2012 15:35:04 +0000") User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/23.1 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81621 Archived-At: > 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? Two possibilities I'm aware of: develop a function for message-send-hook that modifies (more likely replaces) the From address based the To; or decide to only generate messages to that list from within a group you've set up for it. In that case I believe you can use the posting-style parameter to set up the From address however you like. -- Dave Goldberg david.goldberg6@verizon.net