Results 1 to 6 of 6

Thread: Using external mail filtering via procmail master.cf

  1. #1
    Join Date
    Sep 2008
    Location
    Cambridge, MA
    Posts
    41
    Rep Power
    7

    Default Using external mail filtering via postfix master.cf

    Hi; we haven't started using ZCS live yet but are considering it seriously. We have a highly tuned SpamAssassin spam filtering setup for our users and don't want to lose its benefits. I looked at the ZCS docs and it looks like inserting all our SA customizations into ZCS would be prohibitive (we use SARE, sa-update, per-user sa-learn, per-user bayes dbs, razor2, pyzor, dcs, custom rules, etc.).

    My current thinking is why not just apply my current SA install via a custom content filter in postfix master.cf? (append -o content_filter=sa:dummy, with appropriate definition of filter "sa" to call the system spamd). Is this likely to work? Will it be robust against ZCS upgrades?

    If so, where do I filter SA spam values (by looking at the header SA added) over a certain limit into a systemwide spam trap (just in case they were false positives)? We do that now with procmail, but I'm guessing ZCS has a good way to do this part.

    Thanks very much!

    -- Gary O
    Last edited by garyo; 10-17-2008 at 03:45 PM.

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Hi Gary,
    It will work, but will probably cause problems on upgrade.

    My suggestion is to modify the Zimbra SpamAssassin install. It's pretty straightforward. Any file you altered on your current system, modify on the ZCS system. The only difference, is the "real" config file will have a .in extension (is something.conf.in).

  3. #3
    Join Date
    Sep 2008
    Location
    Cambridge, MA
    Posts
    41
    Rep Power
    7

    Default

    Hi, jholder. Thanks for the reply!

    I'm not sure how I can make zimbra use spamd rather than spamassassin just by modifying the Zimbra SA install, but I'll look into it -- maybe replace the actual "spamassassin" binary with a script that calls spamc or something? And from reading the forums, it sounds like modifying the Zimbra SA install may cause upgrade problems too (or at least my mods may get overwritten on upgrade): true or false?

  4. #4
    Join Date
    Sep 2008
    Location
    Cambridge, MA
    Posts
    41
    Rep Power
    7

    Default

    Hi again, jholder. I'm looking into this, and all I can say is it sure would be a *lot* easier if you would just add a procmail hook somewhere! All my proposed solutions seem to be painful at best, and fragile and slow at worst. Is there anywhere I can go to add a "please add procmail support" feature request? :-)

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Bugzilla Main Page and then post the number to this thread asking people to vote

  6. #6
    Join Date
    Sep 2008
    Location
    Cambridge, MA
    Posts
    41
    Rep Power
    7

    Default

    Okay -- it's now Zimbra bug #32442. Please vote for it if you think adding optional procmail support to Zimbra is a good idea!
    Bug 32442 – Please allow procmail filtering on incoming messages
    Last edited by garyo; 10-18-2008 at 04:58 AM. Reason: added url

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 06:01 AM
  2. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 06:47 AM
  3. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 AM
  4. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 03:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •