LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-14-2018, 03:02 AM   #1
Kitlhk
LQ Newbie
 
Registered: Aug 2018
Posts: 2

Rep: Reputation: Disabled
Mailscanner and mailwatch - not scanning spam mail


Hello.

I have configures new linux for mailscanner (Centos 7.3 + sendmail + mailscanner + clamav + mailwatch +PHP + mariaDB(mysql).)
The mailscanner act as a incoming gateway to scan spam mail before deliver to our company's email server.

All installation and setting is done on this mailscanner server.
Problems:
1. Mailscanner can start, but in fact it let all emails (including spam mail pass and )

2. Mailwatch "Recent Message" webpage is showing white (no email record)


I have searched in Google but with no luck.

Here is the result by running the on the MailScanner --lint mailscanner server:
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 15515 hostnames from the phishing blacklists
Config: calling custom init function MailWatchLogging
MailWatch: Started MailWatch SQL Logging child

Checking version numbers...
Version number in MailScanner.conf (5.0.7) 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
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 = clamav"
Found these virus scanners installed: clamav
===========================================================================
Filename Checks: Windows/DOS Executable (1 eicar.com)
Other Checks: Found 1 problems
Virus and Content Scanning: Starting
./1/eicar.com: Eicar-Test-Signature FOUND

Virus Scanning: ClamAV found 2 infections
Infected message 1 came from 10.1.1.1
Virus Scanning: Found 2 viruses
===========================================================================
Virus Scanner test reports:
ClamAV said "eicar.com contains Eicar-Test-Signature"

If any of your virus scanners (clamav)
are not listed there, you should check that they are installed correctly
and that MailScanner is finding them correctly via its virus.scanners.conf.
Config: calling custom end function MailWatchLogging
[root@mailscanner /]
 
Old 08-14-2018, 11:23 AM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,728

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
I find a 400 page manual for mailscanner (!)

You don't mention SpamAssassin. Spam trapping would depend upon your spamassassin configuration.
Review the instructions for that in the mailscanner manual and/or man spamassassin to be sure it's configured as you need it to be.

Note this comment on the download page:
Quote:
– Red Hat / CentOS
– Debian / Ubuntu
– SuSE
– Tarball for BSD / Other Linux / Other Unix
Each of the packages above is a compressed tar file. Download it, unpack it and run the install.sh script in it.
Warning: Not using the install script will more than likely leave you with an incomplete or broken installation.

Last edited by scasey; 08-14-2018 at 12:11 PM.
 
1 members found this post helpful.
Old 08-24-2018, 05:29 AM   #3
Kitlhk
LQ Newbie
 
Registered: Aug 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for providing help.

Finally I follow the guide in the MailScanner site below:
https://www.mailscanner.info/sendmail/

And the issue is resolved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MailWatch and Mailscanner not logging in MySQL branko77 Linux - Software 0 12-16-2016 04:54 PM
Scanning outgoing mail via exim for spam systemlordanubis Linux - Server 3 07-30-2015 06:47 PM
Mailscanner not scanning mails properly in centos SarahGurung Linux - Server 3 07-21-2014 10:20 AM
how to see incoming and outgoing mail from mailwatch centos123 Linux - Server 0 05-04-2011 02:37 AM
LXer: Virtual Users And Domains With Postfix, MailScanner, Mailwatch & MySQL On CentO LXer Syndicated Linux News 0 03-09-2008 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration