MailScanner v5.0.2-1 released

Jerry Benton jerry.benton at mailborder.com
Mon May 30 10:16:32 UTC 2016


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
> 



More information about the MailScanner mailing list