On Tue, 2009-10-13 at 14:45 -0500, Jose Luis Marin Perez wrote:
> 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? 

something like:

DOMAIN=`echo $USER|sed s/^.*@//`
if [ "$DOMAIN" = "domain2.com" ]; then
  export AUTOCREATE=box1
  export AUTOCREATE2=box2
  export EXTRA="AUTOCREATE AUTOCREATE2"
fi
exec ...

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to