🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Jonathan E. Hardis Mon, 11 Jan 1993 00:59
RE: Looking for rewriting rules
#393
Author: Jonathan E. Hardis
Date: Mon, 11 Jan 1993 00:59
25 lines
1403 bytes
> can someone please give me a hint where I can find the rules for address
> rewriting (for MX of course).

The Message Exchange Management Guide, edition of March 1992, for MX V3.1,
page 3-1.

> How can I deal with this situation? Is there a multitoken variable, like
> {everything@uucphost.uucp}->{everything%uucphost.uucp@germany.eu.net},
> because I never know the number of tokens of the first part...

To quote from the above reference, "the rule processor treats the addresses
as ordinary text strings and does not understand the syntax of RFC 821
addresses."  In other words, don't worry about tokenizing.

MCP> DEFINE REWRITE_RULE "<{u}@{h}.uucp>" "<{u}%{h}.uucp@germany.eu.net>"
MCP> SAVE
MCP> RESET

More to the point, why fool with rewrite rules?

MCP> DEFINE PATH *.UUCP    SMTP/ROUTE="germany.eu.net"
                           ^^^^-or different, as appropriate

(Remember that the order of the DEFINE commands is important; you may have
to edit CONFIG.MCP and start over.)
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