Hi,

On Wed, Jul 20, 2011 at 6:09 PM, Andrew Colin Kissa
<[email protected]> wrote:
>
> On 20 Jul 2011, at 5:57 PM, Mikael Syska wrote:
>
>> I have a "domain admin" with a few domains now. The problem is that in
>> the "messages" tab, the user can see all domains. Also under reports,
>> am I missing something ?
>>
>
> I suspect you have the super user flag set for that user.

No, if i set the "Superuser flag" the option for adding domains
disapear. So that can't be the error anymore :-).

Haha, just for the fun of it ... I logged out of the "Domain admin"
and logged in again ... and now it works :-S

Using "Internet Explorer" for the "admin" account and "chrome" for the
user account, so I havent even thought about logging out to see if
that was the problem. Are there some kind og session cache that only
gets reloaded when the user logs in ?

>
>> When editing a domain that a user owns, sometimes I see this in my log
>> ... maybe related?
>> [Wed Jul 20 17:25:12 2011] [error] [client xxx] mod_wsgi (pid=42034):
>> Exception occurred processing WSGI script
>> '/usr/local/www/baruwa/baruwa.wsgi'., referer:
>> http://domain.tld/accounts/user/3/
>> [Wed Jul 20 17:25:12 2011] [error] [client xxx] IOError: failed to
>> write data, referer: http://domain.tld/accounts/user/3/
>
> This IO error should be because PYTHON_EGG_CACHE is not
> writeable, but that can not cause the above.

Ahhh, I see ... but why? Does it use the /tmp or something ? Should I
worry about the error ?
>
>>
>> How can I debug this ... debug is turned on in settings.py:
>> DEBUG = True
>> TEMPLATE_DEBUG = DEBUG
>
> You have to run the server via the manage command instead of wsgi

I will try that later.
>
>>
>> When running:
>> manage.py updatesarules
>> I get a exception that the data will be truncated I expanded the 2
>> columns in the sa_rules table to:
>> varchar(50)
>> and
>> varchar(500)
>
> What kind of rules do you have ? I have never seen a spamassassin
> rule name that is > 25 characters

I have 4 rules:

rule  - LENGTH(rule)
HS_SUBJ_ONLINE_PHARMACEUTICAL 29
SHORT_HELO_AND_INLINE_IMAGE 27
FREEMAIL_REPLYTO_END_DIGIT 26
FREEMAIL_ENVFROM_END_DIGIT 26

I think the above are in the standard rules now.

>
> --
> Baruwa - www.baruwa.org
>
> _______________________________________________
> Baruwa mailing list
> [email protected]
> http://lists.baruwa.org/mailman/listinfo/baruwa
> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to