MailScanner v5.0.2-1 released

Jerry Benton jerry.benton at mailborder.com
Mon May 30 11:12:11 UTC 2016


Another option … use CentOS 6. RHEL5 is pretty damn old now. 

-
Jerry Benton
www.mailborder.com



> On May 30, 2016, at 7:11 AM, Jerry Benton <jerry.benton at mailborder.com> wrote:
> 
> perl -MCPAN -e "CPAN::Shell->force(qw(install perl-Compress-Raw-Zlib ));”
> 
> will install the latest from CPAN.
> 
> -
> Jerry Benton
> www.mailborder.com
> 
> 
> 
>> On May 30, 2016, at 7:07 AM, Remco Barendse <mailscanner at barendse.to> wrote:
>> 
>> 
>> 
>> On Mon, 30 May 2016, Jerry Benton wrote:
>> 
>>> You know these are not MailScanner generated errors, right ? MailScanner does not require a specific version of that module. Your perl installation is barfing over conflicts.
>> 
>> 
>> If honestly, no I did not.  Perl and MS were working fine before the upgrade :(
>> 
>> Any suggestions how I can resolve the dependancy hell?
>> 
>>> 
>>> -
>>> Jerry Benton
>>> www.mailborder.com
>>> 
>>> 
>>> 
>>>> On May 30, 2016, at 6:57 AM, Remco Barendse <mailscanner at barendse.to> wrote:
>>>> 
>>>> Yes, sir!
>>>> 
>>>> I removed the rpm and re-ran the installer script :
>>>> 
>>>> Dependencies Resolved
>>>> 
>>>> ================================================================================
>>>> Package                      Arch         Version             Repository Size
>>>> ================================================================================
>>>> Installing:
>>>> perl-Compress-Raw-Zlib       x86_64       2.020-1.el5         epel 57 k
>>>> 
>>>> 
>>>> Looks like there is no newer perl-Compress-Raw-Zlib available for RHEL5 on epel or rpmforge
>>>> 
>>>> Looking at the errors, there is more trouble on the road ahead :
>>>> 
>>>> [root at linuxgw MailScanner-5.0.2-1]# MailScanner
>>>> Compress::Raw::Zlib version 2.069 required--this is only version 2.02 at /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11.
>>>> BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11.
>>>> Compilation failed in require at /usr/share/MailScanner/perl/MailScanner/SA.pm line 34.
>>>> BEGIN failed--compilation aborted at /usr/share/MailScanner/perl/MailScanner/SA.pm line 34.
>>>> Compilation failed in require at /usr/sbin/MailScanner line 103.
>>>> BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 103.
>>>> 
>>>> 
>>>> 
>>>> On Mon, 30 May 2016, Jerry Benton wrote:
>>>> 
>>>>> Did you use the install script to add the required perl packages to your server?
>>>>> 
>>>>> 
>>>>> 
>>>>> -
>>>>> Jerry Benton
>>>>> www.mailborder.com
>>>>> 
>>>>> 
>>>>> 
>>>>>> On May 30, 2016, at 6:40 AM, Remco Barendse <mailscanner at barendse.to> wrote:
>>>>>> 
>>>>>> 
>>>>>> No dice, it requires a newer Zlib
>>>>>> 
>>>>>> Compress::Raw::Zlib version 2.069 required--this is only version 2.02 at /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11.
>>>>>> BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11.
>>>>>> Compilation failed in require at /usr/share/MailScanner/perl/MailScanner/SA.pm line 34.
>>>>>> BEGIN failed--compilation aborted at /usr/share/MailScanner/perl/MailScanner/SA.pm line 34.
>>>>>> Compilation failed in require at /usr/sbin/MailScanner line 103.
>>>>>> BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 103.
>>>>>> 
>>>>>> I will google for the rpm
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> On Mon, 30 May 2016, Remco Barendse wrote:
>>>>>> 
>>>>>>> Thanks!
>>>>>>> Had to run rpm -e --noscripts to get rid of the mailscanner-4.85.2-2
>>>>>>> The installer script complained about  package perl-Compress-Raw-Zlib-2.027-1.noarch
>>>>>>> already present on the system which was newer than what the installer wanted to install  perl-Compress-Raw-Zlib-2.020-1.el5
>>>>>>> I nuked the newer version after which the other required RPMs did finish installation, now the installation ended without errors.
>>>>>>> Will modify the config scripts and let you know how the result
>>>>>>> Thanks for super fast reply :)
>>>>>>> On Mon, 30 May 2016, Jerry Benton wrote:
>>>>>>>> Sigh …
>>>>>>>> 
>>>>>>>> 
>>>>>>>> rpm -aq|grep -i mailscanner
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Find the package name from what is returned.
>>>>>>>> 
>>>>>>>> Copy your configs to a save directory.
>>>>>>>> 
>>>>>>>> rpm -e package_name_here
>>>>>>>> 
>>>>>>>> rm -rf /etc/MailScanner
>>>>>>>> rm -rf /var/lib/MailScanner
>>>>>>>> rm -rf /usr/lib/MailScanner
>>>>>>>> rm -rf /usr/share/MailScanner
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Install the RPM again.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> -
>>>>>>>> Jerry Benton
>>>>>>>> www.mailborder.com
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>>> On May 30, 2016, at 6:09 AM, Remco Barendse <mailscanner at barendse.to> wrote:
>>>>>>>>> 
>>>>>>>>> I spoke too soon :
>>>>>>>>> 
>>>>>>>>> [root at linuxgw MailScanner-5.0.2-1]# rpm -e mailscanner
>>>>>>>>> error reading information on service MailScanner: No such file or directory
>>>>>>>>> error reading information on service MailScanner: No such file or directory
>>>>>>>>> /var/tmp/rpm-tmp.53794: line 16: syntax error near unexpected token `fi'
>>>>>>>>> /var/tmp/rpm-tmp.53794: line 16: `fi'
>>>>>>>>> error: %postun(mailscanner-4.85.2-2.noarch) scriptlet failed, exit status 2
>>>>>>>>> 
>>>>>>>>> rpm -e didn't remove MailScanner  :(
>>>>>>>>> 
>>>>>>>>> I guess that is why i do not have a /usr/lib/MailScanner either
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Mon, 30 May 2016, Jerry Benton wrote:
>>>>>>>>> 
>>>>>>>>>> That is not an install failure or an error. It is just telling you it saved files.
>>>>>>>>>> 
>>>>>>>>>> Yes, there is a /usr/lib/MailScanner in v5.0.2-1.
>>>>>>>>>> 
>>>>>>>>>> The custom functions directory was moved. You will need to update your MailScanner.conf to point to /usr/share/MailScanner/perl/custom
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> -
>>>>>>>>>> Jerry Benton
>>>>>>>>>> www.mailborder.com
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>>> On May 30, 2016, at 6:03 AM, Remco Barendse <mailscanner at barendse.to> wrote:
>>>>>>>>>>> 
>>>>>>>>>>> Removed mailscanner, ran the installer again and got almost identical error :
>>>>>>>>>>> 
>>>>>>>>>>> Installing the MailScanner RPM ...
>>>>>>>>>>> Preparing... ##################################################
>>>>>>>>>>> MailScanner                 ###warning: /etc/MailScanner/MailScanner.conf saved as /etc/MailScanner/MailScanner.conf.rpmsave
>>>>>>>>>>> #warning: /etc/MailScanner/country.domains.conf saved as /etc/MailScanner/country.domains.conf.rpmsave
>>>>>>>>>>> #####warning: /etc/MailScanner/spam.lists.conf saved as /etc/MailScanner/spam.lists.conf.rpmsave
>>>>>>>>>>> #########################################
>>>>>>>>>>> Added new: Web Bug Replacement = https://s3.amazonaws.com/msv5/images/spacer.gif
>>>>>>>>>>> Added new: Lockfile Dir = /var/spool/MailScanner/incoming/Locks
>>>>>>>>>>> Added new: include /etc/MailScanner/conf.d/*
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> Only the error on /usr/lib/MailScanner is gone (but there is no such folder as /usr/lib/MailScanner
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On Mon, 30 May 2016, Jerry Benton wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> Remove the old MailScanner package and then install the new one.
>>>>>>>>>>>> 
>>>>>>>>>>>> rpm -e mailscanner
>>>>>>>>>>>> 
>>>>>>>>>>>> or
>>>>>>>>>>>> 
>>>>>>>>>>>> rpm -e MailScanner
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> -
>>>>>>>>>>>> Jerry Benton
>>>>>>>>>>>> www.mailborder.com
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>>> On May 30, 2016, at 5:44 AM, Remco Barendse <mailscanner at barendse.to> wrote:
>>>>>>>>>>>>> 
>>>>>>>>>>>>> /usr/lib/MailScanner/MailScanner/CustomFunctions
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> --
>>>>>>>>>>> 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
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> 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
>>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> -- 
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/listinfo/mailscanner
> 



More information about the MailScanner mailing list