[Dovecot] Authentication feature I need

Marc Perkel marc at perkel.com
Sun Jul 17 18:02:54 EEST 2005



Dominic Marks wrote:

>On Sunday 17 July 2005 15:40, Marc Perkel wrote:
>  
>
>>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
>>}
>>    
>>
>
>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.
>
>  
>
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050717/faac7006/attachment-0003.html>


More information about the dovecot mailing list