Koozali.org: home of the SME Server

GeoIP blocking countries - how-to white-list a domain in a blocked country?

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Running SME 9.2 up-to-date.

By following this https://wiki.contribs.org/GeoIP#Blocking_email, I block several countries. As far as I can see, everything is working as expected.

One of our customers is using messagelabs for sending emails. Messagelabs is using email-servers all over the world. Some of them are sending from blocked countries. AFAIK messagelabs are using their servers randomized in different countries.

How can I white-list their domain i.e. *messagelabs.com?

Is this still alive: https://bugs.contribs.org/show_bug.cgi?id=10091

# rpm -qa |grep qp
qpsmtpd-0.96-10.el6.sme.noarch
smeserver-qpsmtpd-2.4.0-37.el6.sme.noarch
qpsmtpd-plugins-0.0.1-5.el6.sme.noarch

Thanks for any hint.

Regards,
stefan

Meanwhile I try this: https://bugs.contribs.org/show_bug.cgi?id=10111#c16
« Last Edit: March 07, 2018, 04:21:43 PM by SchulzStefan »
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline Stefano

  • *
  • 10,839
  • +2/-0

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Hi Stefano,

thank you for your reply.

It's installed. Maybe I had a syntax error. Right now I removed the leading @. We'll see if this helps.

regards,
stefan
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline ReetP

  • *
  • 3,740
  • +5/-0
Stefan,

Check the status of those bugs. Closed Fixed means what it says. Done and dusted.

Whitelist.... check the wiki for the correct syntax to use.

I seem to remember it can be a right plain whitelisting domains. Eg Microshaft are awful for reverse lookups on their servers because apparently there aren't enough IPs (read 'can't be arsed, use Exchange') and they have a myriad different names.

One point to remember..... the qpsmtpd plugins report their status, but it is up to other plugins to check that status, hence my original code in dnsbl to acknowledge whitelist status.

I can't remember if the block list plugin acknowledges the geoip one or if whitelist acknowledges geoip (probably not)

Let us know what happens.
...
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

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Hi Stefano,

thank you for your reply.

It's installed. Maybe I had a syntax error. Right now I removed the leading @. We'll see if this helps.

regards,
stefan

Does work without the "@"

regards,
stefan
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)