Skip to content

Not logging mail to SQL #1198

@ricain59

Description

@ricain59

Issue summary

Hi,

I have a fresh install on centos 8.2.2004 with this versions:
image

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
image
image
image
image

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions