Loading ...
Sorry, an error occurred while loading the content.

Re: can't get header_checks to work

Expand Messages
  • mouss
    ... Return-Path is added at delivery time. ... probably because the header isn t there at the time of header checks. why do you want to filter based on
    Message 1 of 7 , Apr 30, 2006
    • 0 Attachment
      Kurt Lieber wrote:
      > On 4/29/06, mouss <usebsd@...> wrote:
      >> - 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.
      Return-Path is added at delivery time.
      >
      >> - your regex contains a suspicious construct:
      >> [a-z0-9-=.]+
      >> 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?
      probably because the header isn't there at the time of header checks.

      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.
    Your message has been successfully submitted and would be delivered to recipients shortly.