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