NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

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

65aa7b0a
andryyy <[email protected]> 6 years ago
data/conf/rspamd/meta_exporter/pipe.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Diff

diff --git a/data/conf/rspamd/meta_exporter/pipe.php b/data/conf/rspamd/meta_exporter/pipe.php
index fe162246..24684473 100644
--- a/data/conf/rspamd/meta_exporter/pipe.php
+++ b/data/conf/rspamd/meta_exporter/pipe.php
@@ -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 {