🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.mail.mx
Article #387

Looking for rewriting rules

#387
From: Hans-Joachim Koch
Date: Sat, 09 Jan 1993 15:27
28 lines
1639 bytes
Hello,

can someone please give me a hint where I can find the rules for address 
rewriting (for MX of course).

I have no problems to rewrite simple adresses, but now I have a rather 
complicated one. Our VAX routes all mail to a SUN. Problems arises, when 
I send some mail to *.uucp. The SUN tries to transfer the mail with uucp 
(nothing is set up for that purpose), rather than sending it via our 
ISDN link to the EUnet mail server. I know, we should fix it in the SUN 
routing, but didn't succeed until know.

I thought I could fix it with a rewrite rule in MX.

Address: hamcall.ampr.org!hamcall@uucphost.uucp (strange!)
It works, when I send to: 
hamcall.ampr.org!hamcall%uucphost.uucp@germany.eu.net

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...

Hans.
-- 
Hans-Joachim Koch, Computer department of Lahmeyer International
Lyoner Strasse 22, POB 71 06 51, D-6000 Frankfurt (Main) 71, Germany
Phone: +49 69 6677-642, Fax: +49 69 6677-571, Tx: 413478 li d
EUnet: koch@lifra.lif.de, AMPRnet: dk9om@db0lj.ampr.org 
Technical Details
Message-ID: <2531@sunny.lif.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!lif.de!LIFRA.LIF.DE!SYS_HJK

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!lif.de!LIFRA.LIF.DE!SYS_HJK
From: sys_hjk@LIFRA.LIF.DE (Hans-Joachim Koch)
Newsgroups: vmsnet.mail.mx
Subject: Looking for rewriting rules
Message-ID: <2531@sunny.lif.de>
Date: 9 Jan 93 15:27:34 GMT
Sender: news@lif.de
Reply-To: koch@lifra.lif.de
Organization: Lahmeyer International GmbH, Frankfurt/Main, Germany
Lines: 28
Nntp-Posting-Host: lifra