Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-10-2009, 10:49 PM
Elite Member
 
Posts: 296
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.
Reply With Quote
  #2 (permalink)  
Old 08-25-2009, 01:44 AM
Elite Member
 
Posts: 296
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".
Reply With Quote
  #3 (permalink)  
Old 08-25-2009, 01:47 AM
Moderator
 
Posts: 7,928
Default

Have a read of Zimbra and MailScanner as you could use a shared Bayes store instead.
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.