<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Zimbra_Enabling_Subject_Line_In_logs</id>
	<title>Zimbra Enabling Subject Line In logs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Zimbra_Enabling_Subject_Line_In_logs"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Zimbra_Enabling_Subject_Line_In_logs&amp;action=history"/>
	<updated>2026-07-25T07:29:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Zimbra_Enabling_Subject_Line_In_logs&amp;diff=2182&amp;oldid=prev</id>
		<title>Brijesh: Created page with &quot;Category:Zimbra category:Triburg  &#039;&#039;&#039;Adding Subject Information on the log&#039;&#039;&#039;  If we want to see subject information in zimbra.logs then we can follow below steps:   L...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Zimbra_Enabling_Subject_Line_In_logs&amp;diff=2182&amp;oldid=prev"/>
		<updated>2016-02-22T15:05:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:Zimbra&quot; title=&quot;Category:Zimbra&quot;&gt;Category:Zimbra&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:Triburg&quot; title=&quot;Category:Triburg&quot;&gt;category:Triburg&lt;/a&gt;  &amp;#039;&amp;#039;&amp;#039;Adding Subject Information on the log&amp;#039;&amp;#039;&amp;#039;  If we want to see subject information in zimbra.logs then we can follow below steps:   L...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Zimbra]]&lt;br /&gt;
[[category:Triburg]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Adding Subject Information on the log&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If we want to see subject information in zimbra.logs then we can follow below steps: &lt;br /&gt;
&lt;br /&gt;
Logged in with zimbra user:&lt;br /&gt;
 [root@mail ~]# su - zimbra&lt;br /&gt;
&lt;br /&gt;
Run below commands to check current staus you will get below output:&lt;br /&gt;
 [zimbra@mail ~]$ zmlocalconfig | grep header_checks&lt;br /&gt;
  postfix_header_checks = pcre:${zimbra_home}/conf/postfix_header_checks&lt;br /&gt;
 &lt;br /&gt;
 [zimbra@mail ~]$ postconf | grep header_checks&lt;br /&gt;
 header_checks = &lt;br /&gt;
 lmtp_header_checks = &lt;br /&gt;
 lmtp_mime_header_checks = &lt;br /&gt;
 lmtp_nested_header_checks = &lt;br /&gt;
 mime_header_checks = $header_checks&lt;br /&gt;
 nested_header_checks = $header_checks&lt;br /&gt;
 smtp_header_checks = &lt;br /&gt;
 smtp_mime_header_checks = &lt;br /&gt;
 smtp_nested_header_checks = &lt;br /&gt;
&lt;br /&gt;
Now create a file:&lt;br /&gt;
 [zimbra@mail ~]$ vim /opt/zimbra/conf/custom_header_checks&lt;br /&gt;
Add below line in this file:&lt;br /&gt;
 /^subject:/ WARN&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; We can add our own header_checks in this file.&lt;br /&gt;
&lt;br /&gt;
Then run below commands:&lt;br /&gt;
&lt;br /&gt;
 [zimbra@mail ~]$ zmlocalconfig -e postfix_header_checks=&amp;quot;pcre:/opt/zimbra/conf/postfix_header_checks, pcre:/opt/zimbra/conf/custom_header_checks&amp;quot;&lt;br /&gt;
 [zimbra@mail ~]$ zmmtactl restart&lt;br /&gt;
 Rewriting configuration files...done.&lt;br /&gt;
 Stopping zmmtaconfig...done.&lt;br /&gt;
 Starting zmmtaconfig...done.&lt;br /&gt;
 postfix/postfix-script: refreshing the Postfix mail system&lt;br /&gt;
 Stopping saslauthd...done.&lt;br /&gt;
 Starting saslauthd...done.&lt;br /&gt;
&lt;br /&gt;
Now run again below commands to check configuration: &lt;br /&gt;
&lt;br /&gt;
 [zimbra@mail ~]$ zmlocalconfig | grep postfix_header_checks&lt;br /&gt;
 postfix_header_checks = pcre:/opt/zimbra/conf/postfix_header_checks, pcre:/opt/zimbra/conf/custom_header_checks&lt;br /&gt;
 [zimbra@mail ~]$ postconf | grep header_checks&lt;br /&gt;
 header_checks = pcre:/opt/zimbra/conf/postfix_header_checks, pcre:/opt/zimbra/conf/custom_header_checks&lt;br /&gt;
 lmtp_header_checks = &lt;br /&gt;
 lmtp_mime_header_checks = &lt;br /&gt;
 lmtp_nested_header_checks = &lt;br /&gt;
 mime_header_checks = $header_checks&lt;br /&gt;
 nested_header_checks = $header_checks&lt;br /&gt;
 smtp_header_checks = &lt;br /&gt;
 smtp_mime_header_checks = &lt;br /&gt;
 smtp_nested_header_checks = &lt;br /&gt;
&lt;br /&gt;
Run below command and restart the mta service:&lt;br /&gt;
 [zimbra@mail ~]$ zmprov mcf zimbraMtaBlockedExtensionWarnRecipient FALSE&lt;br /&gt;
 [zimbra@mail ~]$ zmmtactl restart&lt;br /&gt;
 Rewriting configuration files...done.&lt;br /&gt;
 Stopping zmmtaconfig...done.&lt;br /&gt;
 Starting zmmtaconfig...done.&lt;br /&gt;
 postfix/postfix-script: refreshing the Postfix mail system&lt;br /&gt;
 Stopping saslauthd...done.&lt;br /&gt;
 Starting saslauthd...done.&lt;br /&gt;
&lt;br /&gt;
Ref_Link : [https://wiki.zimbra.com/wiki/King0770-Notes-Header-Checks]&lt;/div&gt;</summary>
		<author><name>Brijesh</name></author>
	</entry>
</feed>