On 12/11/2012 04:17 AM, Stan Hoeppner wrote:
On 12/10/2012 2:38 AM, martijn.list wrote:
It's probably my misunderstanding on the reject_rbl_client syntax

No, it's your misunderstanding of the dnsbl reply syntax.

reject_rbl_client example.com=[127;128].0.0.1

I use this as a restriction in smtpd_recipient_restrictions:

smtpd_recipient_restrictions = permit_mynetworks
reject_unauth_destination reject_rbl_client example.com=[127;128].0.0.1

Please demonstrate a dnsbl that responds with 128.x.x.x

It's a trick question.  You can't.  128.x.x.x is a valid IPv4 network
and cannot be used generically because it is not reserved.  The first
"d" in "d.d.d.d" is always "127" per the dnsbl standard.

Brush up on your dnsbl foo mate.

Calm down :)

It was just an experiment not using a real world RBL (using my own private DNS just for testing) when I noticed that if the first part of the rbl syntax was between square brackets, it would fail. So to please you, reject_rbl_client example.com=[10;127].0.0.1 would fail as well.

I guess in practice hardly no one will use it in this form but since I'm working on a web gui on which users can enter some RBL syntax I had to check what formats are accepted or not.

Kind regards,

Martijn Brinkers


--
DJIGZO email encryption

Reply via email to