🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Michael C. Loewen Sun, 09 Aug 1992 17:53
SVR4 mailsurr question
#132
Author: 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
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