[Dovecot] Authenting in Linuxconf format
I have an existing email system and I'm trying to addapt dovecot into it. It uses the linuxconf virtual email format. The way it is set up is there there are multiple passwd/shadow files - one for eact domain. They are in standard format. The names of these files are:
/etc/vmail/passwd.domain.com /etc/vmail/shadow.domain.com
I tried this:
auth_userdb = passwd-file /etc/vmail/passwd.%d auth_passdb = passwd-file /etc/vmail/shadow.%d
but - it didn't expand the %d
So - is this going to work? If not - how do you do virtual domains? The documentation is less than complete on this.
On Dec 5, 2003, at 9:25 AM, Marc Perkel wrote:
I have an existing email system and I'm trying to addapt dovecot into it. It uses the linuxconf virtual email format. The way it is set up is there there are multiple passwd/shadow files - one for eact domain. They are in standard format. The names of these files are:
auth_userdb = passwd-file /etc/vmail/passwd.%d auth_passdb = passwd-file /etc/vmail/shadow.%d
but - it didn't expand the %d
Well, that looks pretty logical but it'd require several changes. Maybe some day, or you could try patching yourself :)
So - is this going to work? If not - how do you do virtual domains? The documentation is less than complete on this.
If you want it with passwd-file, you could build it so that username field contains "user@domain.com". Alternatives would be at least SQL or LDAP database and there's some examples in Wiki for them.
participants (2)
-
Marc Perkel
-
Timo Sirainen