Article View: news.software.nntp
Article #92Re: Proper handling of "%" in Internet addresses.
From: Matthew P Wiener
Date: Tue, 01 Nov 1988 07:06
Date: Tue, 01 Nov 1988 07:06
24 lines
1656 bytes
1656 bytes
In article <849@fxgrp.UUCP>, ljz%fxgrp (Lloyd Zusman) writes:
>This happens because the leading "@" is hard-coded in Gnews and in
>Gnus. No provision for handling domain names with leading a "%"
>or an embedded "@" exists in either of these pieces of software.
First off, "Reply-To" is the field that ought to have the correct
INTERNET mail address. "From" need not.
For Gnews, try the following:
(setq gnews-machine "%fxgrp.fx.com@ames.arc.nasa.gov"
group-follow-hook 'fix-the-domain)
(defun fix-the-domain ()
(save-excursion
(goto-char 1)
(if (re-search-forward "\\(From.*\\)@%" nil 0)
(replace-match "\\1%"))
(if (re-search-forward "\\(Reply-To.*\\)@%" nil 0)
(replace-match "\\1%"))))
ucbvax!garnet!weemba Matthew P Wiener/Brahms Gang/Berkeley CA 94720
"Nil sounds like a lot of kopins! I never got paid nil before!" --Groo
Technical Details
Message-ID:
<16332@agate.BERKELEY.EDU>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!attcan!uunet!lll-winken!lll-tis!ames!pasteur!agate!garnet!weembaReferences:
<849@fxgrp.UUCP>Show Full Headers
Complete Article Headers
Message-ID: <16332@agate.BERKELEY.EDU> Subject: Re: Proper handling of "%" in Internet addresses. Date: Tue, 01 Nov 1988 07:06:23 +0000 From: weemba@garnet.berkeley.edu (Matthew P Wiener) References: <849@fxgrp.UUCP> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!attcan!uunet!lll-winken!lll-tis!ames!pasteur!agate!garnet!weemba Newsgroups: comp.emacs,news.software.nntp Sender: usenet@agate.BERKELEY.EDU Reply-To: weemba@garnet.berkeley.edu (Matthew P Wiener) Followup-To: comp.emacs Organization: Brahms Gang Posting Central Lines: 22 In-reply-to: ljz%fxgrp.fx.com@ames.arc.nasa.gov (Lloyd Zusman)