From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74796 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:24:10 +0100 Organization: Probably a good idea Message-ID: <87oc8y7iqd.fsf@dod.no> References: <874oat83xa.fsf@dod.no> <87r5dw6q2v.fsf@dod.no> <87aakj7tya.fsf@dod.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291667080 30422 80.91.229.12 (6 Dec 2010 20:24:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2010 20:24:40 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23152@lists.math.uh.edu Mon Dec 06 21:24:36 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 1PPhbw-0002D0-8V for ding-account@gmane.org; Mon, 06 Dec 2010 21:24:36 +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 1PPhbp-000786-AC; Mon, 06 Dec 2010 14:24:29 -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 1PPhbo-00077v-7r for ding@lists.math.uh.edu; Mon, 06 Dec 2010 14:24:28 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PPhbj-0006kv-R8 for ding@lists.math.uh.edu; Mon, 06 Dec 2010 14:24:28 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PPhbj-0006ek-00 for ; Mon, 06 Dec 2010 21:24:23 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PPhbi-00025F-5D for ding@gnus.org; Mon, 06 Dec 2010 21:24:22 +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:24:22 +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:24:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 34 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:4341JtN4zeupzwoxZnoh7U79FcI= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74796 Archived-At: >>>>> Lars Magne Ingebrigtsen : > I can't really see anywhere where smtpmail is setting Sender, but it's > setting MAIL FROM (which the MTA may translate into Sender) Well, yeah. Maybe I was unclear in my report. The address I listed I had from a wireshark trace of the SMTP dialogue. So we're talking about the envelope address, rather than something in a header. (but that only occurs for resent messages) > 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)) Hm... yes this looks familiar. I have been debugging in here before. > Yes. But check upon entry to `smtpmail-send-it' whether the Sender > header is present or not. Then we'll know whether it's Message or > smtpmail that's doing it. Right. But if it isn't the header at all, but a bogus envelope sender, where do I look then? Ah, it's debug time, I guess...:-)