Meno wrote:
Dear list,

I am trying to fetch mails with empty Return-Path: mail header
with header_checks, but unsucessfully...

what do you mean by fetch? header_checks don't fetch mail.


header_checks=pcre:/etc/postfix/header_checks

header_checks:
/^Return-Path:\\s+\\/          REJECT

Does this format correct?

No. it would be
/^Return-Path:\s*$/             REJECT

but where did you see messages with an empty Return-Path. This header should not be present on the wire. it should only be added at delivery time.

Reply via email to