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

Chris Aitken chris at spandata.com.au
Sat Jul 8 02:58:07 IST 2006


Hi Denis,
 
Thanks for that, it seemed to resolve the errors. However Mailscanner still seems to keep restarting and is not processing mail.  Could there be another files that is still in DOS format?
 
Chris

________________________________

From: mailscanner-bounces at lists.mailscanner.info on behalf of Denis Beauchemin
Sent: Sat 8/07/2006 12:03 AM
To: MailScanner discussion
Subject: Re: Mailscanner keeps starting and mail delivers, but Mailscanner not processing mail...



Chris,

Could you have modified MailScanner.conf or /etc/sysconfig/MailScanner
on a Windows machine and then sent it back on your Fedora box? If so,
convert the file back to *NIX format with dos2unix. Your file may have
DOS line ends which may confuse MS...

Denis
Chris Aitken a écrit :
>
> 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***
>


--
   _
  °v°   Denis Beauchemin, analyste
 /(_)\  Université de Sherbrooke, S.T.I.
  ^ ^   T: 819.821.8000x2252 F: 819.821.8045





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

-------------- next part --------------
Hi Denis,
 
Thanks for that, it seemed to resolve the errors. However Mailscanner still seems to keep restarting and is not processing mail.  Could there be another files that is still in DOS format?
 
Chris

________________________________

From: mailscanner-bounces at lists.mailscanner.info on behalf of Denis Beauchemin
Sent: Sat 8/07/2006 12:03 AM
To: MailScanner discussion
Subject: Re: Mailscanner keeps starting and mail delivers, but Mailscanner not processing mail...



Chris,

Could you have modified MailScanner.conf or /etc/sysconfig/MailScanner
on a Windows machine and then sent it back on your Fedora box? If so,
convert the file back to *NIX format with dos2unix. Your file may have
DOS line ends which may confuse MS...

Denis
Chris Aitken a écrit :
>
> 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***
>


--
   _
  °v°   Denis Beauchemin, analyste
 /(_)\  Université de Sherbrooke, S.T.I.
  ^ ^   T: 819.821.8000x2252 F: 819.821.8045





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



More information about the MailScanner mailing list