Re: can't get header_checks to work
- Kurt Lieber wrote:
> On 4/29/06, mouss <usebsd@...> wrote:Return-Path is added at delivery time.
>> - My postfix generates headers like this:
>> Return-Path: <owner-postfix-users@...>
>> why does yours omit the '<' and '>'?
> because the MTA sending the mail is sendmail, not postfix.
>probably because the header isn't there at the time of header checks.
>> - your regex contains a suspicious construct:
>> This is equivalent to ".+".
> I realize my regex needs work. However, what I don't understand is if
> postmap is declaring it a match, why isn't postfix?
why do you want to filter based on Return-Path? This is supposed to be
the same thing as the envelope sender, so a check_sender_access should do.