Gnus development mailing list
 help / color / mirror / Atom feed
From: morioka@jaist.ac.jp (=?ISO-2022-JP?Q?=1B$B<morioka@jaist.ac.jp)
Subject: [Gnus 5.2.14] message-make-sender
Date: 10 Jun 1996 16:04:10 +0900	[thread overview]
Message-ID: <s1cohmsjg2d.fsf@jaist.ac.jp> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of Mon, 10 Jun 1996 03:46:49 +0000

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

  I think it is better if function `message-make-sender' check
(system-name) is FQDM. If (system-name) is not FQDM, message.el makes
invalid Sender field.

  IMHO, variable `mail-host-address' is better for mail address. For
example, in my site, we usually don't include machine names in our
mail-addresses.

  Thanks,


[-- Attachment #2: message.el.diff --]
[-- Type: application/octet-stream, Size: 598 bytes --]

--- message.el-orig	Mon Jun 10 12:46:41 1996
+++ message.el	Mon Jun 10 14:58:43 1996
@@ -1954,7 +1954,13 @@
   "Return the \"real\" user address.
 This function tries to ignore all user modifications, and 
 give as trustworthy answer as possible."
-  (concat (user-login-name) "@" (system-name)))
+  (let ((domain (system-name)))
+    (or (string-match "[^.]\\.[^.]" domain)
+	(if (and (boundp 'mail-host-address) mail-host-address)
+	    (setq domain mail-host-address)
+	  ))
+    (concat (user-login-name) "@" domain)
+    ))
 
 (defun message-make-address ()
   "Make the address of the user."

[-- Attachment #3: Type: text/plain, Size: 248 bytes --]

-- 
----------------------------------------------------------------------
Morioka Tomohiko <morioka@jaist.ac.jp>
(`Morioka' is my family name, `Tomohiko' is my personal name.)
---------------- I protest continuation of Chinese nuclear testing.---

             reply	other threads:[~1996-06-10  7:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-10  7:04 =?ISO-2022-JP?Q?=1B$B<morioka@jaist.ac.jp [this message]
1996-06-10  9:26 ` Per Abrahamsen
1996-06-10 11:18   ` =?ISO-2022-JP?Q?=1B$B<morioka@jaist.ac.jp
1996-06-10 12:59     ` Per Abrahamsen
1996-06-10 14:14     ` Richard Pieri
1996-06-10 16:06       ` 守岡 知彦 / MORIOKA Tomohiko
1996-06-10 17:27         ` Richard Pieri
1996-06-11  8:31           ` 守岡 知彦 / MORIOKA Tomohiko
1996-06-11 18:24             ` Lars Magne Ingebrigtsen
1996-06-11  0:40       ` Sudish Joseph
1996-06-11 14:09         ` Richard Pieri
1996-06-11 23:57           ` Sudish Joseph
1996-06-10 14:04 ` Richard Pieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s1cohmsjg2d.fsf@jaist.ac.jp \
    --to=morioka@jaist.ac.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).