[Dovecot] Override quota rules based on mail's content

Marty Anstey marty.anstey at sunwave.net
Fri Sep 11 02:53:07 EEST 2009


No problem; 'grep -Ev "^\s*quota_warning.*$" /etc/dovecot.conf >
/etc/dovecot-noquota.conf' solved it for now...

Just out of curiosity, how has this been addressed in 2.0?


>> Actually I just tried this and it doesn't appear to work:
>>
>> Fatal: Error in config file /etc/dovecot-noquota.conf: deliver doesn't
>> support !include directive
>>
>> I checked deliver.c in both 1.1.8 and 1.2.4 and it doesn't look like
>> it's supported in either.
>>     
>
> Oh. You can do the same thing manually
> though. /etc/dovecot-noquota.conf.in contains the mail_plugins setting
> and then have some script that does
> cat /etc/dovecot.conf /etc/dovecot-noquota.conf.in
>   
>> /etc/dovecot-quota.conf and try to remember to run it whenever
>>     
> dovecot.conf is updated. :) Or make it automatic by running some
> deliver.sh that checks if it has to be done.
>
> This is anyway also fixed entirely in upcoming Dovecot v2.0.
>
>   


More information about the dovecot mailing list