Article View: mail.uk-sendmail-workers
Article #116Generic names - is the the right approach
From: Khalid Sattar
Date: Tue, 06 Mar 1990 18:36
Date: Tue, 06 Mar 1990 18:36
35 lines
1758 bytes
1758 bytes
I have been experimenting with using generic names (ie names sent from say "khalid" will appear as "K.Sattar") using ida sendmail. I have had a look in the ida sendmail kit to see how its done and then been testing by putting something that will will work with sendmail-2.1 scripts. I choose rule set 4 to do the mapping of realname to generic names is this the right place? Given that we strip off local domain so that local delivery is only with usernames will something as simple as (the rule marked with * is my addition) suffice or do I need someting more complex OKX/u3/misc/admin/tmp/G : : S4 R<$+> $:$1 remove brackets from $u addr R$+@$+ $@$1@$2 already ok * R$+ $: $(X $1 $: $1 $) lookup generic name # this ensures that $u has at least one '@' in (if percent style) R$+%$+ $1@$2 convert '%'s to '@'s R$+@$+@$+ $1%$2@$3 then reduce to only one '@' Any other suggestions or experiences with generic names will be useful Thanks ---------------------------------------------------------------------- Khalid Sattar JANET : admin@uk.ac.exeter.cs Computer Science Dept. UUCP : admin@expya.uucp University of Exeter BITNET : admin%uk.ac.exeter.cs@ukacrl Exeter, UK. Tel : +44 392 264062
Technical Details
Message-ID:
<14192.9003061836@expya.cs.exeter.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!edcastle!cs.glasgow.ac.uk!daemonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!edcastle!cs.glasgow.ac.uk!daemon From: admin@cs.exeter.ac.uk (Khalid Sattar) Newsgroups: mail.uk-sendmail-workers,comp.mail.sendmail Subject: Generic names - is the the right approach Message-ID: <14192.9003061836@expya.cs.exeter.ac.uk> Date: 6 Mar 90 18:36:11 GMT Sender: daemon@cs.glasgow.ac.uk Lines: 35 Approved: usenet@cs.glasgow.ac.uk