Page 1 of 1
Update to 4.0.2
Posted: 08 Feb 2020 14:40
by gregecslo
Hello.
I tried and failed:
Error: Package: 1:eFa-4.0.2-5.eFa.el7.x86_64 (eFa4)
Requires: MailScanner >= 5.2.2-1
Available: MailScanner-5.1.4-1.efa.3.rhel.noarch (eFa4)
MailScanner = 5.1.4-1.efa.3.rhel
Error: Package: 1:eFa-4.0.2-5.eFa.el7.x86_64 (eFa4)
Requires: MailScanner >= 5.2.2-1
Installing: MailScanner-5.1.4-1.efa.3.rhel.noarch (eFa4)
MailScanner = 5.1.4-1.efa.3.rhel
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Re: Update to 4.0.2
Posted: 08 Feb 2020 14:45
by shawniverson
Try again in a bit, the mirrors are replicating.
Re: Update to 4.0.2
Posted: 08 Feb 2020 16:15
by bikertrash
Getting the same error this morning since 04:30 PST and still at 08:15 PST... will let it ride until tomorrow morning and see what happens.
Not too worried about though... I'm sure it'll catch up at some point.
Re: Update to 4.0.2
Posted: 08 Feb 2020 16:52
by shawniverson
yeah the US/Canada mirror is lagging behind. It'll catch up sometime today.
Re: Update to 4.0.2
Posted: 08 Feb 2020 18:40
by shawniverson
I forced an rsync. They should be in sync now. Stupid cron job...
Re: Update to 4.0.2
Posted: 09 Feb 2020 06:12
by gregecslo
Hello.
I just removed mirrors from repo and it went OK.
Now I have problem that bayes score is not displayed in mailwatch gui.
Bayes DB seems OK, SA lint test went trough OK, but bayes score is not displayed at all.
Any idea?
Re: Update to 4.0.2
Posted: 09 Feb 2020 11:49
by shawniverson
gregecslo wrote: ↑09 Feb 2020 06:12
Hello.
I just removed mirrors from repo and it went OK.
Now I have problem that bayes score is not displayed in mailwatch gui.
Bayes DB seems OK, SA lint test went trough OK, but bayes score is not displayed at all.
Any idea?
Got a screenshot you could share?
Re: Update to 4.0.2
Posted: 09 Feb 2020 13:10
by gregecslo
Sure here.
Re: Update to 4.0.2
Posted: 09 Feb 2020 13:15
by shawniverson
Can you run an SA Lint for me and post the output?
Re: Update to 4.0.2
Posted: 09 Feb 2020 13:17
by gregecslo
Bayes is missing.
Also I have SPF_FAIL custom score set to add 5.0 points.
And in other case where I actually got mail with failed SPF it was scored + 0.95 points.
It`s like the prefs file was not evaluated or used at all.
Lint tests:
Also byes DB seems quite OK:
- efa403.PNG (18.09 KiB) Viewed 11045 times
I really don`t know what went wrong here
Re: Update to 4.0.2
Posted: 09 Feb 2020 13:27
by shawniverson
Can you post the path to your prefs file for me please?
Re: Update to 4.0.2
Posted: 09 Feb 2020 13:34
by shawniverson
Also, can you verify that /etc/mail/spamassassin/MailScanner.conf is symlinked to /etc/MailScanner/spamassassin.conf?
Re: Update to 4.0.2
Posted: 09 Feb 2020 13:38
by gregecslo
Prefs are here, default ones:
Code: Select all
[root@as MailScanner]# ls -l
total 724
-rw-r--r-- 1 root root 200 Feb 8 16:52 archives.filename.rules
-rw-r--r-- 1 root root 13 Feb 8 16:52 archives.filename.rules.allowall.conf
-rw-r--r-- 1 root root 7337 Jan 20 00:44 archives.filename.rules.conf
-rw-r--r-- 1 root root 200 Feb 8 16:52 archives.filetype.rules
-rw-r--r-- 1 root root 15 Feb 8 16:52 archives.filetype.rules.allowall.conf
-rw-r--r-- 1 root root 1398 Jan 20 00:44 archives.filetype.rules.conf
drwxr-xr-x. 2 root root 20 Feb 9 12:41 conf.d
-rw-r--r-- 1 root root 44134 Jan 20 00:44 country.domains.conf
lrwxrwxrwx. 1 root root 34 Nov 21 10:41 custom -> /usr/share/MailScanner/perl/custom
-rw-r--r-- 1 root root 4331 Nov 22 17:13 defaults
-rw-r--r--. 1 root root 4330 Nov 21 10:41 defaults.v3
-rw-r--r--. 1 root root 251 Nov 21 10:41 filename.rules
-rw-r--r--. 1 root root 13 Nov 21 10:41 filename.rules.allowall.conf
-rw-r--r--. 1 root root 46 Nov 21 10:41 filename.rules-allow.conf
-rw-r--r-- 1 root root 8120 Jan 18 11:08 filename.rules.conf
-rw-r--r--. 1 root root 45 Nov 21 10:41 filename.rules-deny.conf
-rw-r--r--. 1 root root 117 Nov 21 10:41 filetype.rules
-rw-r--r--. 1 root root 13 Nov 21 10:41 filetype.rules.allowall.conf
-rw-r--r--. 1 root root 1608 Nov 21 10:41 filetype.rules.conf
-rw-r--r-- 1 root root 151284 Feb 8 17:25 MailScanner.conf
drwxr-xr-x. 2 root root 184 Feb 8 16:51 mcp
-rw-r--r--. 1 root root 41 Nov 21 10:41 numeric.phishing.rules
-rw-r--r-- 1 root root 102413 Feb 9 08:05 phishing.bad.sites.conf
-rw-r--r-- 1 root root 102213 Feb 9 08:05 phishing.bad.sites.conf.master
-rw-r--r--. 1 root root 102213 Feb 9 08:05 phishing.bad.sites.conf.master.backup
-rw-r--r--. 1 root root 200 Nov 21 10:41 phishing.bad.sites.custom
-rw-r--r-- 1 root root 22249 Feb 9 08:05 phishing.safe.sites.conf
-rw-r--r-- 1 root root 22046 Feb 9 08:05 phishing.safe.sites.conf.master
-rw-r--r--. 1 root root 22046 Feb 9 08:05 phishing.safe.sites.conf.master.backup
-rw-r--r--. 1 root root 203 Nov 21 10:41 phishing.safe.sites.custom
lrwxrwxrwx 1 root root 30 Feb 8 16:52 reports -> /usr/share/MailScanner/reports
drwxr-xr-x. 2 root root 4096 Feb 8 16:52 rules
-rw-r--r-- 1 root root 12720 Feb 8 16:52 spamassassin.conf
-rw-r--r--. 1 root root 12366 Nov 21 10:37 spamassassin.conf.bak
-rw-r--r--. 1 root root 12370 Nov 21 10:41 spamassassin.conf.v3
lrwxrwxrwx. 1 root root 34 Nov 21 10:41 spam.assassin.prefs.conf -> /etc/MailScanner/spamassassin.conf
-rw-r--r-- 1 root root 1129 Jan 20 00:44 spam.lists.conf
-rw-r--r-- 1 root root 1684 Jan 20 00:44 virus.scanners.conf
-rw-r--r--. 1 root root 1488 Nov 21 10:41 virus.scanners.conf.v3
I have no such file in spamassassin folder:
Code: Select all
[root@as spamassassin]# ls -l
total 44
-rw-r--r-- 1 root root 1287 Feb 8 16:52 init.pre
-rw-r--r--. 1 root root 2379 Nov 4 11:51 local.cf
-rw-r--r--. 1 root root 2380 Nov 21 10:41 local.cf.v3
drwx------. 2 root root 83 Feb 9 08:05 sa-update-keys
-rw-r--r--. 1 root root 2523 Nov 21 10:11 v310.pre
-rw-r--r--. 1 root root 1194 Nov 4 11:51 v312.pre
-rw-r--r--. 1 root root 2412 Nov 21 10:11 v320.pre
-rw-r--r--. 1 root root 1237 Nov 4 11:51 v330.pre
-rw-r--r--. 1 root root 1020 Nov 4 11:51 v340.pre
-rw-r--r--. 1 root root 1303 Nov 21 10:11 v341.pre
-rw-r--r--. 1 root root 1499 Nov 21 10:11 v342.pre
-rw-r--r-- 1 root root 1262 Feb 8 16:52 v343.pre
Re: Update to 4.0.2
Posted: 09 Feb 2020 14:37
by gregecslo
Fixed by doing:
Code: Select all
cd /etc/mail/spamassassin/
ln -s /etc/MailScanner/spamassassin.conf mailscanner.cf
systemctl restart mailscanner
Why symlink dissapeared?
Re: Update to 4.0.2
Posted: 09 Feb 2020 14:55
by shawniverson
I see you migrated from v3. It looks like you have the old symlink still as well. Interesting.
Re: Update to 4.0.2
Posted: 09 Feb 2020 14:56
by gregecslo
Yeah I did migrate.
So what is the correct symlink?
The one I just created works just fine.
Re: Update to 4.0.2
Posted: 09 Feb 2020 14:57
by shawniverson
Yeah, the one you created is correct. The other one isn't hurting anything. Not sure why it disappeared, but I will migrate a v3 and update it to try to find out why.
Re: Update to 4.0.2
Posted: 09 Feb 2020 15:01
by gregecslo
OK thanks.
But for info, I migrated to V4 and everything was OK.
After 4.0.1 to 4.0.2 bayes stopped working, the rest is OK.
Re: Update to 4.0.2
Posted: 10 Feb 2020 00:58
by shawniverson
In that case I am going to add a condition to check for this symlink after the update. Hope this helps.
Re: Update to 4.0.2
Posted: 10 Feb 2020 07:01
by gregecslo
Yeah, that should do the trick
Re: Update to 4.0.2
Posted: 14 Apr 2020 14:45
by gregecslo
Hi.
Updated to new mailscanner and efa and had to this again.
bayes was not working.
Re: Update to 4.0.2
Posted: 17 Apr 2020 03:40
by smyers119
I had to do this on a brand new install of 4.0.2.
Re: Update to 4.0.2
Posted: 18 Apr 2020 14:41
by henk
After the upgrade today
Code: Select all
eFa-4.0.2-13.eFa.el7.x86_64.rpm
MailScanner-5.3.1-1.eFa.3.rhel.noarch.rpm
python2-josepy-1.3.0-2.el7.noarch.rpm
I noticed that the following symbolic link was still missing:
Code: Select all
etc/MailScanner/spamassassin.conf mailscanner.cf
The summary showed the following text:
Code: Select all
To update MailScanner and necessary modules run:
/usr/sbin/ms-configure --update
The
/usr/sbin/ms-configure --update will also check for the missing symlink and create it when missing.
It will take some time to complete. After that everything worked fine.
Re: Update to 4.0.2
Posted: 18 Apr 2020 15:00
by shawniverson
Fixed. Next update will ensure this symlink remains present.
Re: Update to 4.0.2
Posted: 18 Apr 2020 15:28
by shawniverson
Also just FYI, shouldn't need to run ms-configure. eFa dependencies are managed. If you were building your own mailscanner from scratch, then yes. I'll make a note to remove that message from the update package from upstream.