amavisd.conf中的错误 – 忽略curl或括号

我目前正在尝试使用SpamAssassin和ClamAV在我的CentOS 6.4机器上设置垃圾邮件和病毒过滤。 我已经安装了所有必要的软件包(SA,ClamAV和Amavisd-new)并对它们进行了configuration。 在尝试启动amavisd时,出现以下错误:

Error in config file "/etc/amavisd.conf": syntax error at /etc/amavisd.conf line 955, at EOF Missing right curly or square bracket at /etc/amavisd.conf line 955, at end of line 

我手动检查打开perltidy或括号,甚至使用perltidy没有成功。 任何帮助将不胜感激。

在文件上使用perltidy(无效语法)可能会产生更多的输出文件。 除非被告知,否则perltidy不会覆盖源文件。

你有没有尝试做一个

 perl -c /etc/amavisd.conf 

如果这也产生这个错误,你将不得不仔细检查configuration文件的语法,并让别人来检查它为你。

如果这个文件没问题的话,那么你的安装可能还有另一个问题,