There have been several postings about interesting issues when upgrading
perl major numbers on FreeBSD that affect amavisd-new and SA.

Normal procedures MAY leave amavisd-new, SA unusable.

Normal procedures for upgrade might include this statement:

portuprade -R amavisd-new
rehash
perl-after-upgrade

Modules that might be included may also include the newly released perl
5.8.8.

Symptoms might include the error 'Module Syslog' not found.

To fix this, try the '-f' flag to perl-after-upgrade:

perl-after-upgrade -f.

That seems to fix it for me on a FBSD 5.4, perl 5.8.7 -> 5.8.8 was
included in the amavisd-new upgrade.

FBSD 4.xx causes on more interesting issue:
When perl 5.8.x is upgrade to 5.8.8, it sets the perl back to base (non
ports ) system.
You will need to issue:  'use.perl port' after perl is upgrade.

Better yet:  
Manually upgrade perl first, then issue:

use.perl port (on 4.xx because updating perl sometimes puts it back to
4.x's perl 5.0)

cd /usr/local/etc/mail/p5-Mail-SpamAssassin
make config (select new options, razor/relay-ip, etc)
cd /usr/local/etc/security/amavisd-new
make config (double check options)
cp -p /usr/local/etc/mail/spamassassin/v310.pre /tmp/v310.pre
portupgrade -R amavisd-new
rehash
perl-after-upgrade
perl-after-upgrade -f
cp -p cp -p /tmp/v310.pre /usr/local/etc/mail/spamassassin/v310.pre
/etc/rc.d/amavisd restart (on 5.4) or
/usr/local/etc/rc.d/amavisd.sh restart on 4.11

You may have to redo your /usr/local/etc/mail/spamassassin/v310.pre file
as earlier versions of SA might not preserve it.

-- 
Michael Scheidell, CTO
561-999-5000, ext 1131
SECNAP Network Security Corporation
Keep up to date with latest information on IT security: Real time
security alerts: http://www.secnap.com/news
 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to