Xref: utzoo comp.mail.misc:2438 comp.mail.uucp:3573 Path: 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 %@ 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 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