Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Zimbra Enabling Subject Line In logs
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[Category:Zimbra]] [[category:Triburg]] '''Adding Subject Information on the log''' If we want to see subject information in zimbra.logs then we can follow below steps: Logged in with zimbra user: [root@mail ~]# su - zimbra Run below commands to check current staus you will get below output: [zimbra@mail ~]$ zmlocalconfig | grep header_checks postfix_header_checks = pcre:${zimbra_home}/conf/postfix_header_checks [zimbra@mail ~]$ postconf | grep header_checks header_checks = lmtp_header_checks = lmtp_mime_header_checks = lmtp_nested_header_checks = mime_header_checks = $header_checks nested_header_checks = $header_checks smtp_header_checks = smtp_mime_header_checks = smtp_nested_header_checks = Now create a file: [zimbra@mail ~]$ vim /opt/zimbra/conf/custom_header_checks Add below line in this file: /^subject:/ WARN '''Note:''' We can add our own header_checks in this file. Then run below commands: [zimbra@mail ~]$ zmlocalconfig -e postfix_header_checks="pcre:/opt/zimbra/conf/postfix_header_checks, pcre:/opt/zimbra/conf/custom_header_checks" [zimbra@mail ~]$ zmmtactl restart Rewriting configuration files...done. Stopping zmmtaconfig...done. Starting zmmtaconfig...done. postfix/postfix-script: refreshing the Postfix mail system Stopping saslauthd...done. Starting saslauthd...done. Now run again below commands to check configuration: [zimbra@mail ~]$ zmlocalconfig | grep postfix_header_checks postfix_header_checks = pcre:/opt/zimbra/conf/postfix_header_checks, pcre:/opt/zimbra/conf/custom_header_checks [zimbra@mail ~]$ postconf | grep header_checks header_checks = pcre:/opt/zimbra/conf/postfix_header_checks, pcre:/opt/zimbra/conf/custom_header_checks lmtp_header_checks = lmtp_mime_header_checks = lmtp_nested_header_checks = mime_header_checks = $header_checks nested_header_checks = $header_checks smtp_header_checks = smtp_mime_header_checks = smtp_nested_header_checks = Run below command and restart the mta service: [zimbra@mail ~]$ zmprov mcf zimbraMtaBlockedExtensionWarnRecipient FALSE [zimbra@mail ~]$ zmmtactl restart Rewriting configuration files...done. Stopping zmmtaconfig...done. Starting zmmtaconfig...done. postfix/postfix-script: refreshing the Postfix mail system Stopping saslauthd...done. Starting saslauthd...done. Ref_Link : [https://wiki.zimbra.com/wiki/King0770-Notes-Header-Checks]
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)