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 Search this Thread Display Modes
  #1 (permalink)  
Old 04-30-2008, 10:43 PM
Starter Member
 
Posts: 2
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?
Reply With Quote
  #2 (permalink)  
Old 05-01-2008, 06:58 AM
Moderator
 
Posts: 872
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.
Reply With Quote
  #3 (permalink)  
Old 05-01-2008, 06:05 PM
Starter Member
 
Posts: 2
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.