Page 1 of 1

About Razor2

Posted: Wed Sep 30, 2020 10:31 am
by zimico
Dear everyone,
Are you using Razor? I install and set up Pyzor and Razor according to Zimbra Wiki but only see Pyzor score and never see Razor2 score. When testing a spam email sample (/opt/zimbra/common/bin/spamassassin -D < sample-spam.txt), I see Razor info as the following:

Code: Select all

check_razor2: 1971 (16.3%),

and the scores:

Code: Select all

Content preview: This is the GTUBE, the Generic Test for Unsolicited Bulk Email
If your spam filter supports it, the GTUBE provides a test by which you can
verify that the filter is installed correctly and is detecting incoming spam.
You can send yourself a test mail containing t [...]

Content analysis details: (1007.2 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 NO_RELAYS Informational: message was not relayed via SMTP
1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email
2.2 DCC_CHECK Detected as bulk mail by DCC (
2.0 PYZOR_CHECK Listed in Pyzor
0.0 DIGEST_MULTIPLE Message hits more than one network digest check
0.0 KAM_DMARC_STATUS Test Rule for DKIM or SPF Failure with Strict
3.0 Z_NODOMAIN_UNDISC More points if not send to our domain
0.0 FSL_BULK_SIG Bulk signature with no Unsubscribe
-0.0 NO_RECEIVED Informational: message has no Received headers

The sample-spam.txt is from apache spamassassin site.

How I confirm that razor2 is running as expected?

My warmest regards,

Re: About Razor2 (solved)

Posted: Sat Oct 03, 2020 2:59 am
by zimico
My razor2 now is working! I tried to add some additional steps:

Code: Select all

- Create .pyzor, .razor and .spamassassin directories, as root user:
mkdir -p /opt/zimbra/.pyzor
chown zimbra:zimbra /opt/zimbra/.pyzor
mkdir -p /opt/zimbra/.razor
chown zimbra:zimbra /opt/zimbra/.razor
mkdir -p /opt/zimbra/.spamassassin
chown -R zimbra:zimbra /opt/zimbra/.spamassassin
- Copy razor-agent.conf
cp /opt/zimbra/data/amavisd/.razor/razor-agent.conf /opt/zimbra/.razor/
chown zimbra:zimbra /opt/zimbra/.razor/razor-agent.conf