SUMMARY: E-mail aliases

From: Don Newcomer <newcomer_at_dickinson.edu>
Date: Tue, 27 Oct 1998 11:24:50 -0500 (EST)

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_at_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 <arrigo_at_albourne.com>
        Martin Mokrejs <mmokrejs_at_natur.cuni.cz>
        Richard Sharpe <sharpe_at_ns.aus.com>
        Paul A Sand <pas_at_unh.edu>
        Michael A Crowley <mcrowley_at_MtHolyoke.edu>
        maurerf_at_post.ch

Here are the responses:

From: Arrigo Triulzi <arrigo_at_albourne.com>

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 <mmokrejs_at_natur.cuni.cz>

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_at_dickinson.edu.

Hope this helps

From: Richard Sharpe <sharpe_at_ns.aus.com>

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 <pas_at_unh.edu>

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 <mcrowley_at_MtHolyoke.edu>

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_at_post.ch

You would have to implement a rewrite rule for delivery:

R$-.$-_at_$* $#esmtp $_at_$3 $2$1_at_$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_at_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_at_dickinson.edu" to "smithj_at_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_at_dickinson.edu Carlisle, PA 17013
> Phone: (717) 245-1256
> FAX: (717) 245-1690
>
>
Received on Tue Oct 27 1998 - 16:25:50 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT