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

Popular posts from this blog

Cambium cnPilot E400/E410/E500 Configuration Tutorial

Disabling Zimbra's AntiSpam, Amavis and AntiVirus filtering

Error "Unable to retrive Zimbra GPG key for package validation"