[Dovecot] 1.2.beta1: expire-tool and 'mail_location' setting
e-frog
e-frog at gmx.de
Wed Jun 3 07:57:13 EEST 2009
-------- Original Message --------
Subject: Re: [Dovecot] 1.2.beta1: expire-tool and 'mail_location' setting
From: Timo Sirainen <tss at iki.fi>
To: e-frog <e-frog at gmx.de>
Date: 02.06.2009 23:21
> On Tue, 2009-06-02 at 21:29 +0200, e-frog wrote:
>> Adding imap_quota plugin to the mail_plugins for protocol imap breaks it:
>>
>> $ sudo /usr/sbin/dovecot --exec-mail ext /opt/bin/expire-tool.sh --test
>
> Well, if you're using a script anyway, just modify MAIL_PLUGINS
> environment there. :)
>
Well, I just used the script for debugging :) But OK why not using it
always? The following deletes imap_quota from the MAIL_PLUGINS variable.
expire-tool.sh:
#!/bin/bash
MAIL_PLUGINS=${MAIL_PLUGINS//imap_quota/}
#set > /tmp/dovecot-environment
/usr/lib/dovecot/expire-tool $1
More information about the dovecot
mailing list