SV: PCRE regex in header_checks ignored - why?

2016-01-31 Thread Sebastian Nielsen
No, you can use PCRE lists with check_sender_access too. I use it successfully to block certain tld's and partial domains. However, I would suggest using DISCARD instead of REJECT. With REJECT, you tell the spammer that he got blocked, thus he will switch to a new domain. With DISCARD, it will si

SV: PCRE regex in header_checks ignored - why?

2016-01-31 Thread Sebastian Nielsen
I would suggest use check_sender_access intead of header checks. Then you can reject based on MAIL FROM:, since apparently the hosts are using their e**. hostname in MAIL FROM. -Ursprungligt meddelande- Från: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] För S