Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have just installed postfix + spamassasin + mailscanner + clamav using this link on CentOS 5.7 on my test setup.
My MailScanner -lint shows
Code:
[root@box1 MailScanner]# MailScanner --lint
Trying to setlogsock(unix)
Reading configuration file /etc/MailScanner/MailScanner.conf
Reading configuration file /etc/MailScanner/conf.d/README
Read 867 hostnames from the phishing whitelist
Read 4252 hostnames from the phishing blacklists
Checking version numbers...
Version number in MailScanner.conf (4.84.3) is correct.
ERROR: The "envelope_sender_header" in your spam.assassin.prefs.conf
ERROR: is not correct, it should match X-HCL-MailScanner-From
MailScanner setting GID to (89)
MailScanner setting UID to (89)
Checking for SpamAssassin errors (if you use it)...
WARNING: You are trying to use the SpamAssassin cache but your DBI and/or DBD::SQLite Perl modules are not properly installed! at /usr/lib/MailScanner/MailScanner/SA.pm line 197
config: failed to parse line, skipping, in "/etc/mail/spamassassin/mailscanner.cf": use_auto_whitelist 0
SpamAssassin reported an error.
ERROR: Could not connect to SQLite database /var/spool/MailScanner/incoming/Processing.db, either I cannot write to that location or your SQLite installation is screwed. at /usr/sbin/MailScanner line 1763
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/
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.
[root@box1 MailScanner]#
The above output gives this warning and error
Quote:
Checking for SpamAssassin errors (if you use it)...
WARNING: You are trying to use the SpamAssassin cache but your DBI and/or DBD::SQLite Perl modules are not properly installed!
ERROR: Could not connect to SQLite database /var/spool/MailScanner/incoming/Processing.db
and /var/spool/MailScanner/incoming/Processing.db file is not present
Code:
[root@box1 ~]# ls -lrth /var/spool/MailScanner/incoming/Processing.db
ls: /var/spool/MailScanner/incoming/Processing.db: No such file or directory
Please suggest how to tackle this.
Also, MailScanner is not working as it should be. I tried blocking emails by size and password protected files, by below parameters, BUT it is not working. I am still getting emails.
Quote:
Maximum Attachment Size = 3000
Allow Password-Protected Archives = no
I had the same problem with vikas027 and the link lithos provided does not help.
Anyway, I did solve the problem.
Here I post the reason that anyone have come through this can figure out faster.
Actually, this is the problem of package dependency. I tried to install perl-DBD-SQLite.x86_64 1.29-2.el5.rfx without concerning its dependency requirement (perl-DBI 1.57 or above).
Centos repo only provide perl-DBI 1.52 package for x86_64 machines (at the time I post this message).
So you only need to download perl-DBI 1.57 or above from any repo and install it(as my case, I got 1.616 from pkgs.repoforge.org/perl-DBI/).
I had the same problem with vikas027 and the link lithos provided does not help.
Anyway, I did solve the problem.
Here I post the reason that anyone have come through this can figure out faster.
Actually, this is the problem of package dependency. I tried to install perl-DBD-SQLite.x86_64 1.29-2.el5.rfx without concerning its dependency requirement (perl-DBI 1.57 or above).
Centos repo only provide perl-DBI 1.52 package for x86_64 machines (at the time I post this message).
So you only need to download perl-DBI 1.57 or above from any repo and install it(as my case, I got 1.616 from pkgs.repoforge.org/perl-DBI/).
Hope this help and sorry for my poor English.
Many thanks for posting this. I did installed all packages with all dependencies.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.