/[smecontribs]/rpms/smeserver-learn/contribs10/smeserver-learn-1.0.bz9446.chown-bayes_tok.patch
ViewVC logotype

Contents of /rpms/smeserver-learn/contribs10/smeserver-learn-1.0.bz9446.chown-bayes_tok.patch

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


Revision 1.1 - (show annotations) (download)
Sun Dec 20 11:47:17 2020 UTC (3 years, 10 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-learn-1_0-15_el7_sme, smeserver-learn-1_0-16_el7_sme, smeserver-learn-1_0-14_el7_sme, HEAD
Error occurred while calculating annotation data.
Initial import

1 diff -Nur smeserver-learn-1.0.old/root/usr/bin/Learn.pl smeserver-learn-1.0/root/usr/bin/Learn.pl
2 --- smeserver-learn-1.0.old/root/usr/bin/Learn.pl 2016-07-29 04:11:26.682000000 -0400
3 +++ smeserver-learn-1.0/root/usr/bin/Learn.pl 2016-07-29 05:33:45.249000000 -0400
4 @@ -238,6 +238,9 @@
5 my $newmd5 = Digest::MD5->new->addfile(SADB)->b64digest;
6 close(SADB);
7
8 +# fix for bad ownership of bayes files
9 +system('/bin/chown','spamd:spamd','/var/spool/spamd/.spamassassin/bayes_toks');
10 +
11 if ($newmd5 ne $md5) {
12 `expand-template /etc/mail/spamassassin/local.cf`;
13 `/etc/init.d/spamd restart`;

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