* Christopher Adams <[email protected]>:
> After previously posting a thread about header_checks, someone suggested
> using check_sender_access, I tried it and posted a follow up and was
> admonished for changing direction. I specifically asked how to proceed and
> was told to go back to my original thread, which was header_checks.

OK, but you forgot to actually ADD header_Checks to your main.cf :)

> header_checks = regexp:/etc/postfix/header_checks

ah!

> I don't understand what you mean by this:
> 
> > From: [email protected]
> There's no " " behind "[email protected]"

I mean what I wrote. Look at your header_checks pattern. It has a " "
at the end. The header it's supposed to match does not. As a
consequence, it doesn't match.


> > >  /^From: [email protected] / REJECT
                                           ^space
Look at the space after [email protected]
Remove it.

A nice twist for analysis is this:

/^From:/ WARN
/^From: [email protected]/ REJECT

That way you can see how postfix percieves the headers.

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  [email protected] | http://www.charite.de
            

Reply via email to