El 2015-08-18 17:33, Alex escribió:
Hi,
If that is the preferred method, what is the real purpose of
header_checks? Solely for Subject and To?
Even more useful than checking the Subject, I use header_checks to check
some properties on attachments. In fact, I've picked Wietse's example on
the header_checks (5) man page [1] and tuned it to my needs. This allows
one to reject mails based on attachment patterns.
By the way, for the 'To' header, there's an analogous
smtpd_recipient_restrictions which works with the check_recipient_access
restriction.
Regards,
Nicolás
[1] http://www.postfix.org/header_checks.5.html