pcre header_checks

2011-12-07 Thread Marcello Coutinho
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 log with masked recipients: Search Results*Date**From**to**Delay**Status*Dec 7 01:13:31

Re: pcre header_checks

2011-12-07 Thread Marcello Coutinho
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

Re: pcre header_checks

2011-12-07 Thread Noel Jones
On 12/7/2011 12:03 PM, Marcello Coutinho wrote: 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 Don't confuse envelope sender as shown in

Re: pcre header_checks

2011-12-07 Thread Ralf Hildebrandt
* Marcello Coutinho marcellocouti...@gmail.com: some lines from header_check file: /^from:.*root@/ REJECT [SN046] /^from:.*anonymous@*/ REJECT [SN047] /^from:.*@ajufe.org.br/ OK /^from:/ HOLD These match headers Dec 7 16:57:03 srvchunk01 postfix/cleanup[42501]: 2E1DB2111FE: warning:

Re: pcre header_checks

2011-12-07 Thread Marcello Coutinho
Thank you, i'll test and feedback. On Wed, Dec 7, 2011 at 5:33 PM, Ralf Hildebrandt ralf.hildebra...@charite.de wrote: * Marcello Coutinho marcellocouti...@gmail.com: some lines from header_check file: /^from:.*root@/ REJECT [SN046] /^from:.*anonymous@*/ REJECT [SN047]

Re: anyone rejecting incorrect dates with pcre header_checks?

2011-04-28 Thread Erik de Castro Lopo
Troy Piggins wrote: Wondering how you're solving this for emails sent with Date: headers way in the past or future. What do you think is a reasonably acceptable in terms of dates. 3 days each side of the correct date? 3 months? Years? How do you keep the header_checks updated as time

Re: anyone rejecting incorrect dates with pcre header_checks?

2011-04-28 Thread Duane Hill
Thursday, April 28, 2011, 1:19:11 AM, you wrote: Troy Piggins wrote: Wondering how you're solving this for emails sent with Date: headers way in the past or future. What do you think is a reasonably acceptable in terms of dates. 3 days each side of the correct date? 3 months? Years?

Re: anyone rejecting incorrect dates with pcre header_checks?

2011-04-28 Thread Troy Piggins
* Duane Hill wrote : Thursday, April 28, 2011, 1:19:11 AM, you wrote: Troy Piggins wrote: Wondering how you're solving this for emails sent with Date: headers way in the past or future. What do you think is a reasonably acceptable in terms of dates. 3 days each side of the correct

anyone rejecting incorrect dates with pcre header_checks?

2011-04-27 Thread Troy Piggins
Wondering how you're solving this for emails sent with Date: headers way in the past or future. What do you think is a reasonably acceptable in terms of dates. 3 days each side of the correct date? 3 months? Years? How do you keep the header_checks updated as time goes by? I was thinking a