On Tue, Aug 25, 2015 at 06:24:12AM -0400, Wietse Venema wrote:
Try using smtp_header_checks instead.
Thank you.
I have changed header_checks to smtp_header_checks in main.cf:
service postfix reload
postconf -n header_checks
postconf -n smtp_header_checks
smtp_header_checks = pcre:/etc/postfix/smtp_header_checks
cat /etc/postfix/smtp_header_checks
/^(.*)/ WARN SMTP_HC: $1
But in log there is only (begin of lines removed):
pickup[21474]: 5507980827: uid=494 from=<dw>
cleanup[22120]: 5507980827:
message-id=<[email protected]>
qmgr[21473]: 5507980827: from=<[email protected]>, size=489, nrcpt=1
(queue active)
local[22123]: 5507980827: to=<[email protected]>,
orig_to=<T912205@localhost>, relay=local, delay=0.15, delays=0.13/0/0/0.02,
dsn=2.0.0, status=sent (delivered to mailbox)
qmgr[21473]: 5507980827: removed
I suppose that logging works well from the prev. posts.
Where is the problem that smtp_header_checks are not applied, please?
How to debug it?
Regards,
Hans