Results 1 to 4 of 4

Thread: Modify Not Junk behavior

  1. #1
    peter@mxtoolbox.com is offline Partner (VAR/HSP)
    Join Date
    Feb 2007
    Location
    Austin, TX
    Posts
    110
    Rep Power
    8

    Question Modify Not Junk behavior

    We have our ZCS sitting behind an external MTA with Anti-Spam filtering going on before messages hit Zimbra. What I really need to do is figure out a way of modifying the system so that after a message is falsely marked as spam and placed in the Junk folder, when the user corrects the system by hitting "Not Junk" from the UI I need Zimbra to write a header to the message, put the message back in an envelope and re-inject the message back to the MTA for reprocessing. Any ideas out there?

    I have thought about trying to create a message filter and setting zimbraMailTransport for the global HAM account, but I'm not sure this would work.
    Peter LeBlond
    Product Development Engineer
    http://www.mxtoolbox.com


  2. #2
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,292
    Rep Power
    13

    Default

    Can't you do it the other way round ?

    I mean get your antispam gateway to check an IMAP folder on the ZCS server ?

  3. #3
    peter@mxtoolbox.com is offline Partner (VAR/HSP)
    Join Date
    Feb 2007
    Location
    Austin, TX
    Posts
    110
    Rep Power
    8

    Default

    The MTA is just that. It talks SMTP. I need Zimbra to send the message back to it via SMTP and then the logic in the MTA can determine if it needs to deliver back to the Zimbra server to be put in the Inbox, or to a different server elsewhere which is waiting for these messages.
    Peter LeBlond
    Product Development Engineer
    http://www.mxtoolbox.com


  4. #4
    JoshuaPrismon is offline Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by peter@mxtoolbox.com View Post
    We have our ZCS sitting behind an external MTA with Anti-Spam filtering going on before messages hit Zimbra. What I really need to do is figure out a way of modifying the system so that after a message is falsely marked as spam and placed in the Junk folder, when the user corrects the system by hitting "Not Junk" from the UI I need Zimbra to write a header to the message, put the message back in an envelope and re-inject the message back to the MTA for reprocessing. Any ideas out there?

    I have thought about trying to create a message filter and setting zimbraMailTransport for the global HAM account, but I'm not sure this would work.
    fetchmail is your friend ;-)

    Fetchmail can keep track of what items have been grabbed before. Anything in the HAM folder by definition was misclassified (no header rewrite needed), and you can fetch it off of the server, and then use a tool like formail to do any rewriting, or just shove it back into the smtp queue. You can add a entry in a crontab to force fetchmail to run at a particular interval.

    Your smtp filter will have to know not to try and re-deliver ham email messages once they have been sent.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ZCO/Outlook and Junk Mail
    By reza225 in forum Administrators
    Replies: 11
    Last Post: 08-03-2007, 06:08 AM
  2. Spam training. Junk or Junk E-mail folders?
    By azilber in forum Zimbra Connector for Outlook
    Replies: 0
    Last Post: 02-15-2007, 01:24 PM
  3. Spam training and Junk folder behavior
    By flyerguybham in forum Administrators
    Replies: 9
    Last Post: 02-14-2007, 12:09 PM
  4. Slowing Down Junk Deletion
    By kollross in forum Administrators
    Replies: 0
    Last Post: 02-07-2007, 07:13 AM
  5. Junk folder and IMAP
    By richard-hdd in forum Installation
    Replies: 3
    Last Post: 09-17-2006, 02:46 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
  •