User Tools

Site Tools


get_sendmail_to_log_the_subject_line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

get_sendmail_to_log_the_subject_line [2007/03/02 16:28]
adam
get_sendmail_to_log_the_subject_line [2016/11/25 22:38]
Line 1: Line 1:
-===== Get Sendmail to Log the Subject Line of an E-mail ===== 
  
-Edit ''/etc/mail/sendmail.mc'' 
- 
-After the MAILER () definitions, add: 
- 
-  LOCAL_CONFIG 
-  Klog syslog 
-  HSubject: $>+CheckSubject 
-  LOCAL_RULESETS 
-  SCheckSubject 
-  R$*     $: $(log Subject: $1 $) $1 
- 
-That's a tab after the ''R$*'' on the last line, not spaces. 
get_sendmail_to_log_the_subject_line.txt ยท Last modified: 2016/11/25 22:38 (external edit)