Results 1 to 3 of 3

Thread: code for marking email as "Junk" or "not Junk"

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    Default code for marking email as "Junk" or "not Junk"

    Dear All,

    Does anyone know where's the codes and actions when we click the button of "Junk" and "not Junk" ?

    as far as I know, when user marks email as Junk, this mail will be file into /Junk folder and also send to system-wide spam account (spam.xxxxxx@domain) for rule training by zmtrainsa (running by cron).

    and anyone knows where's the code for "Junk" and "not Junk" button action?

    Thanks.

  2. #2
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    Default

    here's what i've found:

    when user clicks "Junk" buttom, system will file such item to Junk folder and also send such email (as an eml format) to spam.xxxx@domain (which is created when installation).

    every night (11:00PM), zmtrainsa is run by zimbra user to extract emails from this accounts (spam.xxxx and ham.xxxx) into eml format and then send to Spamassassin for learn.

    at 11:45PM, zmtrainsa is running again with "--cleanup" option to clean mailboxes for spam.xxx and ham.xxx users.


    because we have our own spam gateway, thus we can modify the zmtrainsa script to forward such spam or ham emails to it for further processing.

    by the way, in our environment, we disable "anti-spam" service , and don't worry, this will not cause any impact to "zmtrainsa".

  3. #3
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Have a read of http://www.zimbra.com/forums/etc/316...ilscanner.html as you could use a shared Bayes store instead.

Similar Threads

  1. [SOLVED] mailboxmanager does not start
    By jrefl5 in forum Administrators
    Replies: 18
    Last Post: 01-30-2012, 11:40 PM
  2. [SOLVED] Moving Zimbra to a new server
    By krolen in forum Administrators
    Replies: 109
    Last Post: 02-05-2009, 11:38 AM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 08:46 PM
  4. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 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
  •