some lines from header_check file:

/^from:.*root@/ REJECT [SN046]
/^from:.*anonymous@*/ REJECT [SN047]
/^from:.*@ajufe.org.br/ OK
/^from:/ HOLD

the *TABLE SEARCH ORDER documentation says:*
When a pattern is found that matches the input line, the corresponding action
is executed and then the next input line is inspected.

So, if i have some rejects and OKs before hold, it will not hold right?

postfix log file:

Dec  7 16:57:03 srvchunk01 postfix/smtpd[35383]: 2E1DB2111FE:
client=li389-50.members.linode.com[106.187.46.50]

Dec  7 16:57:03 srvchunk01 postfix/cleanup[42501]: 2E1DB2111FE:
warning: header Subject: fw:Financiamento aprovado Volkswagen Leasing.
from li389-50.members.linode.com[106.187.46.50];
from=<[email protected]>
to=<[email protected]> proto=ESMTP
helo=<li389-50.members.linode.com>
Dec  7 16:57:03 srvchunk01 postfix/cleanup[42501]: 2E1DB2111FE: hold:
header From: [email protected] from
li389-50.members.linode.com[106.187.46.50];
from=<[email protected]> to=<[email protected]>
proto=ESMTP helo=<li389-50.members.linode.com>
Dec  7 16:57:03 srvchunk01 postfix/cleanup[42501]: 2E1DB2111FE:
message-id=<[email protected]>

att,
Marcello Coutinho

On Wed, Dec 7, 2011 at 4:52 PM, Ralf Hildebrandt <
[email protected]> wrote:

> * Marcello Coutinho <[email protected]>:
> > Hi all,
> >
> > I'm new to this list so forgive me if it was already posted here.
> >
> > I'm unsing pcre to filter header_checks, but not all rules are working
> >
> > /^from:.*root@/ REJECT [SN046] is not working
>
> Define "not working". What kind of mail should it block? Show an
> example.
>
> > log with masked recipients:
> > Search Results*Date**From**to**Delay**Status*Dec 7 01:13:31
> > [email protected]@zzz.br5.1sentDec 7 01:09:[email protected]
> > [email protected] 7 01:07:[email protected]@zzz.br5sent
>
> This is not a log from postfix.
>

Reply via email to