Missing main.cf Error - MTA: Difference between revisions

mNo edit summary
m (Protected "Missing main.cf Error - MTA" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{WIP}}{{Article Infobox Center|{{admin}}|{{ZCS 8.6}}|{{ZCS 8.5}}|{{ZCS 8.0}}}}
__FORCETOC__
 
{{BC|Certified}}
 
<div class="col-md-12 ibox-content">


=Missing main.cf Error - MTA=
=Missing main.cf Error - MTA=
{{KB|{{ZC}}|{{ZCS 8.6}}|{{ZCS 8.5}}|{{ZCS 8.0}}}}
{{WIP}}


Moved from [[Ajcody-MTA-Postfix-Topics]]
==Purpose==
If you see a log event like the following :
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  
  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.
All you need to do is create an empty main.cf file and zimbra will rewrite it.
<pre>
  su - zimbra
  su - zimbra
  touch main.cf
  touch main.cf
</pre>


Ownership should be :
Ownership should be :
  -rw-r--r-- 1 zimbra zimbra  4414 Mar 27 05:52 main.cf  
  -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
When you now do something to start the mta, it will generate the values for main.cf
zmmtactl restart


zmmtactl restart
==Additional Content==
* No related content.


{{Article Footer|Zimbra Collaboration 8.6, 8.5, 8.0|04/16/2015}}
{{Article Footer|Zimbra Collaboration 8.6, 8.5, 8.0|04/16/2015}}
{{NeedSME|SME1|SME2|Copyeditor}}
{{NeedSME|SME1|SME2|Copyeditor}}
[[Category: Author:Ajcody]]
[[Category: Author:Ajcody]]

Latest revision as of 10:43, 20 June 2016


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