home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / mail / sendmail / 2166 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  2.0 KB

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