Andrew,
I changed my quarantine user to postfix and set debug to true in settings.py. 
This showed me the error about baruwa.celery_taskmeta missing. I ran the 
baruwa-admin migrate djcelery which fixed the sql error. Unfortunately, I did 
not see that suggestion from Mohammed on running this command. Now that the 
error is gone, I can click on Preview Message but the browser just sits and 
tries and tries but never displays the message contents. It just hangs with a 
message Waiting for ... at the bottom of the IE browser. Looks like I am close 
to getting it working.


Angelo Valbuena
________________________________________
From: [email protected] [[email protected]] on 
behalf of Andrew Colin Kissa [[email protected]]
Sent: Thursday, December 27, 2012 3:57 AM
To: Baruwa users list
Subject: Re: [Baruwa] Preview Message give http 500 error with apache2

On 26 Dec 2012, at 1:20 AM, Valbuena, Angelo wrote:

> MailCanner.conf settings
> Run As User = postfix
> Run As Group = celeryd
> Quarantine Dir = /var/spool/MailScanner/quarantine
> MTA = postfix
> Quarantine User = celeryd
> Quarantine Group = celeryd
> Quarantine Permissions = 0660
> Quarantine Whole Message = yes
> Quarantine Whole Messages As Queue Files = no

You should not be running mailscanner as the celery user, all you need is to 
set quarantine group to celeryd
for the celery user to be able to manage the quarantine

But that is not what is causing your issue. I suspect its because the hostname 
that your system returns
is not the hostname being logged to the DB.

To get to the bottom of the issue enable DEBUG in your settings.py and restart 
both apache and celeryd

You will get more detail from the logs then.

- Andrew

--
www.baruwa.org




_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to