/[smecontribs]/rpms/smeserver-dovecot-extras/contribs10/smeserver-dovecot-extras-0.1.6-Fix-sieve-compile.patch
ViewVC logotype

Annotation of /rpms/smeserver-dovecot-extras/contribs10/smeserver-dovecot-extras-0.1.6-Fix-sieve-compile.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Apr 7 15:31:36 2021 UTC (3 years, 7 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-dovecot-extras-0_1_6-6_el7_sme, smeserver-dovecot-extras-0_1_6-8_el7_sme, smeserver-dovecot-extras-0_1_6-3_el7_sme, smeserver-dovecot-extras-0_1_6-5_el7_sme, smeserver-dovecot-extras-0_1_6-7_el7_sme, smeserver-dovecot-extras-0_1_6-4_el7_sme, HEAD
* Wed Apr 07 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.6-3.sme
- fix up sieve compile depending on whether bayes is in use [SME: 11531]

1 brianr 1.1 diff -urN smeserver-dovecot-extras-0.1.6.old/root/etc/e-smith/events/actions/dovecot-compile-sieve smeserver-dovecot-extras-0.1.6/root/etc/e-smith/events/actions/dovecot-compile-sieve
2     --- smeserver-dovecot-extras-0.1.6.old/root/etc/e-smith/events/actions/dovecot-compile-sieve 2018-03-27 15:31:26.000000000 +0100
3     +++ smeserver-dovecot-extras-0.1.6/root/etc/e-smith/events/actions/dovecot-compile-sieve 2021-04-07 16:25:28.233252675 +0100
4     @@ -1,3 +1,9 @@
5     #!/bin/bash
6    
7     -/usr/bin/sievec /usr/libexec/dovecot/sieve/
8     +status=$(/sbin/e-smith/config getprop spamassassin UseBayes || echo 0)
9     +if [ "$status" = "1" ]
10     +then
11     + systemctl restart dovecot
12     + /usr/bin/sievec /usr/libexec/dovecot/sieve/
13     +fi
14     +#/usr/bin/sievec /usr/libexec/dovecot/sieve/

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed