Koozali.org formerly Contribs.org

smeserver-geoip

smeserver-geoip
« on: December 15, 2014, 10:23:31 PM »
Hi,

I'm trying to install smeserver-geoip. Not found

Code: [Select]
yum install smeserver-geoip --enablerepo=smecontribs
gives

Code: [Select]
No package smeserver-geoip available.
Error: Nothing to do

Tried the other repos: centosplus,contrib,extras,smeaddons,smecontribs,smeextras,smeupdates,stephdl

Still no luck. Is it abandoned or on some other repos?

Thanks

Syv

guest22

Re: smeserver-geoip
« Reply #1 on: December 15, 2014, 10:29:57 PM »

Re: smeserver-geoip
« Reply #2 on: December 15, 2014, 10:36:41 PM »
The wiki has the answer...
http://wiki.contribs.org/GeoIP#GeoIP_qpstmpd_plugin

No. I already tried that from http://wiki.contribs.org/GeoIP#GeoIP_qpstmpd_plugin:

Code: [Select]
yum install smeserver-geoip --enablerepo=smecontribs
and I get:

Code: [Select]
[root@ethelbert ~]# yum install smeserver-geoip --enablerepo=smecontribs
Loaded plugins: fastestmirror, smeserver
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: www.muug.mb.ca
 * smeaddons: mirror.canada.pialasse.com
 * smecontribs: mirror.canada.pialasse.com
 * smeextras: mirror.canada.pialasse.com
 * smeos: mirror.canada.pialasse.com
 * smeupdates: mirror.canada.pialasse.com
 * updates: centos.les.net
No package smeserver-geoip available.
Error: Nothing to do


which what I tried to say in the first post.

Thanks

Syv

guest22

Re: smeserver-geoip
« Reply #3 on: December 15, 2014, 10:37:29 PM »
Read very carefully....

Re: smeserver-geoip
« Reply #4 on: December 15, 2014, 11:07:12 PM »
Read very carefully....
I did read it but I didn't understand it. Can you delete the

Code: [Select]
yum install smeserver-geoip --enablerepo=smecontribs

Thanks

Syv

Re: smeserver-geoip
« Reply #5 on: December 15, 2014, 11:41:37 PM »
Read very carefully....

I'm still having problems:

  • I have downloaded the rpm
  • rpm -i smeserver-geoip-1.0.5-1.noarch.rpm

The perl-geo-ip is already installed for awstats. Doing the test of the various location works

Code: [Select]
[root@ethelbert ~]# geoiplookup swerts-knudsen.dk
GeoIP Country Edition: EU, Europe

then:

Quote
Usage
Tracking e-mail

GEOIP plugin should now do its work. Check the qpsmtpd logs and you'll see the countries from where mail is sent.
cat /var/log/qpsmtpd/current

It does not for me. I have received 39 emails since installing smeserver-geoip and qpsmtpd/current  doesn't show the string: "Country"

Code: [Select]
[root@ethelbert ~]# config show qpsmtpd
qpsmtpd=service
    Bcc=disabled
    BccMode=cc
    BccUser=maillog
    DNSBL=enabled
    LogLevel=6
    MaxScannerSize=60000000
    RBLList=zen.spamhaus.org
    RHSBL=enabled
    RelayRequiresAuth=enabled
    SBLList=multi.surbl.org:black.uribl.com:rhsbl.sorbs.net
    TlsBeforeAuth=1
    access=public
    qplogsumm=disabled
    status=enabled


Thanks

Syv

Offline janet

  • ****
  • 4,810
Re: smeserver-geoip
« Reply #6 on: December 16, 2014, 02:09:50 AM »
ElFroggio

Quote
I'm trying to install smeserver-geoip. Not found
Code: [Select]
yum install smeserver-geoip --enablerepo=smecontribs

You need to configure the sme8 smecontribs repo on your sme9 server, because the package is there
http://distro.ibiblio.org/smeserver/releases/8/smecontribs/i386/RPMS/
http://distro.ibiblio.org/smeserver/releases/8/smecontribs/x86_64/RPMS/

It is NOT currently in sme9 smecontribs repo
http://distro.ibiblio.org/smeserver/releases/9/smecontribs/i386/RPMS/
http://distro.ibiblio.org/smeserver/releases/9/smecontribs/x86_64/RPMS/


MAYBE your problems relate to incompatibility with sme9, so post a bug report.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

guest22

Re: smeserver-geoip
« Reply #7 on: December 16, 2014, 02:11:45 AM »
and, indeed we need to update the wiki page.

Re: smeserver-geoip
« Reply #8 on: February 08, 2015, 10:09:23 AM »
Ok I try to make it works also.

I have installed all contribs with smecontribs8.
Thank you Janet.

I do the following:
add the sme8contribs.

db yum_repositories set sme8contribs repository \
> Name 'SME 8 - contribs' \
> MirrorList 'http://mirrorlist.contribs.org/mirrorlist/smecontribs-8' \
> GPGCheck yes \
> Visible no \
> status disabled


signal-event yum-modify
yum clean all

install the contribs:
yum --enablerepo=sme8contribs,smecontribs install perl-Geo-IP
yum --enablerepo=sme8contribs,smecontribs install smeserver-geoip


but the geoip seems not working:
[root@rangiroa ~]# geoiplookup gormand.com.au
GeoIP Country Edition: US, United States
instead of Australia.

I don't know why.

[root@rangiroa GeoIP]# rpm -q smeserver-geoip
smeserver-geoip-1.0.5-1.noarch
[root@rangiroa GeoIP]# rpm -q perl-Geo-IP-1.38-1.el5.rf.x86_64
perl-Geo-IP-1.38-1.el5.rf.x86_64



Offline janet

  • ****
  • 4,810
Re: smeserver-geoip
« Reply #9 on: February 08, 2015, 10:32:14 AM »
bpkheops

I think Gordon redirects his domain requests to a googlesite website so that USA result is probably correct.

If you think something is wrong with a contrib, then post a report on bugzilla, link at top of forums, & post the bug number here.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Re: smeserver-geoip
« Reply #10 on: March 23, 2015, 01:27:18 PM »
Just a quick one.  Due to the amount of spam being received I decided to install GeoIP following the procedure outlined here. 

After the reboot, no email was received and no email could be sent out.  Nothing in the logs either.  I had to remove the contrib in order to be able to send and receive again.


Offline janet

  • ****
  • 4,810
Re: smeserver-geoip
« Reply #11 on: March 23, 2015, 09:00:04 PM »
bosco555

As I said in my previous post:
If you think something is wrong with a contrib, then post a report on bugzilla, link at top of forums, & post the bug number here.

PLEASE and THANK YOU

Also re your spam issue, do you have RBL lists enabled ?
Show output of
config show qpsmtpd

Also do you have executable content filtering enabled ?
Using these features of SME server will reduce spam dramatically.


« Last Edit: March 23, 2015, 09:11:20 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Re: smeserver-geoip
« Reply #12 on: March 23, 2015, 11:23:17 PM »
please find the output below:

qpsmtpd=service
    Bcc=disabled
    BccMode=cc
    BccUser=maillog
    DNSBL=enabled
    LogLevel=6
    MaxScannerSize=35000000
    RBLList=bl.spamcop.net:zen.spamhaus.org:b.barracudacentral.org
    RHSBL=enabled
    RelayRequiresAuth=disabled
    SBLList=multi.surbl.org
    TlsBeforeAuth=1
    access=public
    qplogsumm=disabled
    status=enabled

Offline MSmith

  • *
  • 675
Re: smeserver-geoip
« Reply #13 on: May 04, 2015, 03:03:53 PM »
Wouldn't you need "GeoIP=enabled" in that qpsmtpd configuration, and the list of bad countries? Here's mine:

qpsmtpd=service
    BadCountries=AD,AE,AL,AM,AO,AR,BA,BD,BE,BF,BG,BO,BR,BY,CD,CH,CI,CL,CM,CN,CO,CZ,DE,DO,DZ,EC,EG,ES,ET,EU,FJ,FR,GD,GE,GH,GR,GT,HK,HN,HR,HT,ID,IE,IL,IN,IQ,IR,IT,JM,JO,JP,KE,KG,KH,KR,KW,KZ,LK,LT,LV,MA,MD,ME,MK,ML,MN,MO,MR,MU,MW,MX,MY,NA,NG,NL,NO,NP,NZ,PA,PE,PH,PK,PL,PT,RO,RS,RU,RW,SA,SD,SE,SG,SI,SM,SY,TG,TH,TJ,TL,TN,TR,TT,TW,TZ,UA,UY,UZ,VE,VN,ZA,ZM,ZW
    Bcc=enabled
    BccMode=bcc
    BccUser=maillog
    DNSBL=enabled
    GeoIP=enabled
    LogLevel=6
    MaxScannerSize=25000000
    RBLList=zen.spamhaus.org
    RHSBL=enabled
    RelayRequiresAuth=disabled
    SBLList=dbl.spamhaus.org:multi.surbl.org
    TlsBeforeAuth=1
    access=public
    qplogsumm=disabled
    status=enabled
...

Offline mercyh

  • *
  • 824
    • http://mercyh.org
Re: smeserver-geoip
« Reply #14 on: May 04, 2015, 03:52:07 PM »
@MSmith,

Is that running on an SME 9 install?