MailScanner --lint %org-name% not importing

Eoin Kim Eoin.Kim at rcst.com.au
Sun Jul 24 23:10:28 UTC 2016


Hi,

I am not sure if it is the desired behaviour but my MailScanner doesn't import my configuration setting.

I made site-specific configuration file inside /etc/MailScanner/conf.d directory and inside that file I set %org-name%. However, when I run MailScanner --lint, I get this error:

***************************************************************
sysadmin at mail1.mynetwork.lab.int:~$ sudo MailScanner --lint
Trying to setlogsock(unix)

Reading configuration file /etc/MailScanner/MailScanner.conf
Reading configuration file /etc/MailScanner/conf.d/mynetwork.conf
Read 501 hostnames from the phishing whitelist
Read 15359 hostnames from the phishing blacklists
Config: calling custom init function SQLWhitelist
Starting up SQL Whitelist
Read 0 whitelist entries
Config: calling custom init function MailWatchLogging
Started SQL Logging child
Config: calling custom init function SQLBlacklist
Starting up SQL Blacklist
Read 0 blacklist entries

Checking version numbers...
Version number in MailScanner.conf (5.0.2) is correct.

ERROR: The "envelope_sender_header" in your spamassassin.conf
ERROR: is not correct, it should match X-yoursite-MailScanner-From

MailScanner setting GID to  (1001)
MailScanner setting UID to  (106)

Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
pyzor: check failed: internal error, python traceback seen in response
SpamAssassin reported no errors.
Auto: Found virus scanners: clamd
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 = 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:: 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.
Config: calling custom end function SQLWhitelist
Closing down SQL Whitelist
Config: calling custom end function MailWatchLogging
Config: calling custom end function SQLBlacklist
Closing down SQL Blacklist

***************************************************************

So, obviously it reads my site-specific configuration file but it keeps showing that error message regarding envelope_sender_header setting. When I change %org-name% in the /etc/MailScanner/MailScanner.conf file same as my site-specific setting, the error message goes away. I believe this is a bug? Or Am I doing something wrong? Thanks a lot.

Eoin Kim
Systems Administrator

RCS Telecommunications
Level 1, 133 Mary Street
Brisbane, QLD, 4000
Office: 07 3228 0843
Mobile: 0419 726 231
Email: eoin.kim at rcst.com.au<mailto:eoin.kim at rcst.com.au>

[RCST logo drop shadow]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20160724/be9b8a50/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3384 bytes
Desc: image001.jpg
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20160724/be9b8a50/attachment.jpg>


More information about the MailScanner mailing list