Results 1 to 3 of 3

Thread: [SOLVED] Postfix main.cf overwrite

  1. #1
    InfoAddict is offline Starter Member
    Join Date
    Feb 2008
    Location
    Adelaide, SA, AU
    Posts
    2
    Rep Power
    7

    Question [SOLVED] Postfix main.cf overwrite

    Hi,

    Trying to integrate MPP (Message Partners:home of the MPP, Message Processing Platform, Email security application - antivirus, phishing, and antispam, archival.) with Zimbra

    I was told to disable amavisd which I "thought" was unticking AV and AS in the Admin GUI under Servers->Services then adding:

    # -- Added for MPP --
    content_filter = mppscan:[127.0.0.1]:10025
    # -- end --

    To main.cf and restarting.

    Problem is that upon restart that file is rewritten to be:

    # -- Added for MPP --
    content_filter =
    # -- end --

    All mail is being delivered - just not via MPP.

    Any ideas?

  2. #2
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    Have a look in /opt/zimbra/conf. I believe the file you want to modify is zmmta.cf. Note that this file will probably get overwritten when you do an upgrade, so you will probably need to make the change after each upgrade.

  3. #3
    InfoAddict is offline Starter Member
    Join Date
    Feb 2008
    Location
    Adelaide, SA, AU
    Posts
    2
    Rep Power
    7

    Default

    Cheers for that - had to change a few other things in there, but finally got it working...

    For future Zimbra->MPP reference:

    Had to ENABLE AntiVirus/AntiSpam in Zimbra GUI, but change what it rewrites:

    /opt/zimbra/conf/zmmta.cf
    Code:
    if SERVICE antivirus
                    POSTCONF content_filter mppscan:[127.0.0.1]:10025
            fi
            if SERVICE antispam
                    POSTCONF content_filter mppscan:[127.0.0.1]:10025 
            fi
            if SERVICE archiving
                    POSTCONF content_filter mppscan:[127.0.0.1]:10025
            fi
    Then had to change a postfix setting:

    Code:
    su - zimbra
    zmlocalconfig -e postfix_smtpd_data_restrictions="check_policy_service inet:127.0.0.1:9998"
    Then edit postfix_recipient_restrictions.cf and add this line JUST before permit:

    /opt/zimbra/conf/postfix_recipient_restrictions.cf
    Code:
    check_policy_service inet:127.0.0.1:9998
    That's obviously on top of what MPP says to do for a standard Postfix install.

    Dan.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. postdrop fail to create file after upgrade to 5.0.3
    By echoadisan in forum Installation
    Replies: 23
    Last Post: 07-15-2013, 03:02 PM
  2. Replies: 11
    Last Post: 07-31-2011, 12:10 PM
  3. Does adding smtpd_milters to main.cf in postfix work?
    By visualsoftspace in forum Installation
    Replies: 2
    Last Post: 12-07-2007, 10:19 AM
  4. Replies: 3
    Last Post: 07-18-2007, 07:01 AM
  5. Replies: 4
    Last Post: 10-19-2006, 08:58 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
  •