Missing main.cf Error - MTA

Admin Article

Article Information

This article applies to the following ZCS versions.

ZCS 8.6 Article ZCS 8.6 ZCS 8.5 Article ZCS 8.5 ZCS 8.0 Article ZCS 8.0


Missing main.cf Error - MTA

Purpose

If you see a log event like the following :

postfix/postqueue[8739]: fatal: open /opt/zimbra/postfix-2.4.7.5z/conf/main.cf: No such file or directory 

Resolution

All you need to do is create an empty main.cf file and zimbra will rewrite it.

su - zimbra
touch main.cf

Ownership should be :

-rw-r--r-- 1 zimbra zimbra   4414 Mar 27 05:52 main.cf 

When you now do something to start the mta, it will generate the values for main.cf

zmmtactl restart

Additional Content

  • No related content.
Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 04/16/2015
Article ID: https://wiki.zimbra.com/index.php?title=Missing_main.cf_Error_-_MTA Date Modified: 2015-04-25



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 Copyeditor Last edit by Jorge de la Cruz
Jump to: navigation, search