Re: [Dovecot] Expire plugin per domain

2009-10-20 Thread Jose Luis Marin Perez
Thanks Timo > From: t...@iki.fi > To: jolumape...@hotmail.com > Date: Tue, 20 Oct 2009 16:46:52 -0400 > CC: dovecot@dovecot.org > Subject: Re: [Dovecot] Expire plugin per domain > > On Tue, 2009-10-20 at 15:43 -0500, Jose Luis Marin Perez wrote: > > D

Re: [Dovecot] Expire plugin per domain

2009-10-20 Thread Timo Sirainen
On Tue, 2009-10-20 at 15:43 -0500, Jose Luis Marin Perez wrote: > DOMAIN=`echo $VPOPUSER|sed s/^.*@//` .. > > > vchkpw-wrapper.sh does, except since it doesn't call vchkpw > itself, > > > it'll need to get the username from $USER instead of $VPOPUSER. > > > The above explains the first problem...

Re: [Dovecot] Expire plugin per domain

2009-10-20 Thread Jose Luis Marin Perez
ds: uid box msgid size dict: expire: mysql:/usr/local/etc/dovecot-dict-expire.conf > Subject: Re: [Dovecot] Expire plugin per domain > From: t...@iki.fi > To: jolumape...@hotmail.com > CC: dovecot@dovecot.org > Date: Tue, 20 Oct 2009 16:25:29 -0400 > > On Tue, 2009-10-20

Re: [Dovecot] Expire plugin per domain

2009-10-20 Thread Timo Sirainen
On Tue, 2009-10-20 at 10:00 -0500, Jose Luis Marin Perez wrote: > My problem is that I have no idea how to create the userdb.sh From my previous mail: > Then create /usr/local/bin/userdb.sh which does more or less what the > vchkpw-wrapper.sh does, except since it doesn't call vchkpw itself, >

[Dovecot] Expire plugin per domain

2009-10-20 Thread Jose Luis Marin Perez
Dear Timo thank you for the help your giving me these. I want to set expire plugin only for some domains in the same way I set autocreate plugin. vchkpw-wrapper.sh #!/bin/bash DOMAIN=`echo $VPOPUSER|sed s/^.*@//` echo $USER > /tmp/autocreate echo $DOMAIN >> /tmp/autocreate if [ "$DO