View Single Post
  #3  
Old 1st June 2008, 18:14
hvrossum hvrossum is offline
Member
 
Join Date: Dec 2007
Posts: 66
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Hi Rocky,

I tried the chown commands

I get two error messages

chown -R postfix:www-data /var/lock/subsys/MailScanner
chown: cannot access `/var/lock/subsys/MailScanner': No such file or directory
(I changed the capital letters of MailScanner to small, that did work)

chown -R postfix:www-data /var/run/MailScanner
chown: cannot access `/var/run/MailScanner': No such file or directory
(Which is correct because does not exist)


When I restart I get the following error
root@mussorubuntu:/home/harry# /etc/init.d/mailscanner restart
* Restarting mail spam/virus scanner MailScanner Could not read directory /var/lock/subsys/MailScanner at /usr/share/MailScanner//MailScanner/Config.pm line 2488
Error in configuration file line 2559, directory /var/lock/subsys/MailScanner for lockfiledir does not exist (or is not readable) at /usr/share/MailScanner//MailScanner/Config.pm line 2812

The list of errors gets smaller

Jun 1 17:13:40 mussorubuntu MailScanner[11167]: SpamAssassin temporary working directory is /var/spool/MailScanner/incoming/SpamAssassin-Temp
Jun 1 17:13:40 mussorubuntu MailScanner[11167]: Using SpamAssassin results cache
Jun 1 17:13:40 mussorubuntu MailScanner[11167]: Connected to SpamAssassin cache database
Jun 1 17:13:40 mussorubuntu MailScanner[11167]: Enabling SpamAssassin auto-whitelist functionality...
Jun 1 17:13:44 mussorubuntu MailScanner[11167]: /var/spool/mqueue is not owned by user 108 !
Jun 1 17:13:44 mussorubuntu MailScanner[11172]: MailScanner E-Mail Virus Scanner version 4.68.8 starting...
Jun 1 17:13:44 mussorubuntu MailScanner[11172]: Could not read directory /var/lock/subsys/MailScanner
Jun 1 17:13:45 mussorubuntu MailScanner[11172]: Error in configuration file line 2559, directory /var/lock/subsys/MailScanner for lockfiledir does not exist (or is not readable)

Thanks so far

I Have Postfix As User and Group in MailScanner.conf

Harry
__________________
I am stil a Linux amateur, never thought that a sales person would like fiddling around with Linux.

Setup:
Dell Power Edge SC440
Ubuntu 8.04
ISPConfig
Webmin 1.420

Last edited by hvrossum; 1st June 2008 at 18:23.
Reply With Quote