Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: SchulzStefan on March 07, 2018, 04:01:03 PM

Title: GeoIP blocking countries - how-to white-list a domain in a blocked country?
Post by: SchulzStefan on March 07, 2018, 04:01:03 PM
Running SME 9.2 up-to-date.

By following this https://wiki.contribs.org/GeoIP#Blocking_email (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 (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 (https://bugs.contribs.org/show_bug.cgi?id=10111#c16)
Title: Re: GeoIP blocking countries - how-to white-list a domain in a blocked country?
Post by: Stefano on March 07, 2018, 04:17:34 PM
what about the WBL contrib?

see https://wiki.contribs.org/Email_Whitelist-Blacklist_Control
Title: Re: GeoIP blocking countries - how-to white-list a domain in a blocked country?
Post by: SchulzStefan on March 07, 2018, 04:24:18 PM
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
Title: Re: GeoIP blocking countries - how-to white-list a domain in a blocked country?
Post by: ReetP on March 07, 2018, 07:49:45 PM
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.
Title: Re: GeoIP blocking countries - how-to white-list a domain in a blocked country?
Post by: SchulzStefan on March 09, 2018, 11:47:14 AM
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