[Dovecot] Autocreate plugin for some domains

Timo Sirainen tss at iki.fi
Wed Oct 14 19:18:17 EEST 2009


On Tue, 2009-10-13 at 22:53 -0500, Jose Luis Marin Perez wrote:
> I added the line you mentioned 
> 
> echo "yeah i got here" > /tmp/autocreate
> 
> and did not create the file /tmp/autocreate 

Then it needs more debugging. Try:

>  This is the script with the real domain:
> 
> #!/bin/bash
> 
> DOMAIN=`echo $USER|sed s/^.*@//`

echo $USER > /tmp/autocreate
echo $DOMAIN >> /tmp/autocreate
-------------- 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/8abae799/attachment.bin 


More information about the dovecot mailing list