Koozali.org: home of the SME Server

smeserver-geoip

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: smeserver-geoip
« Reply #15 on: July 29, 2018, 10:23:17 AM »
Thank you for that, all installed fine, will report back any problems.

Cool. Please do.

...
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 Drifting

  • ****
  • 431
  • +0/-0
Re: smeserver-geoip
« Reply #16 on: July 30, 2018, 03:58:07 PM »
Ok, so far so good, and it appears to be working, but am I right in assuming that this will only stop email from those countries? What I need is a way to block them from my server full stop!

Regards Paul.
Infamy, Infamy, they all have it in for me!

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: smeserver-geoip
« Reply #17 on: July 30, 2018, 07:00:15 PM »
Ok, so far so good, and it appears to be working, but am I right in assuming that this will only stop email from those countries? What I need is a way to block them from my server full stop!

Not quite sure what you mean.

Your server will not accept mail from countries in your Geoip config.

Blocking full stop? Do you mean block from making a connection in the first place? That's a different ball game altogether. First, it isn't really necessary if your server doesn't accept them. It's really just aesthetics in your logs.

If you really do want to do more look at fail2ban with a custom script, and I think elsewhere here look for xtables which I think now works with geoip2

...
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