Debugging & SA.pm
Julian Field
MailScanner at ecs.soton.ac.uk
Fri Feb 17 16:43:53 GMT 2006
Glenn Steen wrote:
> On 09/02/06, Jeff Davis <jeff at dynamictelecard.com> wrote:
>
>> I've narrowed my problem.
>> Everything including mailwatch works fine except
>> when I have Use Spamassassin = yes
>> Then the messages just sit in the hold queue.
>>
>> I tried turnning on debugging in MailScanner.conf
>> and I see this when I restart.
>> Is this a db permissions problem? (That line has a CREATE TABLE statement.)
>>
>>
>> Starting MailScanner daemons:
>> incoming postfix: [ OK ]
>> outgoing postfix: [ OK ]
>> MailScanner: In Debugging mode, not forking...
>> Can't call method "do" on an undefined value at
>> /usr/lib/MailScanner/MailScanner/SA.pm line 172.
>> [ OK ]
>>
>
> Yes, very likely. Your Run As user/group need be able to create the
> SQLite SA cache db-file in /var/spool/MailScanner/incoming. If you
> have upgraded, you might have done the same type of no-no I did....
> Which is to say that I ran MailScanner --lint _before_ I had run the
> upgrade_MailScanner_conf ... The configuration had a spurious line in
> it that resulted in the lint running as root, creating the spam cache
> db with root privs ... which postfix (of course) couldn't live
> with:-). If this is is, you need remove that file, then try start
> MailScanner again.
>
Make sure you have the very latest version and have done an
upgrade_MailScanner_conf. In the previous release there was a bug in the
default setting of the cache database which was used if you hadn't done
an upgrade_MailScanner_conf.
--
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