From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28068 Path: main.gmane.org!not-for-mail From: patl@cag.lcs.mit.edu (Patrick J. LoPresti) Newsgroups: gmane.emacs.gnus.general Subject: Re: Fully-qualifying Email addresses in outgoing mail Date: 10 Dec 1999 09:59:39 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035164979 27871 80.91.224.250 (21 Oct 2002 01:49:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:49:39 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA25070 for ; Fri, 10 Dec 1999 10:00:43 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB25810; Fri, 10 Dec 1999 09:00:36 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 10 Dec 1999 09:00:46 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA12554 for ; Fri, 10 Dec 1999 09:00:37 -0600 (CST) Original-Received: from egghead.curl.com ([216.230.79.4]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id KAA25064 for ; Fri, 10 Dec 1999 10:00:15 -0500 (EST) Original-Received: (qmail 5417 invoked by uid 10171); 10 Dec 1999 09:59:39 -0500 Original-To: ding@gnus.org In-Reply-To: Per Abrahamsen's message of "10 Dec 1999 04:32:41 -0500" Original-Lines: 32 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28068 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28068 Per Abrahamsen writes: > (setq mail-host-address "cag.lcs.mit.edu") > > Or did I misunderstood the problem? This takes care of the problem for "From" line generation, but it does not affect what appears in the "To" and "CC" headers. When a user provides "To: patl" in the header, message-mode does no manipulation of that at all (as far as I can tell). It simply passes it off as-is to the message-send-mail-function. When that function is 'message-send-mail-with-qmail, all is well because qmail-inject performs all sorts of canonicalization on the message: It inserts Date and Message-ID headers (if needed); it fully qualifies all Email addresses; and so on. But when you use 'smtpmail-send-it, the message goes straight to the smtp daemon which performs no canonicalizations of any kind. For headers like Date and Message-ID, this is OK, because message-mode has already fixed those up as required. But for "To" and "CC", this is problematic for two reasons: 1) The unqualified addresses are processed by the smtp *host*, which is not the right thing at all; and 2) the unqualified addresses appear in the recipient's copy of the message, which is also broken. I am pretty sure what I need is for message-mode to be able to canonicalize the To and CC fields, in the same way it performs other checks on the message. - Pat