[Pkg-exim4-users] From sendmail to exim - full name from gecos field of passwd?

Christian Schmidt christian.schmidt at chemie.uni-hamburg.de
Mon Mar 27 08:33:48 UTC 2006


Hello Marc,

Marc Haber, 26.03.2006 (d.m.y):

> On Sat, Mar 25, 2006 at 01:21:39PM +0100, Christian Schmidt wrote:
> > Marc Haber, 24.03.2006 (d.m.y):
> > > On Fri, Mar 24, 2006 at 09:56:07AM +0100, Ralf Gruner wrote:
> > > > I made an experimental installation (smarthost, local delivery in 
> > > > Maildir) and all seems to work, except that the old sendmail server uses 
> > > > the full names from the gecos field of the passwd file to accept SMTP 
> > > > mails. For example for my address it reads the first and last name and 
> > > > accepts mails to ralf.gruner at ...
> > > > 
> > > > Can I use such a mechanism in Exim too?
> > > 
> > > Yes. I have, however, never seen this actually done, so it looks like
> > > you're on your own. spec.txt chapter 11 will show you what you need
> > > for the query. You'll probably need a specially parametrized redirect
> > > router, so chapter 22 is a good idea as well.
> > > 
> > > Start with the system_aliases router.
> > 
> > That's the way I would do it, too.
> > 
> > Create yourself a tiny perl or whatever script that creates
> > corresponding entries for your aliases file from aour passwd file.
> 
> I strongly assume that the indirection with a script is not necessary
> and that it is directly possible to do the lookup with the user
> database.

But what if there are 2 users with identical names? The
"create_aliases" script could handle this, bit what about the direct
lookup?

Regards,
Christian

-- 
Wie man sein Kind nicht nennen sollte: 
  Axel Nässe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20060327/5faa7296/attachment.pgp


More information about the Pkg-exim4-users mailing list