[Pkg-exim4-users] From sendmail to exim - full name from gecos
field of passwd?
Marc Haber
mh+pkg-exim4-users at zugschlus.de
Sat Mar 25 23:15:43 UTC 2006
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.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Pkg-exim4-users
mailing list