Missing main.cf Error - MTA

Revision as of 10:43, 20 June 2016 by Jorge de la Cruz (talk | contribs) (Protected "Missing main.cf Error - MTA" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Missing main.cf Error - MTA

   KB 21876        Last updated on 2016-06-20  




0.00
(0 votes)


Moved from Ajcody-MTA-Postfix-Topics

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: 2016-06-20



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