<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Dominic Marks wrote:<br>
<blockquote cite="mid200507171600.11453.dom@goodforbusiness.co.uk"
type="cite">
<pre wrap="">On Sunday 17 July 2005 15:40, Marc Perkel wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Actually maybe it's passwd-file I want? Docs are confusing.
auth passwd {
userdb = passwd-file /etc/vmail/passwd.%d
passdb = passwd-file /etc/vmail/shadow.%d
}
</pre>
</blockquote>
<pre wrap=""><!---->
Yes. If the %d expansion happened at authentication time,
that would be correct.
You should (could) run the auth process as a non-root user as
a security enhancement since there is no need for root privs
with passwd-file authentication.
</pre>
</blockquote>
If that worked then all I would need then is a way to us %n instead of
the whole email address to be the user that is looked up. The idea is
that the domain name %d selects the file to look in and the %n part is
the username within that file.<br>
</body>
</html>