View Single Post
  #8  
Old 20th April 2011, 16:28
padonker padonker is offline
Member
 
Join Date: Apr 2009
Posts: 30
Thanks: 2
Thanked 1 Time in 1 Post
Default

Step MailScanner Startup Script:

After starting the system, these errors are found in mail.log
I have reread the howto a couple of times, but found nothing regarding these locations or access rights:

Apr 20 16:22:22 spamsnake MailScanner[14747]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Apr 20 16:22:22 spamsnake MailScanner[14747]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf
Apr 20 16:22:22 spamsnake MailScanner[14747]: Reading configuration file /opt/MailScanner/etc/conf.d/README
Apr 20 16:22:22 spamsnake MailScanner[14747]: Read 865 hostnames from the phishing whitelist
Apr 20 16:22:22 spamsnake MailScanner[14747]: Read 5278 hostnames from the phishing blacklists
Apr 20 16:22:22 spamsnake MailScanner[14747]: User's home directory /var/spool/postfix is not writable
Apr 20 16:22:22 spamsnake MailScanner[14747]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to
Apr 20 16:22:22 spamsnake MailScanner[14747]: Using SpamAssassin results cache
Apr 20 16:22:22 spamsnake MailScanner[14747]: Connected to SpamAssassin cache database
Apr 20 16:22:22 spamsnake MailScanner[14747]: Enabling SpamAssassin auto-whitelist functionality...
Apr 20 16:22:24 spamsnake MailScanner[14747]: Cannot read queue directory /var/spool/mqueue.in


=================

I've rebooted the sever, just in case, and emptied the mail.log to avoid confusion.
These are the logged messages from a fresh boot:

Apr 20 16:28:01 spamsnake dccifd[1237]: fopen(/var/run/dcc/dccifd.pid): No such file or directory
Apr 20 16:28:01 spamsnake dccifd[1237]: 1.3.130 listening to /var/lib/dcc/dccifd for ASCII protocol
Apr 20 16:28:04 spamsnake MailScanner[1275]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Apr 20 16:28:04 spamsnake MailScanner[1275]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf
Apr 20 16:28:04 spamsnake MailScanner[1275]: Reading configuration file /opt/MailScanner/etc/conf.d/README
Apr 20 16:28:04 spamsnake MailScanner[1275]: Read 865 hostnames from the phishing whitelist
Apr 20 16:28:05 spamsnake MailScanner[1275]: Read 5278 hostnames from the phishing blacklists
Apr 20 16:28:05 spamsnake MailScanner[1275]: User's home directory /var/spool/postfix is not writable
Apr 20 16:28:05 spamsnake MailScanner[1275]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to
Apr 20 16:28:05 spamsnake postfix/master[1359]: daemon started -- version 2.7.1, configuration /etc/postfix
Apr 20 16:28:05 spamsnake MailScanner[1275]: Using SpamAssassin results cache
Apr 20 16:28:05 spamsnake MailScanner[1275]: Connected to SpamAssassin cache database
Apr 20 16:28:05 spamsnake MailScanner[1275]: Enabling SpamAssassin auto-whitelist functionality...
Apr 20 16:28:08 spamsnake MailScanner[1275]: Cannot read queue directory /var/spool/mqueue.in
Apr 20 16:28:09 spamsnake MailScanner[1401]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Apr 20 16:28:09 spamsnake MailScanner[1401]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf
Apr 20 16:28:09 spamsnake MailScanner[1401]: Reading configuration file /opt/MailScanner/etc/conf.d/README
Apr 20 16:28:09 spamsnake MailScanner[1401]: Read 865 hostnames from the phishing whitelist
Apr 20 16:28:09 spamsnake MailScanner[1401]: Read 5278 hostnames from the phishing blacklists
Apr 20 16:28:09 spamsnake MailScanner[1401]: User's home directory /var/spool/postfix is not writable
Apr 20 16:28:09 spamsnake MailScanner[1401]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to
Apr 20 16:28:10 spamsnake MailScanner[1401]: Using SpamAssassin results cache
Apr 20 16:28:10 spamsnake MailScanner[1401]: Connected to SpamAssassin cache database
Apr 20 16:28:10 spamsnake MailScanner[1401]: Enabling SpamAssassin auto-whitelist functionality...
Apr 20 16:28:11 spamsnake MailScanner[1401]: Cannot read queue directory /var/spool/mqueue.in
Apr 20 16:28:14 spamsnake MailScanner[1405]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Apr 20 16:28:14 spamsnake MailScanner[1405]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf
Apr 20 16:28:14 spamsnake MailScanner[1405]: Reading configuration file /opt/MailScanner/etc/conf.d/README
Apr 20 16:28:14 spamsnake MailScanner[1405]: Read 865 hostnames from the phishing whitelist
Apr 20 16:28:14 spamsnake MailScanner[1405]: Read 5278 hostnames from the phishing blacklists
Apr 20 16:28:14 spamsnake MailScanner[1405]: User's home directory /var/spool/postfix is not writable
Apr 20 16:28:14 spamsnake MailScanner[1405]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to
Apr 20 16:28:15 spamsnake MailScanner[1405]: Using SpamAssassin results cache
Apr 20 16:28:15 spamsnake MailScanner[1405]: Connected to SpamAssassin cache database
Apr 20 16:28:15 spamsnake MailScanner[1405]: Enabling SpamAssassin auto-whitelist functionality...
Apr 20 16:28:17 spamsnake MailScanner[1405]: Cannot read queue directory /var/spool/mqueue.in
Apr 20 16:28:19 spamsnake MailScanner[1413]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Apr 20 16:28:19 spamsnake MailScanner[1413]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf
Apr 20 16:28:19 spamsnake MailScanner[1413]: Reading configuration file /opt/MailScanner/etc/conf.d/README
Apr 20 16:28:20 spamsnake MailScanner[1413]: Read 865 hostnames from the phishing whitelist
Apr 20 16:28:20 spamsnake MailScanner[1413]: Read 5278 hostnames from the phishing blacklists
Apr 20 16:28:20 spamsnake MailScanner[1413]: User's home directory /var/spool/postfix is not writable
Apr 20 16:28:20 spamsnake MailScanner[1413]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to
Apr 20 16:28:20 spamsnake MailScanner[1413]: Using SpamAssassin results cache
Apr 20 16:28:20 spamsnake MailScanner[1413]: Connected to SpamAssassin cache database
Apr 20 16:28:20 spamsnake MailScanner[1413]: Enabling SpamAssassin auto-whitelist functionality...
Apr 20 16:28:22 spamsnake MailScanner[1413]: Cannot read queue directory /var/spool/mqueue.in
Apr 20 16:28:24 spamsnake MailScanner[1447]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Apr 20 16:28:24 spamsnake MailScanner[1447]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf
Apr 20 16:28:24 spamsnake MailScanner[1447]: Reading configuration file /opt/MailScanner/etc/conf.d/README
Apr 20 16:28:24 spamsnake MailScanner[1447]: Read 865 hostnames from the phishing whitelist
Apr 20 16:28:24 spamsnake MailScanner[1447]: Read 5278 hostnames from the phishing blacklists
Apr 20 16:28:24 spamsnake MailScanner[1447]: User's home directory /var/spool/postfix is not writable
Apr 20 16:28:24 spamsnake MailScanner[1447]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to
Apr 20 16:28:25 spamsnake MailScanner[1447]: Using SpamAssassin results cache
Apr 20 16:28:25 spamsnake MailScanner[1447]: Connected to SpamAssassin cache database
Apr 20 16:28:25 spamsnake MailScanner[1447]: Enabling SpamAssassin auto-whitelist functionality...
Apr 20 16:28:26 spamsnake MailScanner[1447]: Cannot read queue directory /var/spool/mqueue.in

Last edited by padonker; 20th April 2011 at 16:31.
Reply With Quote