Re: [Exim] custom password file

Etusivu
Poista viesti
Vastaa
Lähettäjä: Phil Pennock
Päiväys:  
Vastaanottaja: tdn
Kopio: exim-users
Aihe: Re: [Exim] custom password file
On 2002-03-17 at 14:22 +0300, tdn wrote:
> How do I set exim to verify local deliveries from a separate file other than
> /etc/passwd ?


Either don't use a "localuser" director or change the authentication
method used by Exim.

localuser uses the system getpwnam() function. If you have a system
with PAM or bsd_auth support, then you can change the PAM/bsd_auth
config files so that if it's Exim asking, then a different file is used.
You'll need a system already set up like this, and if it's PAM then
you'll need to ensure that you build Exim with the right options set.
This should give you the right keywords and concepts to search the
documentation for. :^)

If it's just for Exim, or you don't have such a system, then use a
"smartuser" director instead of a "localuser". You'll need to think
carefully about where the mail is going to end up, and who it will be
owned by, if not using the system /etc/passwd.

Read the Exim Specification stuff on smartuser, in chapter 26; also
chapter 15, on the appendfile transport. If you haven't already done
so, look over the contents and read whatever seems relevant for your
current level of understanding.
--
Considering the number of wheels that Microsoft has found reason to invent,
one never ceases to be baffled by the minuscule number whose shape even
vaguely resembles a circle. -- anon