Hi there!

I'm experiencing a strange side effect when configuring attachments notification in Admin console Global Settings / Attachments.

If "Send blocked extension notification to recipient" is marked:

1) postfix main.cf header_checks parameter is null and so the file conf/postfix_header_checks is NOT used to filter messages.
2) Junk button works as expected and sends the selected message(s) to the spam account.

If "Send blocked extension notification to recipient" is NOT marked:

1) postfix main.cf header_checks parameter is "pcre:/opt/zimbra/conf/postfix_header_checks" and so conf/postfix_header_checks IS used to filter messages.
2) Junk button is clickable but does NOT send the selected message(s) to the spam account.

I tracked the header_checks change to the conf/zmmta.cf file (lines 110:113, shown below) but could not explain the Junk button behavior.

Code:
POSTCONF header_checks LOCAL postfix_header_checks
if VAR zimbraMtaBlockedExtensionWarnRecipient
  POSTCONF header_checks
fi
Is it an expected behavior? Thanks!

My Zimbra installation is up to date:

[zimbra@terra ~]$ zmcontrol -v
Release 7.1.1_GA_3196.RHEL5_64_20110527011124 CentOS5_64 FOSS edition.