Re: header_checks & check_sender_access don't work

2009-02-13 Thread Noel Jones
ddaas wrote: But related the second problem, how can I block this kind of spams? Spams from remote servers From: myaddr...@myvirtualdomain.com To: myaddr...@myvirtualdomain.com? It is ok for me to block all e-mail that are comming from remote smtp servers From addres...@myvirtualdomains. I don'

Re: header_checks & check_sender_access don't work

2009-02-13 Thread ddaas
Thank you Noel ! Your regex worked. But related the second problem, how can I block this kind of spams? Spams from remote servers From: myaddr...@myvirtualdomain.com To: myaddr...@myvirtualdomain.com? It is ok for me to block all e-mail that are comming from remote smtp servers From addres...@

Re: header_checks & check_sender_access don't work

2009-02-13 Thread Noel Jones
ddaas wrote: Hi there, I have 2 problems I want to discuss with you guys. 1. I want to block e-mails from some specific address. So I used header_checks = regexp:/usr/local/etc/postfix/header_checks and in header_checks I have: /^From: badaddr...@domain.com/ REJECT message But nothing happ

header_checks & check_sender_access don't work

2009-02-13 Thread ddaas
Hi there, I have 2 problems I want to discuss with you guys. 1. I want to block e-mails from some specific address. So I used header_checks = regexp:/usr/local/etc/postfix/header_checks and in header_checks I have: /^From: badaddr...@domain.com/ REJECT message But nothing happens. 2. I am