From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5941 Path: main.gmane.org!not-for-mail From: Hallvard B Furuseth Newsgroups: gmane.emacs.gnus.general Subject: message-user-mail-address and other addresses Date: Tue, 16 Apr 1996 09:46:31 +0200 (MET DST) Message-ID: <199604160746.JAA04365@bombur2.uio.no> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035146470 1859 80.91.224.250 (20 Oct 2002 20:41:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:41:10 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id CAA00988 for ; Tue, 16 Apr 1996 02:26:43 -0700 Original-Received: from mons.uio.no (6089@mons.uio.no [129.240.200.26]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Tue, 16 Apr 1996 09:46:38 +0200 Original-Received: from ulrik.uio.no by mons.uio.no with local-SMTP (PP) id <26471-0@mons.uio.no>; Tue, 16 Apr 1996 09:46:32 +0200 Original-Received: by bombur2.uio.no ; Tue, 16 Apr 1996 09:46:31 +0200 (MET DST) Original-To: ding@ifi.uio.no Xref: main.gmane.org gmane.emacs.gnus.general:5941 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5941 (message-user-mail-address) in message.el seems to think that user-mail-address can contain more than just the address, such as "name
". This is wrong, and if we teach users to put "name
" in user-mail-address, packages that expect a plain address will fail. Examples: sendmail.el, add-log.el, rmailsum.el. But if that's the idea, (message-user-mail-address) does not work correctly anyway: (let ((user-mail-address "Hallvard Furuz ")) (message-user-mail-address)) ==> "" oops, should remove the <>'s. This works, however: (let ((user-mail-address "hbf@usit.uio.no (Hallvard Furuz)")) (message-user-mail-address)) ==> "hbf@usit.uio.no" Also, it does not allow for "foo!bar!baz" type addresses. BTW, I haven't checked but I hope all your mail-address code allows for addreses like these (real-life) addresses: @bsd.urgu.e-burg.su,@optoel.uucp:aleck@optoel.urgu.e-burg.su /S=ZHAOQING.LTD/O=SERVICE/PRMD=JMPTT/ADMD=CHINAMAIL/C=CN/@x400.bta.net.cn sevcik@[147.231.40.1] Egon_Hagen_at_ROGALAND__A-SENTER@cclink.rf.no idgst1+@pitt.edu (note: end of localpart is not end of word) Some real-life idiot addresses: "gry oftedal"@nlhstud.nlh.no (stupid, but some people do that) ingrid.haug.@nlhstud.nlh.no Joern..Nicolaisen@hinesna.no Huh. Space in localpart is actually "sensible" in one case: "/I=hb/S=furuseth/OU=usit/O=uio/PRMD=uninett/ADMD= /c=NO/"@mons.uio.no i.e. mail sent to an X.400 -> rfc822 gateway. X.400 addresses, in particular their ADMD parts, sometimes contain space. Oh, and here is one more. Is this address nuts or am I missing a message format? It's the envelope (`From ') address of a message to directory@uninett.no: hsba1@dagobert#u#br.ccmail.compuserve.com Regards, Hallvard