Re: pcre:header_check

2012-11-21 Thread Ralf Hildebrandt
* prashuppp p prashanthpnai...@gmail.com: I was trying to HOLD all the emails which has more then 2 recipient's using header_checks = pcre:/etc/postfix/header_checks /^(Cc|To):([^@]*@){2,}/ HOLD header_checks only apply (AS THE NAME SAYS!) to... the headers. No header, no match. But not

Re: pcre:header_check

2012-11-21 Thread prashanth p
ok..great..Is there any other method to do for envelope also..I need it for both.. On Wed, Nov 21, 2012 at 4:08 PM, Ralf Hildebrandt r...@sys4.de wrote: * prashuppp p prashanthpnai...@gmail.com: I was trying to HOLD all the emails which has more then 2 recipient's using header_checks =

Re: pcre:header_check

2012-11-21 Thread Ralf Hildebrandt
* prashanth p prashanthpnai...@gmail.com: ok..great..Is there any other method to do for envelope also..I need it for both.. You'd need a policy_daemon for that. Didn't you ask that before? postfwd can easily do that. -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15,

Re: pcre:header_check

2012-11-21 Thread prashanth p
yes,But am authorized to use only inbuilt mechanism. That's the reason i have choosed header_check.But later i came to know that as it name indicate's it can do only header . 2012/11/21 Ralf Hildebrandt r...@sys4.de * prashanth p prashanthpnai...@gmail.com: ok..great..Is there any other

Re: pcre:header_check

2012-11-21 Thread Wietse Venema
prashuppp p: I was trying to HOLD all the emails which has more then 2 recipient's using header_checks = pcre:/etc/postfix/header_checks Use the SMTPD policy plug-in interface. What you ask for will not be implemented in Postfix. Wietse

Re: pcre:header_check

2012-11-21 Thread prashanth p
i know scripting,so do you refer me any good document or web link on writing SMTPD policy scripts ? On Wed, Nov 21, 2012 at 5:25 PM, Wietse Venema wie...@porcupine.org wrote: prashuppp p: I was trying to HOLD all the emails which has more then 2 recipient's using header_checks =

Re: pcre:header_check

2012-11-21 Thread /dev/rob0
On Wed, Nov 21, 2012 at 5:25 PM, Wietse Venema wie...@porcupine.org wrote: prashuppp p: I was trying to HOLD all the emails which has more then 2 recipient's using header_checks = pcre:/etc/postfix/header_checks Use the SMTPD policy plug-in interface. What you ask for will