Hi,

On 20/11/10 10:47, Mark Chaney wrote:
> I want to upgrade mailscanner as well, but it seems
> there are no deb's for the newest version of mailscanner, but there are
> rpm's, etc. So if its going to make my life easier to use centos, i
> will. Though getting django setup on centos was a pain last time i did
> it, so I am hoping django isnt needed anymore.
>    
I've not tried MailScanner on debian, only on RHEL - but it's a fairly 
simple install.  You can grab a tarball containing the MailScanner RPM 
and all the source RPMs for its dependencies.  You just need to run 
install.sh and it'll build and install the whole thing.  One caveat: 
it'll create or modify ~/.rpmmacros slightly which is worth remembering 
if you ever want to build any RPMs :-)

The tarball is available from http://mailscanner.info/downloads.html 
(the one marked "for RedHat, CentOS, and Fedora Linux and other 
RPM-based Linux distrbutions" - latest is 4.81.4-1).

> So to sum things up, is django still needed and what do you recommend
> for a setup to make upgrades simple. I am am one of those people that
> dont like compiling anything and prefer to just run: apt-get upgrade or
> yum upgrade when needing to keep my systems up to date (yeah, i know,
> its the noob/lazy way to do things), but since I am a noob, thats what I
> guess I need to do.
>    
I've only recently started looking at Baruwa, I've installed it on 
RHEL5.5 on our mail management box (I've not personally used CentOS 
before but in theory it should be pretty much identical, I think).  It 
was pretty straightforward, though I did add the EPEL and IUS 
repositories to make life easier (IUS mainly for PHP, as I'm also 
running the BarricadeMX web interface on there, but they've got some 
python packages too).  The repository websites are:

http://fedoraproject.org/wiki/EPEL
http://iuscommunity.org/

To get it working I also needed these packages:

http://topdog-software.com/oss/baruwa/1.0.0/rpm/
http://topdog-software.com/oss/MySQL-python/
http://topdog-software.com/oss/dojo/
http://topdog-software.com/oss/python-reportlab/

(I *think* that's everything...)

We've got an RHN satellite server which makes things easy; I just put 
these packages in a custom channel and did:

yum -y install httpd mod_ssl mod_wsgi MySQL-python mysql-server dojo 
python-reportlab baruwa

This sorts out all the dependencies nicely and pulls them in as needed, 
so I'm afraid I don't have the full list of packages it installed - 
however if you install the RPMs manually, if there's anything missing 
those should all be installable via yum in the same way.

The easiest thing is probably to put all the RPMs together in one 
directory and run:

yum localinstall *.rpm

You shouldn't need to do any compiling, I've got it all up and running 
from packages (Andrew's also kindly fixed a few bugs I found in the 
report filtering; the 1.0.0-3 RPM includes the patches and it's working 
fine).

Hope that helps if you decide to go with CentOS!

Cheers,

Andy Newton
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to