Results 1 to 5 of 5

Thread: how can i tell if razor/pyrzor are functioning?

  1. #1
    rabettle is offline Intermediate Member
    Join Date
    Aug 2010
    Location
    Bellingham WA
    Posts
    23
    Rep Power
    5

    Default how can i tell if razor/pyrzor are functioning?

    So I installed razor/pyzor working off various threads I read on here and I didn't see any errors during that process.

    How can I tell if it is working though?

    Code:
    X-Virus-Scanned: amavisd-new at zimfe6.technitos.com
    X-Spam-Flag: NO
    X-Spam-Score: 0.702
    X-Spam-Level: 
    X-Spam-Status: No, score=0.702 tagged_above=-10 required=6.6
    	tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
    	DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
    	RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01,
    	T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
    Aren't I supposed to see a razor/pyzor result in there? Any ideas why I don't? the lines are uncommented in the 310.pre file etc.

  2. #2
    rabettle is offline Intermediate Member
    Join Date
    Aug 2010
    Location
    Bellingham WA
    Posts
    23
    Rep Power
    5

    Default

    anyone have any advice?

  3. #3
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,373
    Rep Power
    10

    Default

    When Amavis starts, it populates /var/log/zimbra.log with all of the tools it uses to check emails. If Razor, Pyzor etc. are configured correctly, they will show up here.

    You can safely restart Amavis without restarting all of Zimbra by running as the zimbra user:

    Code:
    zmamavisdctl restart
    If you first open up a second terminal window and run as root:

    Code:
    tail -f /var/log/zimbra.log
    you will be able to see Amavis starting in real time.

    Hope that helps,
    Mark

  4. #4
    rabettle is offline Intermediate Member
    Join Date
    Aug 2010
    Location
    Bellingham WA
    Posts
    23
    Rep Power
    5

    Default

    well, it is loading razor but not pyzor. razor is still absent from the headers too.

    i'll have to do some more digging.

  5. #5
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,373
    Rep Power
    10

    Default

    Quote Originally Posted by rabettle View Post
    well, it is loading razor but not pyzor. razor is still absent from the headers too.

    i'll have to do some more digging.
    It may also help to increase the logging level in Amavis from the Zimbra-set "1" to "2". You can do this by editing as root the following line in /opt/zimbra/conf/amavisd.conf.in and then restarting Amavis.

    Code:
    mail2:~ # cat /opt/zimbra/conf/amavisd.conf.in | grep "log_level ="
    $log_level = 2;              # verbosity 0..5 - 1 is the minimum for msg tracing
    mail2:~ #
    Note that this file is set to be read-only, so to edit the file you'll need to change the file's permissions first (via the "chmod" command), edit the file, and then (ideally) set the permissions back the way they were before you started.

    Increasing the logging level to 2 we have found helps answer the question "Why was that email marked as spam?" In /var/log/zimbra.log, Amavis will no report every specific test that added to the score of an email, as well as by how much, like so:

    Code:
    Feb  3 10:55:27 mail2 amavis[25278]: (25278-06) SPAM-TAG, <spammer@example.net> -> <legitimate_user@legitimate_domain.com>, Yes, score=6.862 tagged_above=-10 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, HTML_IMAGE_RATIO_02=0.437, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.723, RCVD_IN_BRBL_LASTEXT=1.449, SPF_PASS=-0.001, T_DKIM_INVALID=0.01, T_REMOTE_IMAGE=0.01, T_RP_MATCHES_RCVD=-0.01, T_URIBL_BLACK_OVERLAP=0.01, URIBL_BLACK=1.725, URIBL_WS_SURBL=1.608] autolearn=no
    Hope that helps,
    Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Spell check not functioning
    By coreASP in forum Users
    Replies: 5
    Last Post: 05-23-2010, 10:14 PM
  2. Zimbra stopped functioning suddenly.
    By Miklos Kalman in forum Administrators
    Replies: 11
    Last Post: 02-14-2008, 12:02 PM
  3. ZimbraAdmin Not Functioning
    By dmoring in forum Installation
    Replies: 3
    Last Post: 12-30-2005, 10:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •