Dear Timo, Thanks for your reply.
In the case of having two domains, eg: dominio1.com dominio2.com And I just want to use the plugin autocreate for dominio2.com, how could configure vchkpw-wrapper.sh? This would be the same logic if I want to use the plugin expires for certain domains? Thanks Jose Luis > From: t...@iki.fi > To: jolumape...@hotmail.com > Date: Tue, 13 Oct 2009 14:00:11 -0400 > CC: dovecot@dovecot.org > Subject: Re: [Dovecot] Autocreate plugin for some domains > > 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. _________________________________________________________________ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx