MailScanner Lint Error

Paul Scott sales at edenusa.com
Sun Aug 23 18:15:51 UTC 2020


Hello,

While trying to get this all working again, I decided to install MailWatch, and after a long and ardous installation process, finally got it to mostly work, but have found (using phpMyAdmin), that nothing is getting written to the database tables, and I cannot login to the MailWatch interface.  So there seems to be a MySQL database connection issue, but for the life of me, I cannot figure it out.

I tried running the upgrade.php script again to see if it would reveal anything, and here is the output:

[root at fs9 MailWatch-1.2.10]# php upgrade.php
Error: Database connection failed: it is possible that the database is overloaded or otherwise not running properly; contact the system administrator if the problem persists (dbconnecterror99_plain)

So, I checked the status, and it is running okay:

[root at fs9 MailWatch-1.2.10]# service mysqld status
mysqld (pid 12946) is running...

Tried restarting it, and then ran upgrade.php again, and received the same error.

Any ideas as to where I can start looking to get this working?  Thank you very much!

Sincerely,

[photo]
Paul Scott
Engineer, Eden USA, Incorporated
866.501.3336<tel:866.501.3336> | 951.505.6967<tel:951.505.6967> | sales at edenusa.com<mailto:sales at edenusa.com>
https://www.edenusa.com<https://www.edenusa.com/>



From: MailScanner <mailscanner-bounces+sales=edenusa.com at lists.mailscanner.info> On Behalf Of Shawn Iverson via MailScanner
Sent: Tuesday, August 11, 2020 2:30 AM
To: mailscanner at lists.mailscanner.info
Cc: Shawn Iverson <shawniverson at summitgrid.com>
Subject: Re: MailScanner Lint Error


Are you running sendmail? If so...
chkconfig sendmail off
chkconfig sm-client off
chkconfig ms-sendmail on
service ms-sendmail start

On 8/10/20 9:02 PM, Paul Scott wrote:
Oh, and the running OS is CentOS 6.  Sorry, I should have put that in the email.

Thank you!

[photo]
Paul Scott
Engineer, Eden USA, Incorporated
866.501.3336<tel:866.501.3336> | 951.505.6967<tel:951.505.6967> | sales at edenusa.com<mailto:sales at edenusa.com>
https://www.edenusa.com<https://www.edenusa.com/>



From: MailScanner <mailscanner-bounces+sales=edenusa.com at lists.mailscanner.info><mailto:mailscanner-bounces+sales=edenusa.com at lists.mailscanner.info> On Behalf Of L.P.H. van Belle via MailScanner
Sent: Monday, August 10, 2020 12:54 PM
To: mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>
Cc: L.P.H. van Belle <belle at bazuin.nl><mailto:belle at bazuin.nl>
Subject: Re: MailScanner Lint Error

I don't know your running os, but on debian, running su-update is done as the user running the service.

i suspect wrong rights somewhere.
i had it myself, also due running sa-update as root.

I hope it helps.

Greetz,
Louis

Op 10 aug. 2020 21:08 schreef Paul Scott <sales at edenusa.com<mailto:sales at edenusa.com>>:



Hello MailScanner folks and friends:



I continue to hammer away at trying to get MailScanner working again.  I managed to get the install to run without error, but I still do not see MailScanner actively processing any SPAM at all in the "maillog" log file.  It only shows its startup messages, and that's it.  The process ID remains running, but MailScanner is effectively dead (doesn't do any work).  I also did successfully use CPAN to upgrade Spam Assassin to the very latest version, just now.



[root at fs9 log]# spamassassin -V

SpamAssassin version 3.4.4

  running on Perl version 5.10.1

[root at fs9 log]#





After that, I tried MailScanner -lint, and had some issues, which I fixed, until I now have this result:



[root at fs9 ~]# MailScanner --lint

Trying to setlogsock(unix)



Reading configuration file /etc/MailScanner/MailScanner.conf

Reading configuration file /etc/MailScanner/conf.d/README

Read 1500 hostnames from the phishing whitelist

Read 7949 hostnames from the phishing blacklists



Checking version numbers...

Version number in MailScanner.conf (5.3.3) is correct.



Your envelope_sender_header in spamassassin.conf is correct.



Checking for SpamAssassin errors (if you use it)...

Using SpamAssassin results cache

Connected to SpamAssassin cache database

config: registryboundaries: no tlds defined, need to run sa-update

SpamAssassin reported no errors.

Auto: Found virus scanners: clamd

Using locktype = flock

MailScanner.conf says "Virus Scanners = auto"

Found these virus scanners installed: clamd

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

Filename Checks: Windows/DOS Executable (1 eicar.com)

Other Checks: Found 1 problems

Virus and Content Scanning: Starting

Clamd::INFECTED:: Win.Test.EICAR_HDB-1 :: ./1/eicar.com

Virus Scanning: Clamd found 2 infections

Infected message 1 came from 10.1.1.1

Virus Scanning: Found 2 viruses

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

Virus Scanner test reports:

Clamd said "eicar.com was infected: Win.Test.EICAR_HDB-1"



If any of your virus scanners (clamd)

are not listed there, you should check that they are installed correctly

and that MailScanner is finding them correctly via its virus.scanners.conf.



I don't know what this error means, or how to fix it-I did run "sa-update", and it did not fix it:

config: registryboundaries: no tlds defined, need to run sa-update



Can you please let me know how to fix this?





Also, of interest, I read in the spamassassin.conf that there is a Processing.db, that is in the /var/spool/MailScanner/incoming folder, and to clear it, you delete it, and it should be recreated when MailScanner is restarted, it will be recreated.  I tried that, but it did NOT get recreated, not sure why.  Any ideas?



The bottom line here is that MailScanner is not doing what it should be doing, and that is scanning incoming mail.  I am having a great deal of trouble figure this out.  Please help.  Thank you very much!



Sincerely,





Paul Scott
Engineer, Eden USA, Incorporated

866.501.3336 | 951.505.6967 | sales at edenusa.com<mailto:sales at edenusa.com>

https://www.edenusa.com















--
[http://mailserver.summitgrid.org/logo_text_sig.png]
Shawn Iverson
shawniverson at summitgrid.com<mailto:shawniverson at summitgrid.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20200823/5d64b455/attachment.html>


More information about the MailScanner mailing list