Forgot to CC
-------- Original Message --------
Subject: Re: CIDR
Date: Mon, 19 Dec 2011 20:27:50 +0200
From: Tolga <to...@ozses.net>
To: s...@hardwarefreak.com
On 18-12-2011 13:36, Stan Hoeppner wrote:
On 12/18/2011 4:49 AM, Duane Hill wrote:
Hi, I've confirmed that the IP is from China, using www.ip2location.com.
My CIDR file is at www.bilgisayarciniz.org/sinokorea.cidr.txt
Bingo. Your CIDR table doesn't work because you have not specified a
RESULT for each network_address. You only provided optional message
text. See 'man cidr_table'.
When I plugged the IP into postmap like you said, I got an error
postmap -q 60.190.223.61 sinokorea.cidr REJECT Mail not accepted from China
postmap: fatal: open database REJECT.db: No such file or directory.
You should just do:
postmap -q 60.190.223.61 cidr:sinokorea.cidr
Correct. See 'man postmap'.
The 'REJECT Mail not accepted from China' part of Stan's response was
the response from his example postmap command. It wasn't something
for you to type in.
Correct. Tolga, I suggest you read the relevant Postfix documentation
each time before you try something new. In this case you should have
accessed:
$ man cidr_table
$ man postmap
If you had read these in advance you would have avoided these problems.
Hello again,
I did like you said (did a postmap -q ip.add.ress.here
cidr:sinokorea.cidr). Today, I thought I'd check logs, and one thing I
noticed is Dec 19 20:09:24 bilgisayarciniz postfix/smtpd[16163]:
NOQUEUE: reject: RCPT from mail2-188.sinamail.sina.com.cn[60.28.2.188]:
451 4.3.5 Server configuration error; from=<lvkybzvlen...@sina.com>
to=<i...@vetbbc.com> proto=ESMTP helo=<mail2-188.sinamail.sina.com.cn>.
What should I do?
Regards,