Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: ElFroggio on December 15, 2014, 10:23:31 PM
-
Hi,
I'm trying to install smeserver-geoip. Not found
yum install smeserver-geoip --enablerepo=smecontribs
gives
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
-
The wiki has the answer...
http://wiki.contribs.org/GeoIP#GeoIP_qpstmpd_plugin (http://wiki.contribs.org/GeoIP#GeoIP_qpstmpd_plugin)
-
The wiki has the answer...
http://wiki.contribs.org/GeoIP#GeoIP_qpstmpd_plugin (http://wiki.contribs.org/GeoIP#GeoIP_qpstmpd_plugin)
No. I already tried that from http://wiki.contribs.org/GeoIP#GeoIP_qpstmpd_plugin (http://wiki.contribs.org/GeoIP#GeoIP_qpstmpd_plugin):
yum install smeserver-geoip --enablerepo=smecontribs
and I get:
[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
-
Read very carefully....
-
Read very carefully....
I did read it but I didn't understand it. Can you delete the
yum install smeserver-geoip --enablerepo=smecontribs
Thanks
Syv
-
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
[root@ethelbert ~]# geoiplookup swerts-knudsen.dk
GeoIP Country Edition: EU, Europe
then:
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"
[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
-
ElFroggio
I'm trying to install smeserver-geoip. Not found
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.
-
and, indeed we need to update the wiki page.
-
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
-
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.
-
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.
-
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.
-
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
-
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
-
@MSmith,
Is that running on an SME 9 install?
-
Is that running on an SME 9 install?
Good catch, yes, and it isn't working correctly so I should probably shut up :) But here's one from an SME 8 install that *does* work:
BadCountries=A2,AD,AE,AL,AM,AO,AR,BA,BD,BE,BF,BG,BO,BR,BY,CD,CH,CI,CL,CM,CN,CO,CZ,DO,DZ,EC,EG,ES,ET,EU,FJ,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,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,ZM,ZW
Bcc=disabled
BccMode=cc
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