Hi

On 04 Apr 2011, at 11:21 PM, Alessandro Dentella wrote:

> I'd be willing to provide the italian localization if no one else have
> volonteered.

That would be great.

> 
> I have installed it on squeeze from a .deb package.
> 
> Now some questions/notes:
> 
> 0. the debian package seems to miss the python-celery dependancy that is
>   required by settings.py. "pip install" followed by "dpkg-reconfigure
>   baruwa" did the trick, no package is available so that configuration
>   cannot work right away.

python-celery is only required by the 1.1.x branch which has not been 
released yet that is why the debian buildkit has not yet been updated.
1.0.x should not require python-celery which deb did you use i hope
the 1.1.x tree did not pollinate the 1.0.x tree.

> 
> 1. Is there any technical reason why mysql is the default choice? I'd
>   really would prefere PostgreSQL and django should work with both. As
>   far as the CustomFunctions I think it would be easy to create a pg
>   version, I can provide it if needed.

Thats correct, it is possible to use pgsql, this is already implemented for
the 2.x branch. It should be as easy as using the correct DBI interface,
if we start using the configuration options from Mailscanners SQLConfig
it makes it much more portable.

> 
> 2. I don't personally like to set host/user/pass in the CustomFunctions. I
>   consider them as code provided by Baruwa and they should be upgradable
>   without problems. They live in /etc/MailScanner, they are indeed a
>   configuration for MailScanner, but they are code for baruwa... 
>   In addition, the same configuration is repeated 3 times in 3 files,
>   that is not very DRY.

Correct, my proposal going forward is to use the DBI settings in 
Mailscanner.conf
(the SQLConfig ones)

>   I propose to set configuration in another file and read that file from
>   these 3 files. Ideally that should be settings.py...
>   I the MW configuration I used to have a db.ini file and both
>   settings.py and *.pm read they're conf from that file. 
>   I can provide the patch if you like the idea.

This is what i had in mind 
http://lists.baruwa.org/pipermail/baruwa/2011-February/000465.html
but that would still mean some duplication but just in two places settings.py
and mailscanner.conf but am open to discussion on the merits of your suggestion.

> 
> thanks again for baruwa

You are welcome.

--
Baruwa - www.baruwa.org

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

Reply via email to