Error in upgrade

Jerry Benton jerry.benton at mailborder.com
Mon Apr 13 14:34:19 UTC 2015


Dennis,

Thank you. The same error was in the SuSE spec file. I have rebuilt all of the packages and made v4.85.2-2 available for all platforms. 

-
Jerry Benton
www.mailborder.com



> On Apr 13, 2015, at 10:04 AM, Denis Beauchemin <Denis.Beauchemin at usherbrooke.ca> wrote:
> 
> Jerry,
> 
> The semicolon is missing on this line:
> for F in incoming quarantine incoming/Locks do
> => for F in incoming quarantine incoming/Locks; do
> 
> Denis
> -----Message d'origine-----
> De : MailScanner [mailto:mailscanner-bounces at lists.mailscanner.info] De la part de Jerry Benton
> Envoyé : 13 avril 2015 09:57
> À : MailScanner Discussion
> Objet : Re: Error in upgrade
> 
> Thanks. There might be a syntax error in the spec file in the %post section. You upgrade should be ok though. Can someone double check this for me? Fresh eyes might help.
> 
> 
> # Create the SpasAssassin sym-link to mailscanner.cf SADIR=`perl -MMail::SpamAssassin -e 'print Mail::SpamAssassin->new->first_existing_path(@Mail::SpamAssassin::site_rules_path)' 2>/dev/null` if [ "x$SADIR" = "x" ]; then
>  echo No SpamAssassin installation found.
> else
>  #mkdir -p ${RPM_BUILD_ROOT}${SADIR}
>  if [ -e ${SADIR}/mailscanner.cf ]; then
>    echo Leaving mailscanner.cf link or file alone.
>  else
>    ln -s -f /etc/MailScanner/spam.assassin.prefs.conf ${SADIR}/mailscanner.cf
>  fi
>  echo SpamAssassin site rules found in ${SADIR} fi
> 
> # Create the incoming and quarantine dirs if needed for F in incoming quarantine incoming/Locks do
>  if [ \! -d /var/spool/MailScanner/$F ]; then
>    mkdir -p /var/spool/MailScanner/$F
>    chown root.root /var/spool/MailScanner/$F
>    chmod 0755 /var/spool/MailScanner/$F
>  fi
> done
> 
> -
> Jerry Benton
> www.mailborder.com
> 
> 
> 
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
> 



More information about the MailScanner mailing list