mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-30 08:33:51 +00:00
fix: remove MIME decoding of JSON encoded subject
Since moving to rspamd's multipart metadata_exporter, `subject` is a JSON encoded UTF-8 string and must not be MIME decoded.
This commit is contained in:
@@ -50,7 +50,7 @@ $qid = $meta['qid'] ?? 'unknown';
|
||||
$rcpts = $meta['rcpt'] ?? array();
|
||||
$sender = $meta['from'] ?? '';
|
||||
$ip = $meta['ip'] ?? 'unknown';
|
||||
$subject = iconv_mime_decode($meta['subject'] ?? '');
|
||||
$subject = $meta['subject'] ?? '';
|
||||
$messageid= $meta['message_id'] ?? '';
|
||||
$priority = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user