Re: Avoid processing of email with specific headers

2009-07-27 Thread Pietro
Hi Mouss, thanks for your answer. In my installation, I've got a firewall with antispam features. The target I want to achieve is to bypass SA check when a message has been already tagged as spam by the firewall. I'll try posting the question on the postfix-users list. Bye, -Pietro. 2009/7/25

Re: Avoid processing of email with specific headers

2009-07-25 Thread mouss
Pietro a écrit : In my installation, SA is called by Postfix. Any idea? Thanks in advance. This is really a postfix question. Follow up on the postfix-users list if needed. you can skip filtering using header_checks. for example /^X-Spam-Status: Yes/ FILTER smtp:[127.0.0.1]:10025 assuming

Re: Avoid processing of email with specific headers

2009-07-25 Thread Jari Fredriksson
Pietro a écrit : In my installation, SA is called by Postfix. Any idea? Thanks in advance. This is really a postfix question. Follow up on the postfix-users list if needed. you can skip filtering using header_checks. for example /^X-Spam-Status: Yes/ FILTER smtp:[127.0.0.1]:10025

Re: Avoid processing of email with specific headers

2009-07-25 Thread mouss
Jari Fredriksson a écrit : snip did you see this: This is really a postfix question. Follow up on the postfix-users list if needed. did you see that? [snip] Got the following error, when tried that. I'm using stock postfix on Debian Lenny w/ backports. postfix/cleanup[1602]:

Re: Avoid processing of email with specific headers

2009-07-25 Thread Benny Pedersen
On Sun, July 26, 2009 00:06, mouss wrote: Please move this to the postfix-users list. This is my last response here. truly a lie :) -- xpoint

Re: Avoid processing of email with specific headers

2009-07-25 Thread Jari Fredriksson
# apt-get install postfix-pcre Please move this to the postfix-users list. This is my last response here. There is no need joining postfix-users, as the solutions is there already for me. Thank You :)

Re: Avoid processing of email with specific headers

2009-07-23 Thread Martin Gregorie
On Thu, 2009-07-23 at 04:14 +0300, Jari Fredriksson wrote: If you postfix calls SpamAssasin directly as configured in /etc/postfix/master.cf I have no ideas. I think you can run a script that calls spamc rather than spamc itself. The script could use grep or (better) awk[1] to search for

Avoid processing of email with specific headers

2009-07-22 Thread Pietro
Hi all, I've got a firewall with antispam functionalities which already adds X headers. I need to know if I can bypass SpamAssassin checks when it finds specific headers. Thanks in advance. -Pietro.

Re: Avoid processing of email with specific headers

2009-07-22 Thread Jari Fredriksson
Hi all, I've got a firewall with antispam functionalities which already adds X headers. I need to know if I can bypass SpamAssassin checks when it finds specific headers. It depends on how you call SpamAssassin. If from procmail or maildrop, that is easy to arrange.

Re: Avoid processing of email with specific headers

2009-07-22 Thread Pietro
In my installation, SA is called by Postfix. Any idea? Thanks in advance. -Pietro. 2009/7/22 Jari Fredriksson ja...@iki.fi Hi all, I've got a firewall with antispam functionalities which already adds X headers. I need to know if I can bypass SpamAssassin checks when it finds

Re: Avoid processing of email with specific headers

2009-07-22 Thread Jari Fredriksson
2009/7/22 Jari Fredriksson ja...@iki.fi Hi all, I've got a firewall with antispam functionalities which already adds X headers. I need to know if I can bypass SpamAssassin checks when it finds specific headers. It depends on how you call SpamAssassin. If from procmail or maildrop,