Robert Lopez rlopezcnm at gmail.com
Fri Mar 22 22:19:03 GMT 2013


I am terribly wrong.
I have been able to prove to myself the configuration file
/etc/MailScanner/conf.d/CNM-MailScanner.conf is read and affects many
configuration parameters.

However this line:
%org-name% = CNM
does not take precedence over this line in
/etc/MailScanner/MailScanner.conf:
 %org-name% = unconfigured-debian-site
So all the places it should modify other configuration parameters they are
not modified.
When I look in the internet headers of email passed through I see lines
like these:
X-unconfigured-debian-site-MailScanner-From: xxxxxxxxxx at yyyyyyyy.zzzz
X-unconfigured-debian-site-MailScanner: Found to be clean
X-unconfigured-debian-site-MailScanner-ID: 7E9D75F8D.AA75F



On Fri, Mar 22, 2013 at 10:20 AM, Robert Lopez <rlopezcnm at gmail.com> wrote:

> Martin,
>
> I had done that. There are some "errors"; part related to the fact the
> local conf file is not loaded.
>
> The first error is
> ERROR: The "envelope_sender_header" in your spam.assassin.prefs.conf
> ERROR: is not correct, it should match
> X-unconfigured-debian-site-MailScanner-From
> and it is because the /etc/MailScanner/conf.d/CNM-MailScanner.conf file
> sets
> envelope_sender_header X-CNM-MailScanner-From
>
> The second error/warning is
> config: failed to parse line, skipping, in
> "/etc/MailScanner/spam.assassin.prefs.conf": use_auto_whitelist 0
> SpamAssassin reported an error.
> which I have never been able to understand, but is there because I want
> the whitelist off. Also
> I assume the "SpamAssassin reported an error" refers to the line above it.
>
> The result of the run is below.
>
>
>
> # MailScanner -debug --lint
> Trying to setlogsock(unix)
>
>
> Reading configuration file /etc/MailScanner/MailScanner.conf
> Reading configuration file /etc/MailScanner/conf.d/CNM-MailScanner.conf
> Read 869 hostnames from the phishing whitelist
> Read 5414 hostnames from the phishing blacklists
>
> Checking version numbers...
> Version number in MailScanner.conf (4.84.5) is correct.
>
> ERROR: The "envelope_sender_header" in your spam.assassin.prefs.conf
> ERROR: is not correct, it should match
> X-unconfigured-debian-site-MailScanner-From
>
> MailScanner setting GID to  (117)
> MailScanner setting UID to  (108)
>
> Checking for SpamAssassin errors (if you use it)...
> Using SpamAssassin results cache
> Connected to SpamAssassin cache database
> config: failed to parse line, skipping, in
> "/etc/MailScanner/spam.assassin.prefs.conf": use_auto_whitelist 0
> SpamAssassin reported an error.
> I have found clamd scanners installed, and will use them all by default.
> 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/
> 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.
>
>
>
>
>
> On Fri, Mar 22, 2013 at 5:43 AM, Martin Hepworth <maxsec at gmail.com> wrote:
>
>> run in debug mode and see if you've a problem with the info in the
>> include directory
>>
>> also try a "MailScanner --lint" as well.
>>
>> --
>> Martin Hepworth, CISSP
>> Oxford, UK
>>
>>
>> On 21 March 2013 23:48, Robert Lopez <rlopezcnm at gmail.com> wrote:
>>
>>> MailScanner version 4.84.5
>>>
>>> NAME="Ubuntu"
>>> VERSION="12.04.2 LTS, Precise Pangolin"
>>> ID=ubuntu
>>> ID_LIKE=debian
>>> PRETTY_NAME="Ubuntu precise (12.04.2 LTS)"
>>> VERSION_ID="12.04"
>>>
>>> None of the configuration parameters in
>>> /etc/MailScanner/conf.d/CNM-MailScanner.conf are incorporated.
>>> Last of /etc/MailScanner/MailScanner.conf still says:
>>>
>>> include /etc/MailScanner/conf.d/*
>>>
>>> For each startup log file says:
>>>
>>> Reading configuration file /etc/MailScanner/MailScanner.conf
>>> Reading configuration file /etc/MailScanner/conf.d/CNM-MailScanner.conf
>>>
>>> What have I done wrong?
>>>
>>> --
>>> Robert Lopez
>>> Unix Systems Administrator
>>> Central New Mexico Community College (CNM)
>>> 525 Buena Vista SE
>>> Albuquerque, New Mexico 87106
>>>
>>> --
>>> MailScanner mailing list
>>> mailscanner at lists.mailscanner.info
>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>
>>> Before posting, read http://wiki.mailscanner.info/posting
>>>
>>> Support MailScanner development - buy the book off the website!
>>>
>>>
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
>>
>
>
> --
> Robert Lopez
> Unix Systems Administrator
> Central New Mexico Community College (CNM)
> 525 Buena Vista SE
> Albuquerque, New Mexico 87106
>



-- 
Robert Lopez
Unix Systems Administrator
Central New Mexico Community College (CNM)
525 Buena Vista SE
Albuquerque, New Mexico 87106
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20130322/2b016f00/attachment.html 


More information about the MailScanner mailing list