Re: [exim] exim and firstname.lastname

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Christian Schmidt
Datum:  
To: exim-users
Betreff: Re: [exim] exim and firstname.lastname
Hello Philip,

Philip Hazel, 02.12.2004 (d.m.y):

> There is no facility for automatic gecos field recognition in Exim. You
> can lsearch the passwd file for the login id, but not for any other
> field. So you have to extract the data into something that Exim can
> search. Doing this blindly doing this seems a bad idea. Surely you would
> want to weed out the gecos fields for entries such as bin, daemon, etc?


In addition, it may be that two (or more) persons have the same
surname _and_ last name. In this case, a simple lsearch that
automagically extracts the uid from searching for firstname.lastname
in the gecos filed will only find the first matching entry...

When using a shell script to build the aliases file (or db), this
should also be considered.
Such a script could (for example) work as a wrapper for
useradd/adduser...

Regards,
Christian Schmidt
          ^^^^^^
      The German version of "Smith" - a very frequently used last
      name... ;-)
-- 
Hast Du Microsoft im Haus, bricht gleich Unheil aus!
        -- Gunter Roggensack