Results 1 to 3 of 3

Thread: Applying spam filters for external POP3 Email.

  1. #1
    Join Date
    Nov 2008
    Rep Power

    Unhappy Applying spam filters for external POP3 Email.

    Spam filtering doesn't work with 5.0.12 for emails that are downloaded from an external server for POP3 or IMAP. I searched the forums and bugzilla for this and found a few posts. I believe a change was implemented for this and then abandoned as it broke the offline client for some reason.

    I am trying to make this change myself with the source code and it doesn't have to work with the offline client for me. I changed the file fetchMessages method to do this

    com.zimbra.cs.mailbox.Message m = RuleManager.getInstance().applyRules(
    mbox.getAccount(), mbox, pm, pm.getRawSize(), dataSource.getEmailAddress(),
    new SharedDeliveryContext());

    but it still doesn't work. Any ideas? Am i missing something? Is there more to it and this change?

  2. #2
    Join Date
    Nov 2006
    Rep Power

  3. #3
    Join Date
    Nov 2008
    Rep Power


    I did. I understand the problem better now and why my change will not work. The rules manager will not pass the message through Spam filters (SpamAssasin) with the change i made. Now since this message will not go through the MTA and hence the MDA those message will never get to the spam filters.

    Here are the solutions I can think of

    1. Use fetchmail, this is out of question for me.
    2. I am thinking of Sending an email after I retrieve it in to the local MTA. Basically use Zimbra SMTP to send an email to the local MTA. What do you think about this solution? Do you think there will be any issues?
    3. Send this message to Amavisd and get back the response with all the headers and then save the message as it is done today.

    Any opinions? I need to fix this and can't wait for it to be fixed in future builds. My deadline is this weekend, so any help from the dev's is much appreciated.

Similar Threads

  1. problem
    By johjoh2k in forum Administrators
    Replies: 6
    Last Post: 08-02-2011, 11:11 PM
  2. MTA service stopping and 1m later starting again?
    By ArcaneMagus in forum Administrators
    Replies: 5
    Last Post: 03-23-2010, 08:43 AM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  4. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 02: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