MailScanner takes a very long time to initialize
Rick Wezenaar
rick at wezenaar.org
Thu Aug 29 09:54:45 UTC 2024
L.S.,
Whenever I start MailScanner it takes a very long time to initialize. I
can see it does some initial checks, like a lintlite and ms-peek to all
work directories, but that takes a very long time, on average 8 minutes:
$> time systemctl start mailscanner
systemctl start mailscanner 0.01s user 0.02s system 0% cpu 8:47.38 total
In my humble opinion, this is not normal. Can anyone help ?
Here's some extra info:
$> MailScanner --lint
Trying to setlogsock(unix)
Reading configuration file /etc/MailScanner/MailScanner.conf
Reading configuration file /etc/MailScanner/conf.d/README
Reading configuration file /etc/MailScanner/conf.d/my-settings.conf
Configuration: Seen configuration file /etc/MailScanner/conf.d/README
before, skipping. at /usr/share/MailScanner/perl/MailScanner/Config.pm
line 2024.
Configuration: Seen configuration file
/etc/MailScanner/conf.d/my-settings.conf before, skipping. at
/usr/share/MailScanner/perl/MailScanner/Config.pm line 2024.
Read 1494 hostnames from the phishing whitelist
Read 53430 hostnames from the phishing blacklists
Checking version numbers...
Version number in MailScanner.conf (5.5.1) 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
deprecated method; size() is an alias of "UDPsize()" at
/usr/local/share/perl5/5.32/Mail/SpamAssassin/DnsResolver.pm line 600.
SpamAssassin reported no errors.
Connected to Processing Attempts Database
Created Processing Attempts Database successfully
There are 0 messages in the Processing Attempts Database
Using locktype = posix
MailScanner.conf says "Virus Scanners = clamd"
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:: Eicar-Test-Signature :: ./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: Eicar-Test-Signature"
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.
System:
OS: Red Hat Enterprise Linux 9.4 (Plow) x86_64
Host: CloudStack KVM Hypervisor pc-i440fx-2.5
Kernel: 5.14.0-427.33.1.el9_4.x86_64
CPU: Intel Xeon E312xx (Sandy Bridge) (8) @ 2.199GHz
Memory: 3821MiB / 7684MiB
If you need more information, pls let me know.
Cheers,
Rick
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20240829/e31dcb38/attachment.html>
More information about the MailScanner
mailing list