Adding Subject and Attachment Information on the log Zimbra 8.5/8.6
# Create file custom_header_check as user Zimbra
su - zimbra
vi /opt/zimbra/conf/custom_header_checks
Fill with the following line :
/^Subject:/ WARN
/^subject:/ WARN
/filename=\"?(.*)\"?$/ WARN
zmprov ms `zmhostname` zimbraMtaHeaderChecks "pcre:/opt/zimbra/conf/postfix_header_checks, pcre:/opt/zimbra/conf/custom_header_checks"
zmprov mcf zimbraMtaBlockedExtensionWarnRecipient FALSE
postfix reload
Ref: https://imanudin.net/2015/01/14/adding-subject-and-attachment-information-on-the-log-zimbra-8-58-6/
Comments
Post a Comment