From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74798 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: Sender header Date: Mon, 06 Dec 2010 21:50:38 +0100 Organization: Probably a good idea Message-ID: <877hfmy6ap.fsf@dod.no> References: <874oat83xa.fsf@dod.no> <87r5dw6q2v.fsf@dod.no> <87aakj7tya.fsf@dod.no> <87oc8y7iqd.fsf@dod.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291668665 6121 80.91.229.12 (6 Dec 2010 20:51:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2010 20:51:05 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23154@lists.math.uh.edu Mon Dec 06 21:50:59 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PPi1S-0007GT-34 for ding-account@gmane.org; Mon, 06 Dec 2010 21:50:58 +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 1PPi1Q-0007IH-6A; Mon, 06 Dec 2010 14:50:56 -0600 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 1PPi1O-0007Hy-Qt for ding@lists.math.uh.edu; Mon, 06 Dec 2010 14:50:54 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PPi1K-0006rt-Jl for ding@lists.math.uh.edu; Mon, 06 Dec 2010 14:50:54 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PPi1J-00070E-00 for ; Mon, 06 Dec 2010 21:50:49 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PPi1J-0007Db-ON for ding@gnus.org; Mon, 06 Dec 2010 21:50:49 +0100 Original-Received: from cm-84.208.204.33.getinternet.no ([84.208.204.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Dec 2010 21:50:49 +0100 Original-Received: from sb by cm-84.208.204.33.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Dec 2010 21:50:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.208.204.33.getinternet.no Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:ws2NmnWveSBapP7pw/NSe649KrY= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74798 Archived-At: >>>>> Steinar Bang : >>>>> Lars Magne Ingebrigtsen : >> like this: >> ;; `smtpmail-mail-address' should be set to the appropriate >> ;; buffer-local value by the caller, but in case not: >> (envelope-from (or smtpmail-mail-address >> (and mail-specify-envelope-from >> (mail-envelope-from)) >> user-mail-address)) Yeah, it was actually pretty simple. The above ended up setting envelope-from to user-mail-address, which was... "sb@localhost6.localdomain6". This was set in startup.el with the following code: (defcustom user-mail-address (if command-line-processed (or (getenv "EMAIL") (concat (user-login-name) "@" (or mail-host-address (system-name)))) ;; Empty string means "not set yet". "") "*Full mailing address of this user. This is initialized with environment variable `EMAIL' or, as a fallback, using `mail-host-address'. This is done after your init file is read, in case it sets `mail-host-address'." :type 'string :group 'mail) And since this was customizable I could just set it to sb@dod.no, and I could forward. That was easy, and not gnus-related at all. Oh well!