MailScanner --lint %org-name% not importing

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


Hello Jerry,

Sorry but I don't understand what you said. Such a tiny information to me. I have spamassassin.conf file in /etc/MailScanner directory which is linked to /etc/spamassassin/MailScanner.cf file. So, if I change spamassassin.conf file, it should just work, correct?

Eoin

-----Original Message-----
From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of Jerry Benton
Sent: Monday, 25 July 2016 9:14 AM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Subject: Re: MailScanner --lint %org-name% not importing

The files in /conf.d have no impact on spamassassin.conf. You need to edit that file.


-
Jerry Benton
www.mailborder.com
+1 - 844-436-6245


-----Original Message-----
From: Eoin Kim <eoin.kim at rcst.com.au>
Reply: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Date: July 24, 2016 at 7:10:54 PM
To: mailscanner at lists.mailscanner.info <mailscanner at lists.mailscanner.info>
Subject:  MailScanner --lint %org-name% not importing

> 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
>
> [RCST logo drop shadow]
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
>
>


--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/listinfo/mailscanner





More information about the MailScanner mailing list