Old MailScanner builds

Shawn Iverson iversons at rushville.k12.in.us
Fri Oct 21 03:29:27 UTC 2016


https://github.com/MailScanner/v5/pull/25



On Thu, Oct 20, 2016 at 11:07 PM, Shawn Iverson <
iversons at rushville.k12.in.us> wrote:

> Jerry,
>
> Will do.  I am running a few more tests to make sure I didn't miss
> anything else....
>
> On Thu, Oct 20, 2016 at 11:04 PM, Jerry Benton <
> jerry.benton at mailborder.com> wrote:
>
>> Shawn,
>>
>> When you get a chance, please propose a pull request on Github so I
>> can implement the fixes. I appreacite your help.
>>
>>
>> -
>> Jerry Benton
>> www.mailborder.com
>> +1 - 844-436-6245
>>
>>
>> -----Original Message-----
>> From: Shawn Iverson <iversons at rushville.k12.in.us>
>> Reply: MailScanner Discussion <mailscanner at lists.mailscanner.info>
>> Date: October 20, 2016 at 11:03:43 PM
>> To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
>> Subject:  Re: Old MailScanner builds
>>
>> > small typo....fixed
>> >
>> > @@ -723,7 +723,10 @@
>> > exit 0
>> >
>> > # install the mailscanner rpm
>> > -$RPM -Uvh --force $NODEPS MailScanner*noarch.rpm
>> > +$RPM -Uvh --force --noscripts $NODEPS MailScanner*noarch.rpm
>> > +if [[ -e /etc/MailScanner.conf.rpmsave ]]; mv
>> > /etc/MailScanner.conf.rpmsave /etc/MailScanner.conf; fi
>> > +$RPM -Uvh --force $NODEPS MailScanner*noarch.rpm
>> > +
>> >
>> >
>> > On Thu, Oct 20, 2016 at 11:02 PM, Shawn Iverson <
>> > iversons at rushville.k12.in.us> wrote:
>> >
>> > > Possible fix to install.sh to harden it against prior uninstall
>> scripts in
>> > > previous MailScanner releases. Basically bypasses scripts on first
>> pass
>> > > and then forces another pass with the scripts (after the old package
>> is
>> > > gone).
>> > >
>> > > @@ -723,7 +723,10 @@
>> > > exit 0
>> > >
>> > > # install the mailscanner rpm
>> > > -$RPM -Uvh --force $NODEPS MailScanner*noarch.rpm
>> > > +$RPM -Uvh --force --noscripts $NODEPS MailScanner*noarch.rpm
>> > > +if [[ -e /etc/MailScanner.conf.rpmsave ]]; mv
>> > > /etc/MailScanner.conf.rpmsave /etc/MailScanner.conf; fi
>> > > +$RPM -Uvh --force $NODEPS MailScanner*norarch.rpm
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > On Thu, Oct 20, 2016 at 10:30 PM, Shawn Iverson <
>> > > iversons at rushville.k12.in.us> wrote:
>> > >
>> > >> Okay, this is a bit nasty, it appears that MailScanner 5.0.3-7
>> > >> installation scripts are getting trampled by the mailscanner
>> 4.85.2-3 post
>> > >> uninstall script during upgrade.... the 4.85.2-3 post uninstall
>> script
>> > >> executes after the 5.0.3-7 install...
>> > >>
>> > >> postuninstall scriptlet (using /bin/sh):
>> > >> # copy old ms files if this is an upgrade
>> > >> if [ -d "/usr/lib/MailScanner" ]; then
>> > >> rm -rf /usr/lib/MailScanner # <-- this kills 5.0.3-7
>> > >> /usr/lib/MailScanner
>> > >> fi
>> > >>
>> > >> # symlink
>> > >> rm -rf /etc/MailScanner/CustomFunctions
>> > >> ln -s /usr/share/MailScanner/MailScanner/CustomFunctions/
>> > >> /etc/MailScanner/CustomFunctions # <-- this appears as a broken link
>> > >>
>> > >> if [ "$1" -ge "1" ]; then # <-- this throws an error because it is an
>> > >> empty if block (just comments)
>> > >> # We are being upgraded or replaced, not deleted
>> > >> #echo 'To upgrade your MailScanner.conf and languages.conf files
>> > >> automatically, run'
>> > >> #echo ' upgrade_MailScanner_conf'
>> > >> #echo ' upgrade_languages_conf'
>> > >> #service MailScanner restart /dev/null 2>&1
>> > >> fi
>> > >> exit 0
>> > >>
>> > >>
>> > >> On Thu, Oct 20, 2016 at 9:59 PM, Shawn Iverson <
>> > >> iversons at rushville.k12.in.us> wrote:
>> > >>
>> > >>> Yea, there an issue happening from 4.85.2-3 to 5.0.3-7
>> > >>>
>> > >>> Just did a stock install of 4.85.2.3 on CentOS 6.8, snapshotted and
>> > >>> performed upgrade.
>> > >>>
>> > >>> /usr/lib/MailScanner is completely gone
>> > >>> Very little in /usr/share/Mailscanner, just perl and reports
>> > >>> /etc/init.d/mailscanner is a broken symlink (since
>> /usr/lib/MailScanner
>> > >>> is missing)
>> > >>> CustomFunctions is a broken symlink as well (no
>> > >>> /usr/share/MailScanner/MailScanner)
>> > >>>
>> > >>> I am rolling back and going to dissect the installation process to
>> see
>> > >>> where it is breaking down.
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>> On Thu, Oct 20, 2016 at 8:09 PM, Shawn Iverson <
>> > >>> iversons at rushville.k12.in.us> wrote:
>> > >>>
>> > >>>> Thanks Jerry,
>> > >>>>
>> > >>>> I'm spinning up some vms now to play with. If I find anything, I
>> will
>> > >>>> try to fix and report back.
>> > >>>>
>> > >>>> On Thu, Oct 20, 2016 at 8:05 PM, Jerry Benton <
>> > >>>> jerry.benton at mailborder.com> wrote:
>> > >>>>
>> > >>>>> https://s3.amazonaws.com/mailscanner/release/v4/rpm/MailScan
>> > >>>>> ner-4.85.2-3.rpm.tar.gz
>> > >>>>>
>> > >>>>>
>> > >>>>> https://s3.amazonaws.com/mailscanner/release/v4/tar/MailScan
>> > >>>>> ner-4.85.2-3.tar.gz
>> > >>>>>
>> > >>>>>
>> > >>>>> https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScan
>> > >>>>> ner-4.85.2-3.deb.tar.gz
>> > >>>>>
>> > >>>>>
>> > >>>>>
>> > >>>>>
>> > >>>>> -
>> > >>>>> Jerry Benton
>> > >>>>> www.mailborder.com
>> > >>>>> +1 - 844-436-6245
>> > >>>>>
>> > >>>>>
>> > >>>>> -----Original Message-----
>> > >>>>> From: Shawn Iverson
>> > >>>>> Reply: MailScanner Discussion
>> > >>>>> Date: October 20, 2016 at 8:01:05 PM
>> > >>>>> To: mailscanner at lists.mailscanner.info > >>>>> .info>
>> > >>>>> Subject: Old MailScanner builds
>> > >>>>>
>> > >>>>> > Hey guys,
>> > >>>>> >
>> > >>>>> > Does anyone have some old MailScanner builds (looking
>> specifically
>> > >>>>> for
>> > >>>>> > 4.85.2-3 or close to it)?
>> > >>>>> >
>> > >>>>> > I want to test some upgrades from this version to v5. I have
>> had a
>> > >>>>> few
>> > >>>>> > folks say that jumping from this version to v5 is problematic.
>> > >>>>> >
>> > >>>>> > --
>> > >>>>> > Shawn Iverson
>> > >>>>> > Director of Technology
>> > >>>>> > Rush County Schools
>> > >>>>> > 765-932-3901 x271
>> > >>>>> > iversons at rushville.k12.in.us
>> > >>>>> >
>> > >>>>> >
>> > >>>>> > --
>> > >>>>> > MailScanner mailing list
>> > >>>>> > mailscanner at lists.mailscanner.info
>> > >>>>> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
>> > >>>>> >
>> > >>>>> >
>> > >>>>>
>> > >>>>>
>> > >>>>> --
>> > >>>>> MailScanner mailing list
>> > >>>>> mailscanner at lists.mailscanner.info
>> > >>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>> > >>>>>
>> > >>>>>
>> > >>>>
>> > >>>>
>> > >>>> --
>> > >>>> Shawn Iverson
>> > >>>> Director of Technology
>> > >>>> Rush County Schools
>> > >>>> 765-932-3901 x271
>> > >>>> iversons at rushville.k12.in.us
>> > >>>>
>> > >>>>
>> > >>>>
>> > >>>
>> > >>>
>> > >>> --
>> > >>> Shawn Iverson
>> > >>> Director of Technology
>> > >>> Rush County Schools
>> > >>> 765-932-3901 x271
>> > >>> iversons at rushville.k12.in.us
>> > >>>
>> > >>>
>> > >>>
>> > >>
>> > >>
>> > >> --
>> > >> Shawn Iverson
>> > >> Director of Technology
>> > >> Rush County Schools
>> > >> 765-932-3901 x271
>> > >> iversons at rushville.k12.in.us
>> > >>
>> > >>
>> > >>
>> > >
>> > >
>> > > --
>> > > Shawn Iverson
>> > > Director of Technology
>> > > Rush County Schools
>> > > 765-932-3901 x271
>> > > iversons at rushville.k12.in.us
>> > >
>> > >
>> > >
>> >
>> >
>> > --
>> > Shawn Iverson
>> > Director of Technology
>> > Rush County Schools
>> > 765-932-3901 x271
>> > iversons at rushville.k12.in.us
>> >
>> >
>> > --
>> > MailScanner mailing list
>> > mailscanner at lists.mailscanner.info
>> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
>> >
>> >
>>
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>>
>
>
> --
> Shawn Iverson
> Director of Technology
> Rush County Schools
> 765-932-3901 x271
> iversons at rushville.k12.in.us
>
>
>


-- 
Shawn Iverson
Director of Technology
Rush County Schools
765-932-3901 x271
iversons at rushville.k12.in.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20161020/42f28d4b/attachment.html>


More information about the MailScanner mailing list