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

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 Display Modes
  #1 (permalink)  
Old 09-21-2007, 11:48 AM
Outstanding Member
 
Posts: 596
Default Improving accuracy of the Junk button by screening/training users

Anyone who has ever received postmaster or (worse) AOL feedback loop complaints is familiar with the problem of lusers using the "Junk" button for "Delete."

If you have a moderate population of students reporting every email that certain college officials send to the "all students" mailing list as Junk, then eventually, you have a problem. I need some help on some components of a possible solution (which, alas, does not involved disciplining certain college officials as to the responsible use of bulk email).

Under the Zimbra hood, currently:

When someone hits the "Junk" button, the email is forwarded as an attachment to the spam.* account created upon server installation. A nightly cron job uses that account's INBOX as a corpus for training spamassassin's bayes database.

I encourage you to "View Mail" for your spam user. You might be surprised how much nonspam is being reported as spam.

Vision for possible improvement:

1) When someone sends an email to spam.*, we shunt the mail into a "manual review" mailbox, and autoreply with a pointer to a web page with a "So you want to help us by reporting Junk Mail?" web site.

2) We use the web site to educate the user about how to opt out of "official" mailing lists, how to squelch junk mail from commonly complained-about sites including Facebook, Abercrombie, and Amazon, etc. And then we welcome their feedback about actual unsolicited bulk email.

3) They agree. They are added to the spam.* user's Contacts.

4) A filter in the spam.* account allows email from their Contacts, and only email from their Contacts, to get through to INBOX.

Questions:

1) Where exactly does the built-in vacation functionality hook in? Is it possible to write a sieve filter that vacation-replies only under some circumstances? The other obvious thing that people might want is to send vacation autoreplies only to one's contacts or local domain. Makes no sense to send a vacation autoreply to a spammer or a burglar.

2) Hmm, I guess I only have one question. General comments about this scheme?
Reply With Quote
  #2 (permalink)  
Old 09-21-2007, 01:52 PM
Zimbra Consultant
 
Posts: 5,814
Default

Suppose you could change the button name in ZmMsg.properties, but searching is:junk wouldn't be as intuitive then...anyway

Have you added anything to your trusted_networks yet?

Quote:
Originally Posted by Rich Graves
3) They agree. They are added to the spam.* user's Contacts.

4) A filter in the spam.* account allows email from their Contacts, and only email from their Contacts, to get through to INBOX.
Maybe control who can send to the account using RestrictPostfixRecipients - ZimbraWiki

I like it, here's some more ideas:

Let's consider the 'moderated spam account' a 2nd RFE

So for the 'end user training about spam' one, let's ditch the first-click-shunt to a manual review mailbox for now, as I just foresee problems with that concept:
A) time needed to implement
b) time needed by admins to actually review the mail
c) privacy concerns

Instead, on the first click, load a page in zimbra that says something to the effect of:
"In order to cut down on future false-positives, before you're allowed to mark something as junk please review the following concepts about spam."

Then you go into:
  • How to opt-out of "official" mailing lists instead of using the junk button because it cuts down on false-positives & reduces mail volume all together.
  • How to squelch junk mail from commonly complained-about sites including Facebook, Abercrombie, and Amazon, etc, so that you aren't affecting mail delivery that others find usefull.
  • And point them at an external link where you welcome their feedback about actual unsolicited bulk email that they are receiving.
  • blah blah blah...
At the end there would be a checkbox (and whatever method you want to dream up/multiple checkboxes/mini quiz whatever) to be sure they read it.

They 'pass' and their added to the list.

And so you don't have to worry about what to be doing with that first 'possible junk/spam' email, you just say:
"Thank you, you can now go about marking items as spam via the junk button."


Of course make the whole thing enabled/disabled per cos/account, with the default set to 'disabled'.
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com

Last edited by mmorse : 09-21-2007 at 02:02 PM.
Reply With Quote
  #3 (permalink)  
Old 09-21-2007, 05:38 PM
Moderator
 
Posts: 1,010
Default

It actually gets a little more complicated than that. It's the whole problem that on one hand, you want to pool everybody's spam to train the filters, so that we all benefit from each user's experience, but on the other hand, one user will consider the Victoria's Secret emails (to pick a hypothetical example ) to be spam while another will consider them essential news.

I would say that the only effective solution to this would be to have COS that can train the spam filters and other COS that can't.

Or maybe have a two-level Bayesian database--one global and one personal, and only have selected COS able to train the global list.

These are both easy to describe; methinks they'll be a lot more complicated to implement. . .
Reply With Quote
  #4 (permalink)  
Old 09-21-2007, 06:27 PM
Zimbra Consultant
 
Posts: 5,814
Default

I think he was going for educating them to get less spam in the first place & when not to use junk/spam as delete.
What your expanding it to has been requested before: Bug 3870 - per user Spam Assassin score

DSPAM...
This is also interesting: AboutMaia - Maia Mailguard - Trac
individual & system wide spamassassin bayes training, (domain rules can override any individual's rules), amavisd-new, and it uses either two SMTP-based mail servers in a dual-MTA arrangement OR an SMTP server with re-injection capability (e.g. Postfix)

It uses an older/custom amavisd-new 2.2.1 even though 2.5.2 came out this last june -reasons are here: AmavisVersion - Maia Mailguard - Trac
But from what I'm understanding you could technically add another on top of that? "supports a wide range of virus scanners, and can use multiple scanners for layered protection/one or more virus scanners supported by amavisd-new"
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com

Last edited by mmorse : 09-28-2007 at 12:44 PM.
Reply With Quote
  #5 (permalink)  
Old 09-21-2007, 06:56 PM
Loyal Member
 
Posts: 94
Default

I'm in the same boat - when a newsletter gets "junked" and I find it during my regular evening review. I'm replying from the spam account (created an alias called spam to reduce their confusion as to the source) with a definition of unsolicited and bulk and instructions on how to unsubscribe. Although manual it is surprisingly effective. A couple of reminders and people seem to get it pretty quick.

I don't see this scaling well as the user count increases.
__________________
Brian Harden
www.chromedcomputing.com

Last edited by brained : 09-21-2007 at 11:40 PM.
Reply With Quote
  #6 (permalink)  
Old 09-24-2007, 07:01 PM
Outstanding Member
 
Posts: 596
Default

Nuclear Elephant: DSPAM offers the two-level bayesian database suggested by dwmtractor. It ships with Zimbra, but has been disabled since 4.5 because it appeared unstable under load. Barracuda claims to have made it work somewhat reliably. They have some really old patches posted at Spam Filter / Spam Firewall / Web Filter / Spam Appliance / Load Balancer / Content Filter / Email Archiver

Hmm, after some quiet period, a DSPAM 3.8 was released in March, though the changelog shows no activity since December 2006. Not sure if anyone at Zimbra has been tracking it, or if they just gave up on it.

I like the ideas above. I can post an RFE if no one else has interest. (I recently got really busy, but that could change again.)
Reply With Quote
  #7 (permalink)  
Old 09-24-2007, 07:16 PM
Zimbra Consultant
 
Posts: 5,814
Default

yup dspam in 4.0.3 had some faults & so did 4.0.5 so it was finally turned off for 4.5.1
Bug 12185 - disable dspam by default
Bug 12079 - turn down or turn off dspam logging
Bug 13962 - DSPAM Blocks devliery when enabled

The moderator JoshuaPrismon (aka Lostknight) was the one who influenced dspam being included in the first place - it was some excellent work for for those who remember (all the way back to dspam 3.6.1)
josh, you been keeping abreast of the dspam world lately?
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com

Last edited by mmorse : 09-24-2007 at 07:30 PM.
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0