From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078724212134.tru64-unix-managers.marc@archive.invalid> From: Don Newcomer Date: Tue, 27 Oct 1998 16:24:50 +0000 To: tru64-unix-managers Subject: SUMMARY: E-mail aliases X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078724212134 I know this is long overdue but life has been a zoo around here. I got a variety of responses which I've included below. The consensus seems to be that I can set up "First.last@xxx" aliases in sendmail but why would I want to. There are lots of reasons it may not work, not the least of which is my version of sendmail doesn't support the user database. That's another issue though... Thanks to the following folks for their help: Arrigo Triulzi Martin Mokrejs Richard Sharpe Paul A Sand Michael A Crowley maurerf@post.ch Here are the responses: From: Arrigo Triulzi If the GECOS fields are correct just use define(`confMATCH_GECOS',`True')dnl in your M4 config file. Remember that if you have Dr. John Smith then you are stuffed (only works with "John Smith" -> John.Smith). From: Martin Mokrejs Enable this line in /etc/sendmail.cf # match recipients against GECOS field? O MatchGECOS It won't work in all cases, see www.sendmail.org, go to read FAQ, there's at least one entry mentioning this - why NOT to use John.Smith@dickinson.edu. Hope this helps From: Richard Sharpe Yes, sendmail can do that with the userdb feature ... I implemented it on DU 4.0C, but used sendmail 8.8.8, which I had to pull over and compile myself. More recently I have worked with sendmail 8.9.1. They are better than the version Digital ships. From: Paul A Sand Don, you may be thinking of the so-called user database, in which case you might want to check http://www.sendmail.org/faq/section3.html#3.2 (and the following couple questions). I think that overhead-wise, both approaches would involve at least one database lookup per message, so I'm not sure what you gain. From: Michael A Crowley Don, it would be a good idea to install sendmail 8.9.1 with patch to guard against the MIME filename overflow security hole. ftp ftp.sendmail.org I can send you our configuration files if you'd like. On the other hand, there is a lot to recommend not trying to put full names in as aliases for the real user name. From: maurerf@post.ch You would have to implement a rewrite rule for delivery: R$-.$-@$* $#esmtp $@$3 $2$1@$3 The problem is, I don't see any way to get the first letter of $1 (givename)? So as far as I know, I only see aliases. ================================================================================ Don Newcomer Dickinson College Asst. Director of Computer Services P.O. Box 1773 newcomer@dickinson.edu Carlisle, PA 17013 Phone: (717) 245-1256 FAX: (717) 245-1690 On Tue, 6 Oct 1998, Don Newcomer wrote: > We are currently using Digital UNIX 4.0B with the sendmail version that was > shipped with the OS. What we'd like to implement is having sendmail resolve > addresses like "John.Smith@dickinson.edu" to "smithj@dickinson.edu". I know > some versions of sendmail will do this without the overhead of thousands of > aliases entries. Any help would be appreciated. > > ================================================================================ > Don Newcomer Dickinson College > Asst. Director of Computer Services P.O. Box 1773 > newcomer@dickinson.edu Carlisle, PA 17013 > Phone: (717) 245-1256 > FAX: (717) 245-1690 > >