On 2011-12-17 Tolga wrote:
> I've been getting a lot of Chinese spam. I've googled and come across
> a guide that advises to use a cidr file and tell postfix to use it. I
> got the file, edited it, and told postfix to use it. However, it
> doesn't seem to be working (I tested it by putting in my own IP
> address). How can I fix it? Below is my postconf -n:
> 
> [root@bilgisayarciniz ~]# postconf -n
[...]
> smtpd_client_restrictions = check_client_access
> cidr:/etc/postfix/sinokorea.cidr

Move the check_client_access restriction to $smtpd_recipient_restrictions.

Regards
Ansgar Wiechers
-- 
"Abstractions save us time working, but they don't save us time learning."
--Joel Spolsky

Reply via email to