🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #672

Re: Making smail2.5 understand <user>%<site>@<site>

#672
From: Jon Zeeff
Date: Fri, 06 Oct 1989 13:12
14 lines
922 bytes
All you really want to do is have smail change % to @ if there is no ! or
@ present (ie, it looks like a local address).

Just put this at the beginning and the end of resolve().


	if (strchr(address,'!') == NULL
	    && strchr(address,'@') == NULL
	    && (ptr = strrchr(address,'%'))) *ptr = '@';

-- 
Branch Technology            |  zeeff@b-tech.ann-arbor.mi.us
                             |  Ann Arbor, MI
Technical Details
Message-ID: <9672@b-tech.ann-arbor.mi.us>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!b-tech!zeeff
References: <1989Oct5.053531.24832@egsner.cirr.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!b-tech!zeeff
From: zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff)
Newsgroups: comp.mail.misc,comp.mail.uucp
Subject: Re: Making smail2.5 understand <user>%<site>@<site>
Keywords: patches, smail2.5, %@
Message-ID: <9672@b-tech.ann-arbor.mi.us>
Date: 6 Oct 89 13:12:10 GMT
References: <1989Oct5.053531.24832@egsner.cirr.com>
Reply-To: zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff)
Organization: Branch Technology, Ann Arbor, MI
Lines: 14