Thread View: news.software.nn
3 messages
3 total messages
Started by Doug Walker
Sun, 13 May 1990 03:04
Mail Address Conversion
Author: Doug Walker
Date: Sun, 13 May 1990 03:04
Date: Sun, 13 May 1990 03:04
22 lines
1703 bytes
1703 bytes
I have recently installed nn version 6.4.0 and am a convert from rn. We use uunet as our backbone site and let them do all the mail routing for us. Mail is sent by smail (Unix V, Release 2) using a uucp style address; such as uunet!machine_name!log_name. 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 as RETURNED MAIL. Then, I must edit the mail to change the address to a uucp style address and resend it on its way to uunet. 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. But, I looked at the furnished routes.sample file and cannot see how that can be applied to my situation. Could an nn veteran give me some guidance -)? -- ----------------------------------------------------------------------------- Doug Walker uunet!fdls!dougw -or- dougw@fdls.uu.net Oregon Department of Agriculture, Salem, Oregon (503) 378-3790
Re: Mail Address Conversion
Author: Jaap Vermeulen
Date: Mon, 14 May 1990 05:04
Date: Mon, 14 May 1990 05:04
26 lines
1812 bytes
1812 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
>as RETURNED MAIL. Then, I must edit the mail to change the address to a uucp
^^^^^^^^^^^^^
I guess this is actually done by sendmail. Recmail is just a little script
or program that passes mail on to sendmail.
>style address and resend it on its way to uunet.
Seems like you need a better sendmail configuration file.
Ask your mail guru to forward domain based mail to uunet automatically
(involves adding some lines to the sendmail configuration file).
[Given that you're running 6.4.?]
Or write your own mailer script that will rewrite domain based addresses
and will add 'uunet!' in front of them.
Then set the 'mailer' variable to the (executable) script.
Good luck,
--
"Some call me Jaaper" +--------------------------+
| Sequent Computer Systems |
Internet : sequent!jaap@uunet.uu.net | Beaverton, Oregon |
Uucp : ...uunet!sequent!jaap +--------------------------+
Re: Mail Address Conversion
Author: Kim F. Storm
Date: Wed, 16 May 1990 14:59
Date: Wed, 16 May 1990 14:59
42 lines
2266 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads