Author Topic: [SOLVED]mail filter problem  (Read 2226 times)

Barrydocks

  • Zen Warrior
  • ***
  • Posts: 145
  • Karma: +4/-0
    • View Profile
[SOLVED]mail filter problem
« on: April 04, 2011, 10:58:38 am »
I am getting an error everytime I save changes made in the mailfilter
Code: [Select]
Some modules reported error when saving changes . More information on the logs in /var/log/ebox/

The following modules failed while saving their changes, their state is unknown: mailfilter
Also the antispam filter will not start.  Here are the lines from the ebox.log:
Code: [Select]
2011/04/04 09:55:44 DEBUG> ModelManager.pm:365 EBox::Model::ModelManager::modelActionTaken - Notifying /zarafa/VMailDomain/
2011/04/04 09:56:08 INFO> Global.pm:535 EBox::Global::saveAllModules - Saving config and restarting services: firewall mail zarafa mailfilter logs
2011/04/04 09:56:08 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: firewall
2011/04/04 09:56:17 INFO> Base.pm:773 EBox::Module::Base::_hook - Running hook: /etc/ebox/hooks/firewall.postservice 1
2011/04/04 09:56:17 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: mail
2011/04/04 09:56:25 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: zarafa
2011/04/04 09:56:30 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: mailfilter
2011/04/04 09:56:33 ERROR> Ldap.pm:701 EBox::Ldap::_errorOnLdap - $VAR1 = {
          'changes' => [
                         'replace',
                         [
                           'amavisBypassVirusChecks',
                           'FALSE'
                         ]
                       ]
        };
2011/04/04 09:56:33 ERROR> Ldap.pm:703 EBox::Ldap::_errorOnLdap - Unknown error at EBox::Ldap::modifyAttribute attribute 'amavisBypassVirusChecks' not allowed
2011/04/04 09:56:33 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: logs
2011/04/04 09:56:34 ERROR> Global.pm:632 EBox::Global::saveAllModules - The following modules failed while saving their changes, their state is unknown: mailfilter

I have tried disabling the mailfilter module with:
Quote
sudo /usr/share/ebox/ebox-unconfigure-module mailfilter
and then reinstalling it via the desktop but still get the same problem, here's the ebox.log:
Code: [Select]
2011/04/04 10:47:34 DEBUG> UsersAndGroups.pm:922 EBox::UsersAndGroups::addUser - Missing argument: Password
2011/04/04 10:48:17 INFO> Global.pm:535 EBox::Global::saveAllModules - Saving config and restarting services: firewall mailfilter mail zarafa webserver logs
2011/04/04 10:48:17 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: firewall
2011/04/04 10:48:27 INFO> Base.pm:773 EBox::Module::Base::_hook - Running hook: /etc/ebox/hooks/firewall.postservice 1
2011/04/04 10:48:27 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: mailfilter
2011/04/04 10:48:31 ERROR> Ldap.pm:701 EBox::Ldap::_errorOnLdap - $VAR1 = {
          'changes' => [
                         'replace',
                         [
                           'amavisBypassVirusChecks',
                           'FALSE'
                         ]
                       ]
        };
2011/04/04 10:48:31 ERROR> Ldap.pm:703 EBox::Ldap::_errorOnLdap - Unknown error at EBox::Ldap::modifyAttribute attribute 'amavisBypassVirusChecks' not allowed
2011/04/04 10:48:31 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: mail
2011/04/04 10:48:38 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: zarafa
2011/04/04 10:48:43 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: webserver
2011/04/04 10:48:44 ERROR> Sudo.pm:212 EBox::Sudo::_rootError - root command ls /etc/apache2/sites-available/ebox-* failed.
Error output: ls: cannot access /etc/apache2/sites-available/ebox-*: No such file or directory

Command output: .
Exit value: 2
2011/04/04 10:48:45 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: logs
2011/04/04 10:48:45 ERROR> Global.pm:632 EBox::Global::saveAllModules - The following modules failed while saving their changes, their state is unknown: mailfilter

Any help would be apprieciated!
« Last Edit: April 04, 2011, 12:08:57 pm by Barrydocks »

Barrydocks

  • Zen Warrior
  • ***
  • Posts: 145
  • Karma: +4/-0
    • View Profile
Re: mail filter problem
« Reply #1 on: April 04, 2011, 12:08:37 pm »