Thanks for the reply. I actually started a new installer and have a lot more in it. I will add the changes though. Lets see what Andrew has to say about the quarantine and PDF issues though.
-- Jeremy McSpadden Flux Labs, Inc | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless Solutions Office : 850-250-5590x101<tel:850-250-5590;101> | Cell : 850-890-2543<tel:850-890-2543> | Fax : 850-254-2955<tel:850-254-2955> On Mar 14, 2013, at 10:37 AM, "Wouter van Baardewijk" <[email protected]<mailto:[email protected]>> wrote: Hi, I’m trying to setup a Baruwa 2 spam filter machine. I’ve started with a minimal Centos 6.3 and used the install_baruwa2.sh script from Jeremy McSpadden. After some initial hiccups, I got it working, but I noticed there a quit a few things that might need some tweaking. I’ve included them here, so all can benefit and hopefully make it a better install. I noticed that DCC, razor and pyzor don’t work out of the box. You need to install them first and then edit the /etc/MailScanner/spam.spamassasin.conf file to enable them. There seem to be some issues with gmail not always quickly delivering email to baruwa/exim. I’ve tracked it down and it seems to be related to SSL (esmtp). If you generate a key and copy it to the right directory, the problem seems to revolve itself openssl req -x509 -newkey rsa:2048 -keyout baruwa.pem -out baruwa.pem -days 9999 -nodes copy baruwa.pem to /etc/pki/baruwa/baruwa.key in /etc/baruwa/production.ini the default URL and timezone should still be changed afterwards. I’ve changed the VIRUS_ScANNERS option in /home/baruwa/px/lib/python2.6/site-packages/baruwa/forms/settings.py to a SelectField (instead of a MultiSelectField), because if you don’t the virus scanner value(s) is put between {} and you will get no match. This way you only get 1 virusscanner, but at least it works. There’s an error concerning the SPF:Query if your run the MailScanner –lint. I resolved it by installing it through yum, but I had to get it from the atomic repository (rpm -Uvh atomic-release*rpm) The PDF reports that get send per email couldn’t be opened. I had to remove the base64.b64encode() on line 187 of file /home/baruwa/px/lib/python2.6/site-packages/baruwa/commands/pdfreport.py to make it work. The send-quarantine-reports command scheduled through cron generates an error (IOError: [Errno 13] Permission denied: '/var/lib/baruwa/data/templates/email/quarantine.html.py') when run as user baruwa. When run as root there’s no issues. Haven’t figured this one out yet. Wouter _______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056
_______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056

