[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tpop3d-discuss] Virtual domains using passwd files
From: |
Angel Marin |
Subject: |
[tpop3d-discuss] Virtual domains using passwd files |
Date: |
Sat, 8 Jun 2002 19:30:27 +0200 |
Hi,
I have developed an auth plugin which use passwd style files for virtual
domains.
What it does :
- auths the user against an alternate password file
- sets the uid and gid for r/w the mailbox
How to configure:
I added a couple things in the configuration file, so everything is
customisable:
"auth-virtual-mail-user:" system user that can access the mailboxes
* auth-virtual-mail-user: mail
"auth-virtual-mail-group:" system group that can access the mailboxes
* auth-virtual-mail-group: mail
"auth-virtual-passwd-file:" selects the location of the password file for
the domains you can use the substitution string $(domain)
* auth-virtual-passwd-file: /etc/domains/$(domain)/shadow
How it works:
The driver is initialized with the config params, then when the user
logs
in $(domain) is replaced with user domain and try to authenticate against
that password style file.
To do:
Modify configure & makefile
Any suggestion ?
The patch:
Attachment: tpop3d-1.4.1-virtual.patch
tpop3d-1.4.1-virtual.patch
Description: Binary data
- [tpop3d-discuss] Virtual domains using passwd files,
Angel Marin <=