• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Input Warden Antispam & Virus Protection Extension for Plesk

@papahausa usually that means that your database credentials are corrupted. You can try resetting them with the command:

Code:
// reset the Amavis database credentials
warden --task=contentfilter:contentfilter --default=yes --reload=yes

// reset the SpamAssassin learning database credentials
warden --task=antispam:learning --default=yes --reload

After you reset the credentials you can to some manual training from the command line to see if its working correctly:


done.
i hope this solution can help for other.
@danami Thanks.
 
[root@salmon ~]# warden --task=contentfilter:contentfilter --default=yes --reload=yes
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /usr/local/psa/admin/plib/modules/warden/library/modules/database/classes/Kohana/Database/MySQLi.php on line 171
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32768 bytes) in /usr/local/psa/admin/plib/modules/warden/library/modules/log/classes/Model/Log/Application.php on line 1
[root@salmon ~]# warden --task=antispam:learning --default=yes --reload
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /usr/local/psa/admin/plib/modules/warden/library/modules/database/classes/Kohana/Database/MySQLi.php on line 171
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /usr/local/psa/admin/plib/modules/warden/library/system/classes/Kohana/Core.php on line 980
 
Hello.
after plesk update Dovecot cant start.
dovecot[83256]: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/99-warden.conf line 9: Unknown section name: plugin
systemd[1]: dovecot.service: Main process exited, code=exited, status=89/n/a

systemd[1]: dovecot.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu

systemd[1]: Failed to start dovecot.service - Dovecot IMAP/POP3 email server.
░░ Subject: A start job for unit dovecot.service has failed
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu

Product name
Warden Anti-spam and Virus Protection
Product version
5.02
 
i changed config /etc/dovecot/conf.d/99-warden.conf with minimum changes.
service imap {
vsz_limit = 512MB
}

protocol imap {
mail_plugins = $mail_plugins
}

now service work, but without danami.
 
i changed config /etc/dovecot/conf.d/99-warden.conf with minimum changes.
service imap {
vsz_limit = 512MB
}

protocol imap {
mail_plugins = $mail_plugins
}

now service work, but without danami.

sorry. wrong config.
this correct.

service imap {
vsz_limit = 512MB
}

protocol imap {
mail_plugins = notify mail_log quota
}
 
@papahausa Yes this is because Plesk upgraded dovecot to version 2.4.1-4 which uses a completely different configuration syntax to all previous versions of dovecot. We have a KB article with a temp fix:


We will be releasing Warden 5.03 shortly with a permanent fix.
Thanks for replay.
Still waiting update. Have a nice day.
 
Back
Top