🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #403

Re: Mail Address Conversion

#403
From: Kim F. Storm
Date: Wed, 16 May 1990 14:59
42 lines
2266 bytes
dougw@fdls.UUCP (Doug Walker) writes:

>If I send mail within nn to an article poster with a domain based address,
>/usr/lib/news/recmail can't handle the address and forwards it to my mail box

>Is there a way that I can set things up so that the mail will get sent to
>uunet with the domain based addressing intact?  The Configuration and
>Installation instructions refer to a routes file which may be what I need to
>set up.

First of all, the routes facility in nn does give you the possibility to
handle domain-based addresses on non-domain machines.  However, it is a
long time since I wrote that code, and I cannot honestly say that I can
remember all the details about it.  So my usual advise when somebody asks
me how to use it is: "don't - get smail instead".

I run with smail and the Bnews recmail program without any problems, and I
would imagine that the alternative recmail programs you get with 6.4 are
equally transparent to domain adresses as the classic one is.  So if you
have problems, I would think that there is something wrong in your smail
setup.

Having said that, I can give you some guidence about how to use the routes
feature in nn (... waiting for memory refresh ...) to do what you want:

First of all, you must compile nn without HAVE_ROUTING in config.h.

Then you must setup the routes file as follows:

# local domain is UUCP (local host is handled automatically!):
/L uucp

# !-paths are forwarded to uunet unchanged
/B	uunet!%b!%s!%n

# a@b.c is rewritten to uunet!b.c!a
/G	uunet!%s.%d!%n

A bit simpler than sendmail :-)
-- 
  No news is good news,		Kim F. Storm <storm@texas.dk>
    but nn is better!		Texas Instruments A/S, Denmark
Technical Details
Message-ID: <543@texas.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
References: <264@fdls.UUCP>

Show Full Headers
Complete Article Headers
Message-ID: <543@texas.dk>
Subject: Re: Mail Address Conversion
Date: Wed, 16 May 1990 14:59:11 +0000
From: storm@texas.dk (Kim F. Storm)
References: <264@fdls.UUCP>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Organization: Texas Instruments, Denmark
Lines: 42
Posted: Wed May 16 15:59:11 1990