[Rspamd] Use empty-env-from@localhost as placeholder for empty env from senders in quarantine

This commit is contained in:
andryyy 2020-04-08 21:55:17 +02:00
parent ac454ea870
commit 65aa7b0a92
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -63,8 +63,8 @@ $symbols = $headers['X-Rspamd-Symbols'];
$raw_size = (int)$_SERVER['CONTENT_LENGTH']; $raw_size = (int)$_SERVER['CONTENT_LENGTH'];
if (empty($sender)) { if (empty($sender)) {
error_log("QUARANTINE: Unknown sender, assuming null@localhost"); error_log("QUARANTINE: Unknown sender, assuming empty-env-from@localhost");
$sender = 'null@localhost'; $sender = 'empty-env-from@localhost';
} }
try { try {