home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sun4nl!nikhefh!e07
- From: e07@nikhefh.nikhef.nl (Eric Wassenaar)
- Newsgroups: comp.mail.sendmail
- Subject: Re: Sendmail not using aliases sometimes
- Message-ID: <1848@nikhefh.nikhef.nl>
- Date: 29 Aug 92 22:26:34 GMT
- References: <1992Aug26.221205.2486@zia.aoc.nrao.edu> <tHk-th-@engin.umich.edu>
- Organization: Nikhef-H, Amsterdam (the Netherlands).
- Lines: 34
-
- In article <tHk-th-@engin.umich.edu>, paul@engin.umich.edu (Paul Killey) writes:
- > In article <1992Aug26.221205.2486@zia.aoc.nrao.edu> pgreen@zia.aoc.nrao.edu (Philip Green) writes:
- > > Sometimes incoming mail is delivered locally instead of being
- > > forwarded to the address in /etc/aliases.
- >
- > Suppose my login id is paul, and i am aliased to paul@someotherhost
- > the gecos field for me is :paul killey:
- > if someone mails to 'paul_killey' and not 'paul'
- > it will match on the passwd file entry but not do the alias look up.
-
- Some sites will match on even more gecos constructions, such as
- 'paul.killey' 'p.killey' 'killey' or whatever.
- If you 1) allow gecos matching, 2) don't want to put all possible
- combinations in the aliases file, 3) don't want to bypass the defined
- alias for the login name,
- then sendmail has to do a new alias lookup after finduser() has come
- up with a gecos match.
-
- A second possibility to bypass an alias is to use a quoted address
- such as "paul" or \paul
- In my opinion, this should not be possible. If I have defined an
- alias in the system aliases file, I always want to have the alias
- honoured.
-
- Both cases can be handled by a simple extra alias lookup in recipient()
- after finduser() has found a password entry, and the login name from
- the password entry is different from the name in the mail address.
-
- Eric Wassenaar
- --
- Organization: NIKHEF-H, National Institute for Nuclear and High-Energy Physics
- Address: Kruislaan 409, P.O. Box 41882, 1009 DB Amsterdam, the Netherlands
- Phone: +31 20 592 5012, Home: +31 20 6909449, Telefax: +31 20 592 5155
- Internet: e07@nikhef.nl
-