[Dovecot] Autocreate plugin for some domains

Timo Sirainen tss at iki.fi
Wed Oct 14 19:39:10 EEST 2009


On Wed, 2009-10-14 at 11:37 -0500, Jose Luis Marin Perez wrote:
> These are the results:
> 
> more /tmp/autocreate
> jmarin
> jmarin

Oh, right, that's because of vchkpw that drops the @domain out of $USER.
What if you simply comment out:

> DOMAIN=`echo $USER|sed s/^.*@//`

Maybe it sets $DOMAIN internally? If not, find out where the domain is:

set > /tmp/environment

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091014/83fc0e47/attachment.bin 


More information about the dovecot mailing list