Jason Ede | 1 Jul 2011 10:36
Picon

Configuring reports...

 

I’ve just had some reports through and in all of them it says that the report is from webmaster-bi+AKbBUZKZ7hyIHkqqPcw@public.gmane.orgxx.xxxx

 

Is there a way of changing this to the correct hostname of the machine or is it configured somewhere? I’ve looked through settings.py and it all looks to be configured correctly.

 

Also in the reports the address it gives is http://baruwa-alpha.local and I can’t see anywhere to configure this unless I’ve missed something as I thought I’d configured the hostname in settings.py

 

Jason

_______________________________________________
Baruwa mailing list
Baruwa@...
http://lists.baruwa.org/mailman/listinfo/baruwa
Andrew Colin Kissa | 1 Jul 2011 10:40
Gravatar

Re: Configuring reports...


On 01 Jul 2011, at 10:36 AM, Jason Ede wrote:

> I’ve just had some reports through and in all of them it says that the report is from webmaster@...
>  
> Is there a way of changing this to the correct hostname of the machine or is it configured somewhere? I’ve
looked through settings.py and it all looks to be configured correctly.

DEFAULT_FROM_EMAIL = 'email_address <at> domain_name'

It is commented at the moment, uncomment and set to the correct one.

>  
> Also in the reports the address it gives is http://baruwa-alpha.local and I can’t see anywhere to
configure this unless I’ve missed something as I thought I’d configured the hostname in settings.py

QUARANTINE_REPORT_HOSTURL = 'http://baruwa-alpha.local'

Change that to your hostname.

--
Baruwa - www.baruwa.org
Jason Ede | 1 Jul 2011 13:25
Picon

Re: Configuring reports...

Hi,

I had the  QUARANTINE_REPORT_HOSTURL specified but not the default_from_email...

Once I set the default_from it all started working thaks.

Jason

> -----Original Message-----
> From: baruwa-bounces@... [mailto:baruwa-
> bounces@...] On Behalf Of Andrew Colin Kissa
> Sent: 01 July 2011 09:40
> To: Baruwa users list
> Subject: Re: [Baruwa] Configuring reports...
> 
> 
> On 01 Jul 2011, at 10:36 AM, Jason Ede wrote:
> 
> > I've just had some reports through and in all of them it says that the report
> is from webmaster@...
> >
> > Is there a way of changing this to the correct hostname of the machine or is
> it configured somewhere? I've looked through settings.py and it all looks to
> be configured correctly.
> 
> DEFAULT_FROM_EMAIL = 'email_address <at> domain_name'
> 
> It is commented at the moment, uncomment and set to the correct one.
> 
> >
> > Also in the reports the address it gives is http://baruwa-alpha.local and I
> can't see anywhere to configure this unless I've missed something as I
> thought I'd configured the hostname in settings.py
> 
> QUARANTINE_REPORT_HOSTURL = 'http://baruwa-alpha.local'
> 
> Change that to your hostname.
> 
> --
> Baruwa - www.baruwa.org
> 
> _______________________________________________
> Baruwa mailing list
> Baruwa@...
> http://lists.baruwa.org/mailman/listinfo/baruwa
Jason Ede | 1 Jul 2011 13:37
Picon

backup database connection

 

In my mail logs I’m getting..

 

Baruwa SQL Backup conn init failure: unable to open database file

 

How is the backup SQL configured? Is it the same as for default, but just call it backup?

 

Jason

 

_______________________________________________
Baruwa mailing list
Baruwa@...
http://lists.baruwa.org/mailman/listinfo/baruwa
Andrew Colin Kissa | 1 Jul 2011 13:43
Gravatar

Re: backup database connection


On 01 Jul 2011, at 1:37 PM, Jason Ede wrote:

> Baruwa SQL Backup conn init failure: unable to open database file
>  
> How is the backup SQL configured? Is it the same as for default, but just call it backup?

The SQL backup is a sqlite DB, make sure the MailScanner process user can
write to /var/spool/MailScanner/incoming/baruwa2.db

--
Baruwa - www.baruwa.org
Jason Ede | 1 Jul 2011 13:58
Picon

Re: backup database connection

Hi,

I've just checked and the file was originally owned by root, but I've now changed it to be owned by the MS user.
Is this bit in the setup docs?

Jason

> -----Original Message-----
> From: baruwa-bounces@... [mailto:baruwa-
> bounces@...] On Behalf Of Andrew Colin Kissa
> Sent: 01 July 2011 12:43
> To: Baruwa users list
> Subject: Re: [Baruwa] backup database connection
> 
> 
> On 01 Jul 2011, at 1:37 PM, Jason Ede wrote:
> 
> > Baruwa SQL Backup conn init failure: unable to open database file
> >
> > How is the backup SQL configured? Is it the same as for default, but just
> call it backup?
> 
> The SQL backup is a sqlite DB, make sure the MailScanner process user can
> write to /var/spool/MailScanner/incoming/baruwa2.db
> 
> --
> Baruwa - www.baruwa.org
> 
> _______________________________________________
> Baruwa mailing list
> Baruwa@...
> http://lists.baruwa.org/mailman/listinfo/baruwa
Jason Ede | 1 Jul 2011 14:00
Picon

Re: backup database connection


It says in my maillogs now for an email...

C5E706E49D4.AA9E0:  Baruwa SQL using backup

It still appears in the web interface so it is being uploaded or is this always displayed if the database
isn't local?

Jason

> -----Original Message-----
> From: baruwa-bounces@... [mailto:baruwa-
> bounces@...] On Behalf Of Andrew Colin Kissa
> Sent: 01 July 2011 12:43
> To: Baruwa users list
> Subject: Re: [Baruwa] backup database connection
> 
> 
> On 01 Jul 2011, at 1:37 PM, Jason Ede wrote:
> 
> > Baruwa SQL Backup conn init failure: unable to open database file
> >
> > How is the backup SQL configured? Is it the same as for default, but just
> call it backup?
> 
> The SQL backup is a sqlite DB, make sure the MailScanner process user can
> write to /var/spool/MailScanner/incoming/baruwa2.db
> 
> --
> Baruwa - www.baruwa.org
> 
> _______________________________________________
> Baruwa mailing list
> Baruwa@...
> http://lists.baruwa.org/mailman/listinfo/baruwa
Andrew Colin Kissa | 1 Jul 2011 14:00
Gravatar

Re: backup database connection


On 01 Jul 2011, at 1:58 PM, Jason Ede wrote:

> I've just checked and the file was originally owned by root, but I've now changed it to be owned by the MS user.

You possibly ran your mailscanner as root when you initially installed baruwa.

> Is this bit in the setup docs?

There is no need as this should work transparently

--
Baruwa - www.baruwa.org
Andrew Colin Kissa | 1 Jul 2011 14:05
Gravatar

Re: backup database connection


On 01 Jul 2011, at 2:00 PM, Jason Ede wrote:

> It still appears in the web interface so it is being uploaded or is this always displayed if the database
isn't local?

There is a bug in Perl DBI which causes the return value of the insert to return an incorrect value, i think
it may be related to the fact that there are several handles available at the same time, its something that
i am looking into. 

--
Baruwa - www.baruwa.org
Johan Hendriks | 2 Jul 2011 10:28
Favicon

Save filter rules

Hello Andrew.

I did not use this before, so i do not know if it worked on previous 
versions for me, but saving filters does not work for me on baruwa 1.1.0
It shows processing , but there are no saved rules after that.

Systems FreeBSD 8.2-RELEASE and STABLE  and FreeBSD 9-CURRENT

regards,
Johan Hendriks

Gmane