Dear Timo,
I am currently using the vchkpw-wrapper.sh script to register users connected to the server.
So adding the configuration that tells me and would be as follows:
#!/bin/bash
DOMAIN=echo $USER|sed s/^.*@//
if [ "$DOMAIN" = "domain2.com" ]; then
export USERDB_AUTOCREATE=box1
export USERDB_AUTOCREATE2=box2
export EXTRA="USERDB_AUTOCREATE USERDB_AUTOCREATE2"
fi
unset USER exec $*
This properly configured?
This would be the same procedure for using any plugins (Example expires) in a certain domain?
Thanks
Jose Luis
Subject: Re: [Dovecot] Autocreate plugin for some domains From: tss@iki.fi To: dovecot@dovecot.org CC: jolumape_al@hotmail.com Date: Tue, 13 Oct 2009 15:58:57 -0400
On Tue, 2009-10-13 at 15:58 -0400, Timo Sirainen wrote:
if [ "$DOMAIN" = "domain2.com" ]; then export AUTOCREATE=box1 export AUTOCREATE2=box2 export EXTRA="AUTOCREATE AUTOCREATE2"
Oh, actually:
export USERDB_AUTOCREATE=box1 export USERDB_AUTOCREATE2=box2 export EXTRA="USERDB_AUTOCREATE USERDB_AUTOCREATE2"
Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE