🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #132

SVR4 mailsurr question

#132
From: Michael C. Loewen
Date: Sun, 09 Aug 1992 17:53
22 lines
1438 bytes
   My system has a mail connection via UUCP to an Internet-connect host.  I
also have a domain name registered.  This is what I'd like to see working:

Any mail addressed to cpumagic.scol.pa.us will have the domain name stripped.
Any mail addressed to OTHER hosts in scol.pa.us will leave the domain name
   intact.

   I have SMARTERHOST defined in /etc/mail/mailcnfg.  All mail in and out of
cpumagic works fine, as long as I have this rule enabled in mailsurr:

# Map all names of the form host.local-domain!user -> host!user
'.+'	'!([^!.]+)%D!(.+)'	'Translate R=!\\1!\\2'

   however, the domain name is stripped off for other systems in my domain,
scol.pa.us.  I've tried to work up a rule for matching
local-host.local-domain!user, but with absolutely no success.

   Does anyone have a ready-made mailsurr entry for this sort of thing?  I'm
running ESIX 4.0.3a (SVR4).
-- 
Mike Loewen                         The Centre Programmers Unit BBS
mloewen@cpumagic.scol.pa.us         (814) 353-0566     V.32bis/HST
Technical Details
Message-ID: <1992Aug9.175345.1032@cpumagic.scol.pa.us>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!wupost!psuvax1!cpumagic!mloewen

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!wupost!psuvax1!cpumagic!mloewen
From: mloewen@cpumagic.scol.pa.us (Michael C. Loewen)
Subject: SVR4 mailsurr question
Message-ID: <1992Aug9.175345.1032@cpumagic.scol.pa.us>
Reply-To: mloewen@cpumagic.scol.pa.us
Organization: The Centre Programmers Unit BBS
Date: Sun, 9 Aug 1992 17:53:45 GMT
Lines: 22