zmspamextract fails to pull emails from junk or ham account

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
guilhermehnog
Posts: 12
Joined: Fri Aug 02, 2019 1:56 pm

Re: SpamAssassin not learning

Post by guilhermehnog »

andrey.ivanov wrote:The exception is in the com.zimbra.common.httpclient.HttpClientUtil class. It could be a new Zimbra bug related to the major change of version of HttpCLient ("Upgraded 3rd Party HttpClient to version 4.5.5." from https://wiki.zimbra.com/wiki/Zimbra_Releases/8.8.15).

There is already a known issue with the same reason, with a workaround "WebMail Login Failure - when zimbraCsrfTokenCheckEnabled is set to FALSE Apache HttpClient Connection pool shuts down and login to webmail fails.". So maybe it's a second side effect of HttpClient upgrade in 8.8.15...
Interesting ...
zimbraCsrfTokenCheckEnabled is set to TRUE though

Code: Select all

[zimbra@mail ~]$ zmprov gacf | grep zimbraCsrfTokenCheckEnabled
zimbraCsrfTokenCheckEnabled: TRUE
How can we send that to developers to analyze. do i need zimbra network edition for that?
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2799
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.7 Network Edition
Contact:

Re: SpamAssassin not learning

Post by L. Mark Stone »

8.8.15 Patch 1 is due out this week. Will be interesting to see if the Release Notes cover this.

All the best,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
andrey.ivanov
Advanced member
Advanced member
Posts: 50
Joined: Wed Aug 08, 2018 8:44 am

Re: SpamAssassin not learning

Post by andrey.ivanov »

guilhermehnog wrote:
andrey.ivanov wrote:The exception is in the com.zimbra.common.httpclient.HttpClientUtil class. It could be a new Zimbra bug related to the major change of version of HttpCLient ("Upgraded 3rd Party HttpClient to version 4.5.5." from https://wiki.zimbra.com/wiki/Zimbra_Releases/8.8.15).

There is already a known issue with the same reason, with a workaround "WebMail Login Failure - when zimbraCsrfTokenCheckEnabled is set to FALSE Apache HttpClient Connection pool shuts down and login to webmail fails.". So maybe it's a second side effect of HttpClient upgrade in 8.8.15...
Interesting ...
zimbraCsrfTokenCheckEnabled is set to TRUE though

Code: Select all

[zimbra@mail ~]$ zmprov gacf | grep zimbraCsrfTokenCheckEnabled
zimbraCsrfTokenCheckEnabled: TRUE
How can we send that to developers to analyze. do i need zimbra network edition for that?
Yes, you need a supported Network Edition. I do have support but unfortunately i still have not tested 8.8.15 to reproduce your problem and make a ticket. As Mark says, maybe the 8.8.15_P1 will fix this problem.
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: SpamAssassin not learning

Post by pup_seba »

Hi,

On CentOS 7.6, 8.8.15p1 is not solving the problem with either FOSS or NE editions. I could not see either this problem described in the "known issues".

Regards,
slacker1337
Posts: 36
Joined: Fri Aug 30, 2019 8:54 am

Re: SpamAssassin not learning

Post by slacker1337 »

Hello guys,

same issue here - Zimbra 8.8.15 NE and FOSS too. I opened a support ticket on 23. august. Zimbra support was able to reproduce it on their test servers and allegedly the update to 8.8.15_P1 solved the problem on their side. But not in my case. Tried updating both the NE and FOSS and I'm still experiencing the issue.

Maybe the next patch will cover this, but it would be nice to see some workaround before.. :(
bb101
Posts: 8
Joined: Sat Sep 13, 2014 3:07 am

Re: SpamAssassin not learning

Post by bb101 »

We are experiencing the same problem too. Our mailboxes' spam false negatives have rocketed over the past couple of weeks.

I was hoping Zimbra/Synacor would be on the case and have fixed it in 8.8.15_patch1 but they haven't. Not sure why.

Code: Select all

Exception in thread "main" java.lang.NullPointerException
	at com.zimbra.common.httpclient.HttpClientUtil.executeMethod(HttpClientUtil.java:53)
	at com.zimbra.common.httpclient.HttpClientUtil.executeMethod(HttpClientUtil.java:49)
	at com.zimbra.cs.util.SpamExtract.extractMessages(SpamExtract.java:367)
	at com.zimbra.cs.util.SpamExtract.extract(SpamExtract.java:291)
	at com.zimbra.cs.util.SpamExtract.main(SpamExtract.java:220)
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: SpamAssassin not learning

Post by phoenix »

A better solution, IMO, would be to replace SpamAssassin with Rspamd. :)
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
thefantas
Posts: 5
Joined: Tue Jul 23, 2019 3:36 pm

Re: SpamAssassin not learning

Post by thefantas »

bb101 wrote:We are experiencing the same problem too. Our mailboxes' spam false negatives have rocketed over the past couple of weeks.

I was hoping Zimbra/Synacor would be on the case and have fixed it in 8.8.15_patch1 but they haven't. Not sure why.

Code: Select all

Exception in thread "main" java.lang.NullPointerException
	at com.zimbra.common.httpclient.HttpClientUtil.executeMethod(HttpClientUtil.java:53)
	at com.zimbra.common.httpclient.HttpClientUtil.executeMethod(HttpClientUtil.java:49)
	at com.zimbra.cs.util.SpamExtract.extractMessages(SpamExtract.java:367)
	at com.zimbra.cs.util.SpamExtract.extract(SpamExtract.java:291)
	at com.zimbra.cs.util.SpamExtract.main(SpamExtract.java:220)
I just updated Zimbra to the latest version 8.8.15 P1 and I have the same error, they haven't updated it.
guilhermehnog
Posts: 12
Joined: Fri Aug 02, 2019 1:56 pm

Re: SpamAssassin not learning

Post by guilhermehnog »

Patch 1 did not solve our problem either.

Doing some tests to see if something else changed.
stolen time
Posts: 14
Joined: Wed Sep 11, 2019 7:56 pm

Re: SpamAssassin not learning

Post by stolen time »

Same here too. I just decided to re-install rather than upgrade so it's a clean install - ZCS 8.8.15 open source (patch 1, provided that "apt upgrade" is all you have to do nowadays to patch) on Ubuntu 18.04.3 server.

It looks as if "spamtrain.log" contains nothing but these errors, and the Bayes filter has not started, so I suspect no training at all is happening.
Post Reply