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: 11
Joined: Fri Aug 02, 2019 1:56 pm

Re: SpamAssassin not learning

Postby guilhermehnog » Mon Aug 19, 2019 12:02 pm

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
Elite member
Elite member
Posts: 2046
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine
ZCS/ZD Version: 8.8.12 Network Edition
Contact:

Re: SpamAssassin not learning

Postby L. Mark Stone » Mon Aug 19, 2019 11:12 pm

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/
Zeta Alliance http://www.zetalliance.org/
andrey.ivanov
Posts: 48
Joined: Wed Aug 08, 2018 8:44 am

Re: SpamAssassin not learning

Postby andrey.ivanov » Tue Aug 20, 2019 9:10 am

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

Postby pup_seba » Fri Aug 30, 2019 8:11 am

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: 4
Joined: Fri Aug 30, 2019 8:54 am

Re: SpamAssassin not learning

Postby slacker1337 » Fri Aug 30, 2019 9:19 am

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

Postby bb101 » Sat Aug 31, 2019 10:14 am

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: 26341
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: SpamAssassin not learning

Postby phoenix » Sat Aug 31, 2019 10:54 am

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

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
thefantas
Posts: 5
Joined: Tue Jul 23, 2019 3:36 pm

Re: SpamAssassin not learning

Postby thefantas » Sat Aug 31, 2019 8:36 pm

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: 11
Joined: Fri Aug 02, 2019 1:56 pm

Re: SpamAssassin not learning

Postby guilhermehnog » Sun Sep 01, 2019 10:32 pm

Patch 1 did not solve our problem either.

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

Re: SpamAssassin not learning

Postby stolen time » Wed Sep 11, 2019 8:09 pm

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.

Return to “Administrators”

Who is online

Users browsing this forum: MSN [Bot] and 15 guests