Benutzer-Werkzeuge

Webseiten-Werkzeuge


exim4

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
exim4 [2019-05-03 02:52]
fanir
exim4 [2019-05-03 02:58] (aktuell)
fanir changed page structure again
Zeile 1: Zeile 1:
 ====== Exim4 Tricks ====== ====== Exim4 Tricks ======
 +
 +Spam logging for analysis, and probably more in the future.
  
 ===== Logging spam mail at SMTP DATA ACL time ===== ===== Logging spam mail at SMTP DATA ACL time =====
 +
 +==== Exim Config ====
  
 The log message includes the list of envelope recipients for the message. That means it also includes BCC-recipients, which might pose privacy problems. The log message includes the list of envelope recipients for the message. That means it also includes BCC-recipients, which might pose privacy problems.
Zeile 11: Zeile 15:
             log_message = Spam received: score=$spam_score; sender=$sender_address; recipients=$recipients             log_message = Spam received: score=$spam_score; sender=$sender_address; recipients=$recipients
  
-Log parse example:+==== Log parse example ====
  
   grep 'Warning: Spam received:' /var/log/exim4/mainlog | sed 's/^.* score=\(.*\); sender=\(.*\); recipients=\(.*\)$/\1\t\2\t\3/'   grep 'Warning: Spam received:' /var/log/exim4/mainlog | sed 's/^.* score=\(.*\); sender=\(.*\); recipients=\(.*\)$/\1\t\2\t\3/'
  
exim4.1556844735.txt.gz · Zuletzt geändert: 2019-05-03 02:52 von fanir