Path: utzoo!attcan!telly!problem!compus!lethe!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!uxc.cso.uiuc.edu!paul From: paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO) Newsgroups: comp.mail.sendmail Subject: Re: Inexact addresses Message-ID: <1990Dec21.193502.6808@ux1.cso.uiuc.edu> Date: 21 Dec 90 19:35:02 GMT References: <1990Dec19.202600.3018@engin.umich.edu> Sender: news@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 28 jaynes@med.umich.edu (William Jaynes) writes: >Is there any version of sendmail that allows for inexact addresses. I know that >the FUZZY option in the IDA version enables a last ditch matching on the name >field in /etc/passwd. Is this available using some arbitrary file other than >/etc/passwd? The senario I'm thinking of is the following: > - Mail comes in. > - Sendmail resolves it local and tries to deliver > - Delivery fails > - Before bouncing the message, sendmail takes the local part of the > address and tries some kind of matching within some file. > - If some match succeeds sendmail tries to deliver using what was returned > - If that fails then bounce the message This is no big deal to do. Replace the #ifdef'ed FUZZY code in recipient.c with your customized code. Henry Spencer's regex package could be used to good effect. A lot depends on what you want to do and the worst-case consequences of mis-delivered mail. /pbp -- Paul Pomes UUCP: {att,iuvax,uunet}!uiucuxc!paul Internet, BITNET: paul@uxc.cso.uiuc.edu US Mail: UofIllinois, CSO, 1304 W Springfield Ave, Urbana, IL 61801-2910