Issue summary
Hi,
I have a fresh install on centos 8.2.2004 with this versions:

I have installed the package required:
perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64
perl-DBI-1.641-3.module_el8.1.0+199+8f0a6bbd.x86_64




Steps to reproduce
I have start mailscanner with this command: MailScanner --debug and return this error:
`[root@mail ~]# MailScanner --debug
In Debugging mode, not forking...
Trying to setlogsock(unix)
internal error, python traceback seen in response
Building a message batch to scan...
Have a batch of 4 messages.
internal error, python traceback seen in response
internal error, python traceback seen in response
internal error, python traceback seen in response
internal error, python traceback seen in response
Stopping now as you are debugging me.
Could not use Custom Function code MailScanner::CustomConfig::InitMailWatchLogging, it could not be "eval"ed. Make sure the module is correct with perl -wc (Error: DBD::mysql::st execute failed: Incorrect string value: '\xE3o spa...' for column mailscanner.maillog.spamreport at row 1 at /usr/share/MailScanner/perl/custom/MailWatch.pm line 226, line 30.
) at /usr/share/MailScanner/perl/MailScanner/Config.pm line 1053.
`
Actual result
I have verify and database on utf8mb4_unicode_ci
I have search but unsuccesfully resolve my problem.
Can you help me on this problem?
Thank you
Installation
Version and method
- MailWatch Version: 1.2.15
- Install type: zip
- Updated from an older MailWatch or fresh install: Fresh install
Server configuration
- Operation System: CentOS
- PHP version: 7.2.24
- Database: MariaDB
- Mail Server: Postfix
- Used web server: Apache
Issue summary
Hi,
I have a fresh install on centos 8.2.2004 with this versions:

I have installed the package required:




perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64
perl-DBI-1.641-3.module_el8.1.0+199+8f0a6bbd.x86_64
Steps to reproduce
I have start mailscanner with this command: MailScanner --debug and return this error:
`[root@mail ~]# MailScanner --debug
In Debugging mode, not forking...
Trying to setlogsock(unix)
internal error, python traceback seen in response
Building a message batch to scan...
Have a batch of 4 messages.
internal error, python traceback seen in response
internal error, python traceback seen in response
internal error, python traceback seen in response
internal error, python traceback seen in response
Stopping now as you are debugging me.
Could not use Custom Function code MailScanner::CustomConfig::InitMailWatchLogging, it could not be "eval"ed. Make sure the module is correct with perl -wc (Error: DBD::mysql::st execute failed: Incorrect string value: '\xE3o spa...' for column
mailscanner.maillog.spamreportat row 1 at /usr/share/MailScanner/perl/custom/MailWatch.pm line 226, line 30.) at /usr/share/MailScanner/perl/MailScanner/Config.pm line 1053.
`
Actual result
I have verify and database on utf8mb4_unicode_ci
I have search but unsuccesfully resolve my problem.
Can you help me on this problem?
Thank you
Installation
Version and method
Server configuration