Benutzer-Werkzeuge

Webseiten-Werkzeuge


exim4

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

Nächste Überarbeitung
Vorherige Überarbeitung
Letzte Überarbeitung Beide Seiten, nächste Überarbeitung
exim4 [2018-10-08 17:46]
fanir angelegt
exim4 [2019-05-03 02:54]
fanir changed page structure
Zeile 1: Zeile 1:
 ====== Exim4 Tricks ====== ====== Exim4 Tricks ======
  
-===== Logging spam mail at SMTP DATA ACL time =====+Logging spam mail at SMTP DATA ACL time.
  
-The log message includes the list of envelope recipients for the message. That means it also includes BCC-recipients!+===== Exim Config =====
  
-   warn    spam        = nobody +The log message includes the list of envelope recipients for the message. That means it also includes BCC-recipients, which might pose privacy problems. 
-           add_header  = X-Spam-Status: spam\n\ + 
-                         X-Spam-Score: $spam_score +    warn    spam        = nobody 
-           # ... +            add_header  = X-Spam-Status: spam\n\ 
-           log_message = Spam received: score=$spam_score; sender=$sender_address ;recipients=$recipients+                          X-Spam-Score: $spam_score 
 +            # ... 
 +            log_message = Spam received: score=$spam_score; sender=$sender_address; recipients=$recipients 
 + 
 +===== Log parse example ===== 
 + 
 +  grep 'Warning: Spam received:' /var/log/exim4/mainlog | sed 's/^.* score=\(.*\); sender=\(.*\); recipients=\(.*\)$/\1\t\2\t\3/'
  
exim4.txt · Zuletzt geändert: 2019-05-03 02:58 von fanir