v4.85.1.0 Beta for Linux RPM Available

Randal, Phil phil.randal at hoopleltd.co.uk
Wed Feb 18 15:19:56 GMT 2015


To expand on that:

1: each child has a full copy of the ClamAV database - that makes MailScanner children real memory hogs

2: each child has to load that DB on startup - which adds to server load and slows down throughput

3: weren't there issues with Mail::ClamAV and later versions of ClamAV, anyhow? See https://rt.cpan.org/Public/Bug/Display.html?id=96876

Cheers,

Phil

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Glenn Steen
Sent: 18 February 2015 14:41
To: MailScanner discussion
Subject: Re: v4.85.1.0 Beta for Linux RPM Available

Actually, it could. The way it sucks up resources, it really should not only be deprecated, but removed entirely. Loading a fat copy of the sigs into every MailWScanner child was OK when the sigs were relatively few, but ... these days, the only sane way to use clamav is via clamd.

Cheers!
--
-- Glenn

On 18 February 2015 at 14:13, Jerry Benton <jerry.benton at mailborder.com> wrote:
> Phil,
>
> I agree, but someone else may not. It doesn’t hurt to have the module available.
>
> -
> Jerry Benton
> www.mailborder.com
>
>
>
>> On Feb 18, 2015, at 7:35 AM, Randal, Phil <phil.randal at hoopleltd.co.uk> wrote:
>>
>> Mail::Clamav should be sent to the great bit bucket in the sky.
>>
>> If ClamAV is selected during install, clamd and clamav should be installed with a note to the user to configure MailScanner to use clamd.
>>
>> Cheers,
>>
>> Phil
>>
>>
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info 
>> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of 
>> Jerry Benton
>> Sent: 16 February 2015 21:24
>> To: MailScanner discussion
>> Subject: Re: v4.85.1.0 Beta for Linux RPM Available
>>
>> Thanks for the feedback.
>>
>> - DFOPTION - fixed that.
>> - Mail::ClamAV is not a MailScanner dependency, but the script attempts to install it if you elect to install Clam AV. There is no RPM package for it.
>> - I will add the bzip2-devel to the base packages.
>> - I can look at what I can do with the default Y option. It is not as easy or straight forward as it seems.
>> - I will check check the phishing.bad.sites.conf issue, but it did install during the tests I did.
>> - You are missing /var/spool/mqueue because either you did not install an MTA or you did not configure MailScanner.conf to use your MTA. The script does not install an MTA for you or setup MailScanner.conf. If you installed sendmail, you wouldn’t get the errors because the defaults in MailScanner.conf are for sendmail.
>> - The unrar package is not a dependency.
>> - the mailscanner.cf is a soft link created in the /etc/mail/spamassassin directory to the spam.assassin.prefs.conf file in /etc/MailScanner. If you did not elect to install spamassassin the link won’t be created.
>>
>>
>> Thanks for testing it out.
>>
>>
>> -
>> Jerry Benton
>> www.mailborder.com
>>
>>
>>
>>> On Feb 16, 2015, at 12:23 PM, Christophe GRENIER <grenier at cgsecurity.org> wrote:
>>>
>>> On Sun, 15 Feb 2015, Jerry Benton wrote:
>>>
>>>> After an absurd amount of face-palming over two weeks:
>>>>
>>>> https://s3.amazonaws.com/mailscanner/MailScanner-4.85.1-0.rpm.tar.g
>>>> z
>>>>
>>>> Note: This is beta! If you install on on a production box, that’s on you.
>>>
>>> Hi
>>>
>>> I have tested the install script on CentOS 6.
>>>
>>> Here are my results:
>>> - DFOPTION variable is undefined on non CentOS 7
>>> ./install.sh: line 409: [: ==: unary operator expected
>>>
>>> - For RHEL 6 the dependencies are NOT fulfilled 100% by yum even if you elect to use EPEL:
>>> File::ShareDir::Install is missing. Installing via CPAN ...
>>> Mail::ClamAV is missing. Installing via CPAN ...
>>>
>>> - bzip2-devel need to be installed otherwise Mail::ClamAV failed to be compiled:
>>> ...
>>> /usr/bin/ld: cannot find -lbz2
>>> collect2: ld returned 1 exit status
>>> make[1]: *** [blib/arch/auto/Mail/ClamAV/ClamAV.so] Error 1
>>> make[1]: Leaving directory
>>> `/root/.cpan/build/Mail-ClamAV-0.29-JoeFgy/_Inline/build/Mail/ClamAV'
>>>
>>> - IMOO answers should default to recommanded values (Y instead of N).
>>>
>>> - After rerunning the install script, 
>>> /etc/MailScanner/phishing.bad.sites.conf is missing (renamed as .old):
>>> MailScanner --lint
>>>
>>> Could not read file /etc/MailScanner/phishing.bad.sites.conf at 
>>> /usr/lib/MailScanner/MailScanner/Config.pm line 2864 Error in line 
>>> 990, file "/etc/MailScanner/phishing.bad.sites.conf" for 
>>> phishingblacklist does not exist (or can not be read) at 
>>> /usr/lib/MailScanner/MailScanner/Config.pm line 3066
>>>
>>> - Some configurations is needed (I am using postfix), you may want 
>>> to add it in QuickInstall.txt:
>>>
>>> Could not read directory /var/spool/mqueue at 
>>> /usr/lib/MailScanner/MailScanner/Config.pm line 2874 Error in 
>>> configuration file line 169, directory /var/spool/mqueue for 
>>> outqueuedir does not exist (or is not readable) at 
>>> /usr/lib/MailScanner/MailScanner/Config.pm line 3238 Read 868 
>>> hostnames from the phishing whitelist
>>>
>>> - Unrar is not installed, it should be in /usr/bin/unrar.
>>> This is required for RAR archives to be read to check filenames and 
>>> filetypes. Virus scanning is not affected.
>>>
>>> Two possibilities: switch to internal unrar or install it...
>>>
>>> - config: failed to parse line, skipping, in
>>> "/etc/mail/spamassassin/mailscanner.cf": use_auto_whitelist 0
>>>
>>> I haven't test this version of MailScanner for the moment, only the install script.
>>>
>>> Thanks for your work
>>>
>>> Regards,
>>>
>>>      Christophe
>>>
>>> --
>>>  ,-~~-.___.     ._.
>>> / |  '     \    | |--------.   Christophe GRENIER
>>> (  )         0   | |        | grenier at cgsecurity.org
>>> \_/-, ,----'    | |        |
>>>    ====         !_!-v---v--.
>>>    /  \-'~;      .--------.   TestDisk & PhotoRec
>>>   /  __/~| ._-""||        |   Data Recovery
>>> =(  _____|_|____||________|   http://www.cgsecurity.org--
>>> 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!
>> Hoople Ltd, Registered in England and Wales No. 7556595 Registered 
>> office: Plough Lane, Hereford, HR4 0LE
>>
>> "Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it."
>> --
>> 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!



--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
--
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! 


More information about the MailScanner mailing list