🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by byrnee Sun, 10 Jan 1993 22:08
Also need rewrite rules help
#389
Author: byrnee
Date: Sun, 10 Jan 1993 22:08
24 lines
1228 bytes
I also need help with re-write rules.

I applied the [mx.examples]name_conversion module and defined the re-write
rules as indicated in the 00README.NAME_CONVERSION instructions, but am 
having no luck.

I want to re-route all incoming Internet mail through MRGATE to users'
Mailworks accounts. (The mailbox in MRGATE is "AM")

To do this from VAXmail I would type:

TO: mx%"'MRGATE::AM::username'@nodex.ulowell.edu"

What rewrite rule would essentially translate:

username@nodex.ulowell.edu    to    'MRGATE::AM::username'@nodex.ulowell.edu ?

I have tried every combination I can think of, but nothing works.  I would
like to avoid the obvious, which is setting all VAXmail accounts to Mailworks.
(NOT a pretty solution for 13,000 accounts!)

Thanks,

Eileen Byrne
Re: Also need rewrite rules help
#395
Author: Matt Madison
Date: Mon, 11 Jan 1993 17:48
45 lines
2309 bytes
In article <1993Jan10.170816.1@woods.ulowell.edu>, byrnee@woods.ulowell.edu writes:
>To do this from VAXmail I would type:
>
>TO: mx%"'MRGATE::AM::username'@nodex.ulowell.edu"
>
>What rewrite rule would essentially translate:
>
>username@nodex.ulowell.edu    to    'MRGATE::AM::username'@nodex.ulowell.edu ?
>
>I have tried every combination I can think of, but nothing works.  I would
>like to avoid the obvious, which is setting all VAXmail accounts to Mailworks.
>(NOT a pretty solution for 13,000 accounts!)

What I would suggest is to set up a new domain name - call it something
like mrgate.nodex.ulowell.edu or something like that - with an MX record
pointing to nodex.  That makes the rewrite simple:

    "<{user}@mrgate.nodex.ulowell.edu>" ->
    "<""MRGATE::AM::{user}""@nodex.ulowell.edu>"

If you have MX V3.1C, you could also use the improved name_conversion interface
in that version that lets you rewrite an entire address, so your users'
return addresses would look cleaner.  A bit of coding would be required,
though.

If you didn't want to add the extra record in the DNS, you should still be
able to work it with the following pair of rewrite rules:

    "<""MRGATE::{anything}""@nodex.ulowell.edu>" ->
    "<""MRGATE::{anything}""@nodex.ulowell.edu>"

and

    "<{user}@nodex.ulowell.edu>" -> "<""MRGATE::AM::{user}@nodex.ulowell.edu>"

The first rewrite rule, which does nothing to the address, prevents the
gatewayed addresses from getting rewritten any further.

Using the extra DNS host name has the added advantage that users could then
choose whether they wanted to use VMS Mail or MAILworks.

-Matt
--
Matthew Madison | madison@tgv.com    | +1 408 427 4366
TGV, Inc.       | 603 Mission Street | Santa Cruz, CA 95060 USA
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