Path: utzoo!attcan!uunet!mcvax!ukc!newcastle.ac.uk!asjl From: asjl@newcastle.ac.uk (Andy Linton) Newsgroups: comp.mail.elm Subject: Re: elm 2.1PL1 - general comments Message-ID: <4038@cheviot.newcastle.ac.uk> Date: 22 Dec 88 11:31:57 GMT References: <79@titania.warwick.ac.uk> Reply-To: asjl@cheviot (Andy Linton) Organization: Computing Laboratory, U of Newcastle upon Tyne, UK NE17RU Lines: 52 In article <79@titania.warwick.ac.uk> cudcv@warwick.ac.uk (Rob McMahon) writes: >Also if the message is from e.g. `R.J.McMahon', the default will be `=r', >couldn't this be `=r.j.mcmahon' ? This is important - names with '_' should be discarded as they will cause X400 problems later. Names like `R.J.McMahon' will become more prevalent with the advent of X400 to RFC822 (and Grey Book mail in the UK) gateways. Simple patch follows:- *** reply.c.orig Tue Dec 6 09:46:47 1988 --- reply.c Wed Dec 7 17:35:52 1988 *************** *** 418,424 for (i=loc; single_address[i] != '!' && i > -1; i--) if (single_address[i] == '%' || single_address[i] == ':' || - single_address[i] == '.' || /* no domains */ single_address[i] == '@') loc = i-1; if (i < 0 || single_address[i] == '!') i++; --- 418,423 ----- for (i=loc; single_address[i] != '!' && i > -1; i--) if (single_address[i] == '%' || single_address[i] == ':' || single_address[i] == '@') loc = i-1; if (i < 0 || single_address[i] == '!') i++; *************** *** 438,445 loc = strlen(single_address)-1; /* last char */ ! for (i = loc; single_address[i] != '!' && single_address[i] != '.' ! && i > -1; i--) if (trans_to_lowercase) name[index++] = tolower(single_address[i]); else --- 437,443 ----- loc = strlen(single_address)-1; /* last char */ ! for (i = loc; single_address[i] != '!' && i > -1; i--) if (trans_to_lowercase) name[index++] = tolower(single_address[i]); else -- Andy Linton ARPA = Andy.Linton@newcastle.ac.uk "The Postmaster" UUCP = ...!ukc!newcastle.ac.uk!Andy.Linton PHONE = +44 91 222 7784