With your changes added, is your system now working?

> -----Original Message-----
> From: [email protected] [mailto:baruwa-
> [email protected]] On Behalf Of Kristoffer Gulbrandsen
> Sent: Tuesday, March 08, 2011 3:02 AM
> To: [email protected]
> Subject: Re: [Baruwa] Baruwa Digest, Vol 8, Issue 8
> 
> Hi, the config on howtoforge says Quarantine User = root but I changed it to 
> postfix
> now to test, and my apparmor has this:
> /etc/apparmor.d/usr.sbin.clamd
> howtoforge says to make this file but this file was here with config.
> Just added those to /var/spool after home config.
> # Allow home dir to be scanned
>   @{HOME}/ r,
>   @{HOME}/** r,
>    #clamav
>    /var/spool/MailScanner/** rw,
>    /var/spool/MailScanner/incoming/** rw,
> 
> 
> /Kristoffer
> 
> -----Opprinnelig melding-----
> Fra: [email protected] [mailto:baruwa-
> [email protected]] På vegne av [email protected]
> Sendt: 7. mars 2011 15:14
> Til: [email protected]
> Emne: Baruwa Digest, Vol 8, Issue 8
> 
> Send Baruwa mailing list submissions to
>       [email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.baruwa.org/mailman/listinfo/baruwa
> or, via email, send a message with subject or body 'help' to
>       [email protected]
> 
> You can reach the person managing the list at
>       [email protected]
> 
> When replying, please edit your Subject line so it is more specific than "Re:
> Contents of Baruwa digest..."
> 
> 
> Today's Topics:
> 
>    1. Release and rites on emails (Kristoffer Gulbrandsen)
>    2. Re: Release and rites on emails (Andrew Colin Kissa)
>    3. Re: Release and rites on emails (Mohammed Alli)
>    4. Re: Version 1.1.0 feedback request (Johan Hendriks)
>    5. Re: Version 1.1.0 feedback request (Andrew Colin Kissa)
>    6. Re: Version 1.1.0 feedback request (Mikael Syska)
>    7. Re: Version 1.1.0 feedback request (Andrew Colin Kissa)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 7 Mar 2011 10:21:09 +0000
> From: Kristoffer Gulbrandsen <[email protected]>
> Subject: [Baruwa] Release and rites on emails
> To: "[email protected]" <[email protected]>
> Message-ID:
>       <[email protected]
> ng.local>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi, need some help regarding release of emails, when I try to release I get: 
> could
> not be released, but if  try again or even try 5 times more it gets released.
> I have 2 boxes running baruwa 1.0.0-3 and one box running baruwa_1.0.2-1 (test
> box) same happens on all of them. Any ideas to what that could be ?
> Another ting is that i needed to make I dirty sh file with chown -R 
> postfix:www-
> data /var/spool/MailScanner and chmod -R ug+rwx /var/spool/MailScanner that
> runs at midnight.
> If I don't run this I cannot release. I followed the 
> the-perfect-spamsnake-ubuntu-
> jeos-10.10-maverick setup guide.
> 
> Med vennlig hilsen;
> Kristoffer Gulbrandsen
> E-mail: [email protected]<mailto:[email protected]>
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.baruwa.org/pipermail/baruwa/attachments/20110307/b7b7cf2d/attac
> hment-0001.html
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 7 Mar 2011 12:29:02 +0200
> From: Andrew Colin Kissa <[email protected]>
> Subject: Re: [Baruwa] Release and rites on emails
> To: Baruwa users list <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=windows-1252
> 
> 
> On 07 Mar 2011, at 12:21 PM, Kristoffer Gulbrandsen wrote:
> 
> > Hi, need some help regarding release of emails, when I try to release I 
> > get: could
> not be released, but if  try again or even try 5 times more it gets released.
> > I have 2 boxes running baruwa 1.0.0-3 and one box running baruwa_1.0.2-1 
> > (test
> box) same happens on all of them.
> 
> That is very strange, but it could be related to the fact that your 
> permissions are
> incorrect and are being reset using a script.
> 
> > Any ideas to what that could be ?
> > Another ting is that i needed to make I dirty sh file with chown -R 
> > postfix:www-
> data /var/spool/MailScanner and chmod -R ug+rwx /var/spool/MailScanner that
> runs at midnight.
> > If I don?t run this I cannot release. I followed the the-perfect-spamsnake-
> ubuntu-jeos-10.10-maverick setup guide.
> 
> You need to set the following options correctly in your mailscanner config
> 
> Quarantine User = postfix
> Quarantine Group = www-data
> Quarantine Permissions = 0660
> 
> --
> Baruwa - www.baruwa.org
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 7 Mar 2011 07:44:06 -0500
> From: "Mohammed Alli" <[email protected]>
> Subject: Re: [Baruwa] Release and rites on emails
> To: "Baruwa users list" <[email protected]>
> Message-ID:
>       <[email protected]
> ents.com>
> Content-Type: text/plain;     charset="us-ascii"
> 
> Hey Kristoffer,
> 
> Sounds like you're having issues caused by apparmor.  Did you follow the
> apparmor configuration section of the guide, under section 7, thoroughly?  
> Also,
> please verify your MailScanner.conf settings against the guide.  I'm sure 
> Andrew is
> correct and you have a minor misconfiguration.
> 
> Rocky
> 
> > -----Original Message-----
> > From: [email protected] [mailto:baruwa-
> > [email protected]] On Behalf Of Andrew Colin Kissa
> > Sent: Monday, March 07, 2011 5:29 AM
> > To: Baruwa users list
> > Subject: Re: [Baruwa] Release and rites on emails
> >
> >
> > On 07 Mar 2011, at 12:21 PM, Kristoffer Gulbrandsen wrote:
> >
> > > Hi, need some help regarding release of emails, when I try to
> release I get: could
> > not be released, but if  try again or even try 5 times more it gets
> released.
> > > I have 2 boxes running baruwa 1.0.0-3 and one box running
> baruwa_1.0.2-1 (test
> > box) same happens on all of them.
> >
> > That is very strange, but it could be related to the fact that your
> permissions are
> > incorrect and are being reset using a script.
> >
> > > Any ideas to what that could be ?
> > > Another ting is that i needed to make I dirty sh file with chown -R
> postfix:www-
> > data /var/spool/MailScanner and chmod -R ug+rwx /var/spool/MailScanner
> that
> > runs at midnight.
> > > If I don't run this I cannot release. I followed the
> the-perfect-spamsnake-ubuntu-
> > jeos-10.10-maverick setup guide.
> >
> > You need to set the following options correctly in your mailscanner
> config
> >
> > Quarantine User = postfix
> > Quarantine Group = www-data
> > Quarantine Permissions = 0660
> >
> > --
> > Baruwa - www.baruwa.org
> >
> > _______________________________________________
> > Baruwa mailing list
> > [email protected]
> > http://lists.baruwa.org/mailman/listinfo/baruwa
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 07 Mar 2011 14:55:26 +0100
> From: Johan Hendriks <[email protected]>
> Subject: Re: [Baruwa] Version 1.1.0 feedback request
> To: Baruwa users list <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Andrew Colin Kissa schreef:
> > Hi All,
> >
> > For those using 1.1.0 release candidate or Github code can you please
> > provide some feedback on your experiences.
> >
> > Thanks in advance,
> >
> > Andrew
> >
> > --
> > Baruwa - www.baruwa.org
> >
> > _______________________________________________
> > Baruwa mailing list
> > [email protected]
> > http://lists.baruwa.org/mailman/listinfo/baruwa
> >
> Hello i started today and installed  baruwa 1.1.0-rc2 to test
> 
> in the setup.py file there is something changed.
> added is anyjson en django-celery
> 
> I am on a FreeBSD machine, and can not find a port py-anyjson.
> the jsons i have are
> py26-cjson-1.05
> py26-demjson-1.4
> py26-geojson-1.0.1,1
> py26-json-py-3.4
> py26-jsonlib-1.3.10
> py26-jsonlib2-1.5.1
> py26-simplejson-2.09
> py26-Turbojson-1.2.1
> 
> also django-celery port i do not have.
> 
> If i run #python setup.py install
> All looks good it seems to install some stuf.
> 
> Some more questions.
> in settings.py , i see the following.
> 
> #celery
> CELERY_CONCURRENCY = 20
> CELERY_DISABLE_RATE_LIMITS = True
> BROKER_HOST = "localhost"
> BROKER_PORT = 5672
> BROKER_USER = "baruwa"
> BROKER_PASSWORD = "password"
> BROKER_VHOST = "baruwa"
> 
> I did leave them as is, but where is it for?
> 
> then i did a
> /usr/local/lib/python2.6/site-packages/baruwa-1.1.0-
> py2.6.egg/baruwa/manage.py
> syncdb
> it gave me the following.
> Creating table mailq
> Creating table celery_taskmeta
> Creating table celery_tasksetmeta
> Creating table djcelery_intervalschedule Creating table 
> djcelery_crontabschedule
> Creating table djcelery_periodictasks Creating table djcelery_periodictask
> Creating table djcelery_workerstate Creating table djcelery_taskstate 
> Installing
> index for status.MailQueueItem model Installing index for 
> djcelery.PeriodicTask
> model Installing index for djcelery.WorkerState model Installing index for
> djcelery.TaskState model No fixtures found.
> 
> Create the softlinks
> ln -s /usr/local/www/dojo/dojo
> /usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/static/js/
> ln -s /usr/local/www/dojo/dojox
> /usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/static/js/
> ln -s /usr/local/www/dojo/dijit
> /usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/static/js
> 
> I installed the ~/baruwa/extra/* files on the system.
> 
> restarted apache
> 
> All seems to work.
> 
> So my main question is the celery part...
> 
> 
> thanks for your time.
> 
> regards,
> Johan Hendriks
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 7 Mar 2011 16:02:36 +0200
> From: Andrew Colin Kissa <[email protected]>
> Subject: Re: [Baruwa] Version 1.1.0 feedback request
> To: Baruwa users list <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> On 07 Mar 2011, at 3:55 PM, Johan Hendriks wrote:
> 
> > So my main question is the celery part...
> 
> As advised in my earlier post consider using virtualenv you can then install
> anyjson and celery via pip
> 
> pip install anyjson django-celery
> 
> virtualenv will ensure your system python directories are clean and unpolluted
> while you test
> 
> --
> Baruwa - www.baruwa.org
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Mon, 7 Mar 2011 15:07:24 +0100
> From: Mikael Syska <[email protected]>
> Subject: Re: [Baruwa] Version 1.1.0 feedback request
> To: Baruwa users list <[email protected]>
> Message-ID:
>       <[email protected]
> .com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi,
> 
> On Mon, Mar 7, 2011 at 2:55 PM, Johan Hendriks <[email protected]>
> wrote:
> > Andrew Colin Kissa schreef:
> >> Hi All,
> >>
> >> For those using 1.1.0 release candidate or Github code can you please
> >> provide some feedback on your experiences.
> >>
> >> Thanks in advance,
> >>
> >> Andrew
> >>
> >> --
> >> Baruwa - www.baruwa.org
> >>
> >> _______________________________________________
> >> Baruwa mailing list
> >> [email protected]
> >> http://lists.baruwa.org/mailman/listinfo/baruwa
> >>
> > Hello i started today and installed ?baruwa 1.1.0-rc2 to test
> >
> > in the setup.py file there is something changed.
> > added is anyjson en django-celery
> 
> Yes, correct.
> >
> > I am on a FreeBSD machine, and can not find a port py-anyjson.
> 
> Not true, anyjson is there.
> http://www.freshports.org/devel/py-anyjson/
> 
> > the jsons i have are
> > py26-cjson-1.05
> > py26-demjson-1.4
> > py26-geojson-1.0.1,1
> > py26-json-py-3.4
> > py26-jsonlib-1.3.10
> > py26-jsonlib2-1.5.1
> > py26-simplejson-2.09
> > py26-Turbojson-1.2.1
> >
> > also django-celery port i do not have.
> 
> True, but can be installed by the setup script.
> 
> >
> > If i run #python setup.py install
> > All looks good it seems to install some stuf.
> 
> Yes.
> >
> > Some more questions.
> > in settings.py , i see the following.
> >
> > #celery
> > CELERY_CONCURRENCY = 20
> > CELERY_DISABLE_RATE_LIMITS = True
> > BROKER_HOST = "localhost"
> > BROKER_PORT = 5672
> > BROKER_USER = "baruwa"
> > BROKER_PASSWORD = "password"
> > BROKER_VHOST = "baruwa"
> 
> I think the broker part is for the message queue system, when learning 
> multiple
> mails ( sa-learn ) so you dont have to wait X seconds for it to finish.
> >
> > I did leave them as is, but where is it for?
> >
> > then i did a
> > /usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/m
> > anage.py
> > syncdb
> > it gave me the following.
> > Creating table mailq
> > Creating table celery_taskmeta
> > Creating table celery_tasksetmeta
> > Creating table djcelery_intervalschedule Creating table
> > djcelery_crontabschedule Creating table djcelery_periodictasks
> > Creating table djcelery_periodictask Creating table
> > djcelery_workerstate Creating table djcelery_taskstate Installing
> > index for status.MailQueueItem model Installing index for
> > djcelery.PeriodicTask model Installing index for djcelery.WorkerState
> > model Installing index for djcelery.TaskState model No fixtures found.
> >
> > Create the softlinks
> > ln -s /usr/local/www/dojo/dojo
> > /usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/s
> > tatic/js/
> > ln -s /usr/local/www/dojo/dojox
> > /usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/s
> > tatic/js/
> > ln -s /usr/local/www/dojo/dijit
> > /usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/s
> > tatic/js
> >
> > I installed the ~/baruwa/extra/* files on the system.
> >
> > restarted apache
> >
> > All seems to work.
> >
> > So my main question is the celery part...
> 
> Install from the setup.py file worked for me ... I'm also on FreeBSD.
> But I still have some problems getting the reports to work ... does these 
> work for
> you ? Having a hard time resolving if all the dependencies are right ... but 
> Andrew
> have a item on his "TOTO" list, with a small test script to make sure all
> dependencies are right and can be found.
> 
> So we dont have to debug though the webinterface ... will be awesome.
> 
> >
> >
> > thanks for your time.
> >
> > regards,
> > Johan Hendriks
> > _______________________________________________
> > Baruwa mailing list
> > [email protected]
> > http://lists.baruwa.org/mailman/listinfo/baruwa
> >
> 
> mvh
> Mikael Syska
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Mon, 7 Mar 2011 16:13:52 +0200
> From: Andrew Colin Kissa <[email protected]>
> Subject: Re: [Baruwa] Version 1.1.0 feedback request
> To: Baruwa users list <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> 
> Sorry i missed some of your questions.
> 
> On 07 Mar 2011, at 3:55 PM, Johan Hendriks wrote:
> >
> > Some more questions.
> > in settings.py , i see the following.
> >
> > #celery
> > CELERY_CONCURRENCY = 20
> > CELERY_DISABLE_RATE_LIMITS = True
> > BROKER_HOST = "localhost"
> > BROKER_PORT = 5672
> > BROKER_USER = "baruwa"
> > BROKER_PASSWORD = "password"
> > BROKER_VHOST = "baruwa"
> >
> > I did leave them as is, but where is it for?
> 
> No you have to set them for what you have configured on your side.
> like Mikael said these are for the broker, the documentation has been updated 
> to
> explain these so the docs in the source should provide info on this in the 
> configure
> rabbitmq section.
> 
> https://github.com/akissa/baruwa/raw/master/docs/source/install.txt
> 
> >
> > So my main question is the celery part..
> 
> This is a backend thing to allow you to do things efficiently like learn 50 
> messages
> in one shot.
> 
> Sorry if i have missed something else just shout.
> 
> --
> Baruwa - www.baruwa.org
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Baruwa mailing list
> [email protected]
> http://lists.baruwa.org/mailman/listinfo/baruwa
> 
> 
> End of Baruwa Digest, Vol 8, Issue 8
> ************************************
> _______________________________________________
> Baruwa mailing list
> [email protected]
> http://lists.baruwa.org/mailman/listinfo/baruwa
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to