Fwd: SQLite and postfix...

Julian Field MailScanner at ecs.soton.ac.uk
Wed Feb 1 21:23:08 GMT 2006


Glenn Steen wrote:
> ---------- Forwarded message ----------
> From: Glenn Steen <glenn.steen at gmail.com>
> Date: 01-Feb-2006 18:23
> Subject: SQLite and postfix...
> To: MailScanner at lists.mailscanner.info
>
>
> Just a note, if this hasn't been covered already:
>
> Updated to the latest stable (4.50.14) on my prod machine running
> postfix...It's a Mdv 10.2, so I used that rpm method.
>
> Apparantly the SQLite db got created during install, with only user rw
> perms... and a "non-postfix" user. This made MailScanner loop during
> startup (all the children died immediately). Running --debug
> complained about line 172 in SA.pm, which happen to be an operation on
> the SQLite, so ... eventually led me right:-).
>
> Simple fix is to remove the file
> /var/spool/MailScanner/incoming/SpamAssassin.cache.db and do "service
> MailScanner restart" ... and a pristine file with the correect
> perms/owner get created. One could've just changed the owner, of
> course:-).
>
> Other than that, it looks to be _really_ nice... and fast.
The db file shouldn't be created by the installation. Are you sure you 
didn't run it at all before setting the Run As User?

Glad to hear it is faster :-)

-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list