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

master
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
1 changed files with 2 additions and 2 deletions

View File

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