Koozali.org: home of the SME Server

White list range of addresses with Email WBL contrib

Offline ReetP

  • *
  • 3,291
  • +5/-0
White list range of addresses with Email WBL contrib
« on: December 04, 2017, 04:22:26 PM »
Following this post:

https://forums.contribs.org/index.php/topic,51429.0.html

I have had an issue where I have to white list a block of IP addresses. I hate to do it, but have no real choice.

As a result I have created a bug https://bugs.contribs.org/show_bug.cgi?id=10472 and made a bit of a hacky patch.

There is also a little test file there as well.

If anyone is feeling brave then please have a go at it.

In the WBL panel just add a host and subnet e.g.

200.200.200/20

Don't use a dotted quad though. So nothing like 255.255.255.0

Please reply on the bug if you have any questions.

B. Rgds
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation