13 Oct
2009
13 Oct
'09
9 p.m.
On Mon, 2009-10-12 at 15:48 -0500, Jose Luis Marin Perez wrote:
passdb: driver: checkpassword args: /usr/vpopmail/bin/vchkpw /usr/local/bin/vchkpw-wrapper.sh userdb: driver: prefetch args: uid=89 gid=89 home=/usr/vpopmail/domains/%d/%u
So basically you get the configuration from checkpassword script. You can change vchkpw-wrapper.sh to set environment variables:
AUTOCREATE=box1 AUTOCREATE2=box2 EXTRA=autocreate autocreate2 etc.
Insert your own logic there to figure out for what domains that needs to be done.