no subject logging in SQL

Mark Martinec Mark.Martinec+amavis at ijs.si
Fri Oct 24 21:05:35 CEST 2014


Carsten,

> how can i turn off subject logging in SQL?
> Everything else should be logged, but not the subject, due to privacy 
> reasons.

It is not configurable, you'd need to change the code, e.g.:


--- amavisd~    2014-10-24 20:52:43.705420534 +0200
+++ amavisd     2014-10-24 21:03:09.181378822 +0200
@@ -26855,4 +26855,5 @@
                          $m_id, $from, $subj);
        # update message record with additional information
+      $subj = '';  # privacy reasons
        $conn_h->execute($upd_msg,
                 $content_type, $q_type, $q_to, $dsn_sent,


Mark


More information about the amavis-users mailing list