Re: need help with pcre for postfix

2009-11-18 Thread Victor Duchovni
On Wed, Nov 18, 2009 at 09:17:14AM +0100, pascal valois wrote: > i installed postfix-pcre on ubuntu 8.04. > > and add this line in my main.cf postfix configuration : > > header_checks = pcre:/etc/postfix/header_checks Why are using header checks to filter the envelope recipient address? (Hint:

Re: need help with pcre for postfix

2009-11-18 Thread pascal valois
hum, i think i found what was wrong. when checking with pcre, all lines in the header are processed. and then the "from: adress" get a REJECT go away reponse from the filter. i though that all the subject was processed as once ? right or wrong ? Le mercredi 18 novembre 2009 à 09:17 +0100, pas

Re: need help with pcre for postfix

2009-11-18 Thread pascal valois
Viktor, Yes, Milter seems way to much for what i wanna do. i installed postfix-pcre on ubuntu 8.04. and add this line in my main.cf postfix configuration : header_checks = pcre:/etc/postfix/header_checks then here is the content of my /etc/postfix/header_checks : !/postmas...@devinci\.fr/ RE

RE: need help with pcre for postfix

2009-11-06 Thread Sharma, Ashish
Pascal, You can create a mail filter for Postfix using Milter API. For c implementation you can use lib-milter API and for Java implementation you can use 'Jilter' API. It's possible to write code depending on your requirement as mentioned by you: > can someone help me write a filter who would

Re: need help with pcre for postfix

2009-11-04 Thread Victor Duchovni
On Wed, Nov 04, 2009 at 06:34:38PM +0100, pascal valois wrote: > i don't understand how the filter are processed ? > > can someone help me write a filter who would accept mail for > "postmas...@domain" and reject all other mails ? http://www.postfix.org/access.5.html http://www.postfix