尝试在Ubuntu 12.04上通过Virtualmin / WebminconfigurationPostfox时出错

我正在尝试在我的服务器上configurationPostfix,但在尝试访问Virtualmin上的configuration模块时发现以下错误:

Error while checking current Postfix configuration. Please manually fix Postfix configuration. postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory Manually edit the Postfix configuration file. 

当我select手动编辑Postfixconfiguration文件时,它是空的。

我检查模块configuration选项,不能看到任何不合适的地方(虽然我不知道我在找什么)。

在我的系统之后,我可以看到main.cf和master.cf在以下位置:

/ etc / postfix / usr / lib / postfix

应该有两个位置的文件?

错误中提到的位置 – / usr / libexec / postfix – 不存在。 我假设它需要/ usr / lib / postfix位置,那么我该如何告诉Virtualmin或系统在那个位置查找呢?

要解决这个问题,你必须编辑你的postfix“main.cf”文件,然后修改: –

 daemon_directory = /usr/libexec/postfix 

到以下行:

 daemon_directory = /usr/lib/postfix 

然后重新启动后缀:

 /etc/init.d/postfix restart 

现在你的问题应该得到解决。