Mailscanner keeps starting and mail delivers, but Mailscanner not processing mail...

Chris Aitken chris at spandata.com.au
Fri Jul 7 01:20:06 IST 2006


Hi All,

I am running:

Fedora Core 4
MailScanner 4.54.6-1 (latest)
Sendmail 8.13.4


When I start mailscanner sendmail doesn't seem to start properly and
Mailscanner does not process any mail...

Sendmail still seems to deliver the mail though

I first thought it may be a permission issue on /var/spool/mqueue.in or
/var/spool/MailScanner but no combinations there seem to work

This is my output when I start mailscanner:

[root at gate ~]# service MailScanner start && tail -f /var/log/maillog
Starting MailScanner daemons:
:        incoming sendmail                                 [FAILED]
Invalid MTA in /etc/sysconfig/MailScanner
:        outgoing sendmail                                 [FAILED]
Invalid MTA in /etc/sysconfig/MailScanner
         MailScanner:                                      [  OK  ]
Jul  7 10:11:14 gate MailScanner[32316]: MailScanner E-Mail Virus
Scanner version 4.55.4 starting...
Jul  7 10:11:14 gate MailScanner[32316]: Read 755 hostnames from the
phishing whitelist
Jul  7 10:11:14 gate MailScanner[32316]: Config: calling custom init
function SQLBlacklist
Jul  7 10:11:14 gate MailScanner[32316]: Starting up SQL Blacklist
Jul  7 10:11:14 gate MailScanner[32316]: Read 4 blacklist entries
Jul  7 10:11:14 gate MailScanner[32316]: Config: calling custom init
function MailWatchLogging
Jul  7 10:11:14 gate MailScanner[32316]: Started SQL Logging child
Jul  7 10:11:14 gate MailScanner[32316]: Config: calling custom init
function SQLWhitelist
Jul  7 10:11:14 gate MailScanner[32316]: Starting up SQL Whitelist
Jul  7 10:11:14 gate MailScanner[32316]: Read 52 whitelist entries
Jul  7 10:11:15 gate MailScanner[32316]: Using SpamAssassin results
cache
Jul  7 10:11:15 gate MailScanner[32316]: Connected to SpamAssassin cache
database
Jul  7 10:11:15 gate MailScanner[32316]: Enabling SpamAssassin
auto-whitelist functionality...
Jul  7 10:11:17 gate MailScanner[32316]: Using locktype = posix
Jul  7 10:11:17 gate MailScanner[32316]: Creating hardcoded struct_flock
subroutine for linux (Linux-type)
Jul  7 10:11:25 gate MailScanner[32330]: MailScanner E-Mail Virus
Scanner version 4.55.4 starting...
Jul  7 10:11:25 gate MailScanner[32330]: Read 755 hostnames from the
phishing whitelist
Jul  7 10:11:25 gate MailScanner[32330]: Config: calling custom init
function SQLBlacklist
Jul  7 10:11:25 gate MailScanner[32330]: Starting up SQL Blacklist
Jul  7 10:11:25 gate MailScanner[32330]: Read 4 blacklist entries
Jul  7 10:11:25 gate MailScanner[32330]: Config: calling custom init
function MailWatchLogging
Jul  7 10:11:25 gate MailScanner[32330]: Started SQL Logging child
Jul  7 10:11:25 gate MailScanner[32330]: Config: calling custom init
function SQLWhitelist
Jul  7 10:11:25 gate MailScanner[32330]: Starting up SQL Whitelist
Jul  7 10:11:25 gate MailScanner[32330]: Read 52 whitelist entries
Jul  7 10:11:26 gate MailScanner[32330]: Using SpamAssassin results
cache
Jul  7 10:11:26 gate MailScanner[32330]: Connected to SpamAssassin cache
database
Jul  7 10:11:26 gate MailScanner[32330]: Enabling SpamAssassin
auto-whitelist functionality...


However if I statically set the MTA in the /etc/sysconfig/MailScanner
file I get the following errors:

[root at gate ~]# service MailScanner start && tail -f /var/log/maillog
Starting MailScanner daemons:
/): No such file or directory51 4.0.0 can not chdir(/var/spool/mqueue.in
                                                           [  OK  ]
         outgoing sendmail:                                [  OK  ]
         MailScanner:                                      [  OK  ]
Jul  7 10:14:34 gate sendmail[32598]: alias database /etc/aliases
rebuilt by root
Jul  7 10:14:34 gate sendmail[32598]: /etc/aliases: 76 aliases, longest
10 bytes, 765 bytes total
Jul  7 10:14:34 gate sendmail[32605]: NOQUEUE: SYSERR(root): can not
chdir(/var/spool/mqueue.in\r/): No such file or directory
Jul  7 10:14:34 gate sm-msp-queue[32609]: starting daemon (8.13.4):
queueing at 00:15:00
Jul  7 10:14:34 gate sendmail[32613]: starting daemon (8.13.4):
queueing at 00:15:00
Jul  7 10:14:36 gate MailScanner[32632]: MailScanner E-Mail Virus
Scanner version 4.55.4 starting...
Jul  7 10:14:36 gate MailScanner[32632]: Read 755 hostnames from the
phishing whitelist
Jul  7 10:14:36 gate MailScanner[32632]: Config: calling custom init
function SQLBlacklist
Jul  7 10:14:36 gate MailScanner[32632]: Starting up SQL Blacklist
Jul  7 10:14:36 gate MailScanner[32632]: Read 4 blacklist entries
Jul  7 10:14:36 gate MailScanner[32632]: Config: calling custom init
function MailWatchLogging
Jul  7 10:14:37 gate MailScanner[32632]: Started SQL Logging child
Jul  7 10:14:37 gate MailScanner[32632]: Config: calling custom init
function SQLWhitelist
Jul  7 10:14:37 gate MailScanner[32632]: Starting up SQL Whitelist
Jul  7 10:14:37 gate MailScanner[32632]: Read 52 whitelist entries
Jul  7 10:14:37 gate MailScanner[32632]: Using SpamAssassin results
cache
Jul  7 10:14:37 gate MailScanner[32632]: Connected to SpamAssassin cache
database
Jul  7 10:14:37 gate MailScanner[32632]: Enabling SpamAssassin
auto-whitelist functionality...
Jul  7 10:14:38 gate MailScanner[32640]: MailScanner E-Mail Virus
Scanner version 4.55.4 starting...
Jul  7 10:14:38 gate MailScanner[32640]: Read 755 hostnames from the
phishing whitelist
Jul  7 10:14:38 gate MailScanner[32640]: Config: calling custom init
function SQLBlacklist
Jul  7 10:14:38 gate MailScanner[32640]: Starting up SQL Blacklist
Jul  7 10:14:38 gate MailScanner[32640]: Read 4 blacklist entries
Jul  7 10:14:38 gate MailScanner[32640]: Config: calling custom init
function MailWatchLogging
Jul  7 10:14:39 gate MailScanner[32640]: Started SQL Logging child
Jul  7 10:14:39 gate MailScanner[32640]: Config: calling custom init
function SQLWhitelist
Jul  7 10:14:39 gate MailScanner[32640]: Starting up SQL Whitelist
Jul  7 10:14:39 gate MailScanner[32640]: Read 52 whitelist entries
Jul  7 10:14:39 gate MailScanner[32640]: Using SpamAssassin results
cache
Jul  7 10:14:39 gate MailScanner[32640]: Connected to SpamAssassin cache
database
Jul  7 10:14:39 gate MailScanner[32640]: Enabling SpamAssassin
auto-whitelist functionality...

Please help..
Thanks
Chris Aitken
chris at spandata.com.au
SPAN DATA
Australia


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20060707/06eb59b1/attachment.html


More information about the MailScanner mailing list