>----- Original Message ----- >From: "Erik Espinoza" <[EMAIL PROTECTED]>
>Incorrect, but close. >1) download the src.rpm >2) compile >3) service qmail stop >4) rpm -e --nodeps clamav-toaster >5) install the compiled binary >6) service qmail cdb (rebuild versions) >7) service qmail start ############################################################################ ############################################################################ How about this: ################### 1) #note: for spamassassin upgrades you should backup the local.cf file: DATENAME=`date +%Y%m%d` && cp /etc/mail/spamassassin/local.cf /etc/mail/spamassassin/local.cf.$DATENAME 2) download the src.rpm wget http://devel.qmailtoaster.com/download/clamav-toaster-0.90RC1-1.3.5.src.rpm -P /usr/src/redhat/SOURCES wget http://www.qmailtoaster.com/download/stable/spamassassin-toaster-3.1.7-1.3.5.src.rpm - P /usr/src/redhat/SOURCES wget http://www.qmailtoaster.com/download/stable/qmail-toaster-1.03-1.3.6.src.rpm -P /usr/src/redhat/SOURCES 3) change to the install dir and compile it (use your distro, ie cnt4, fdr40, fdr50) cd /usr/src/redhat/SOURCES/ && rpmbuild --rebuild --with fdr50 clamav-toaster-0.90RC1-1.3.5.src.rpm cd /usr/src/redhat/SOURCES/ && rpmbuild --rebuild --with fdr50 spamassassin-toaster-3.1.7-1.3.5.src.rpm cd /usr/src/redhat/SOURCES/ && rpmbuild --rebuild --with fdr50 qmail-toaster-1.03-1.3.6.src.rpm 4) stop the qmail services prior to updating or removing any rpms service qmail stop service qmail stat #note: all should be "stopped" status prior to proceeding 5) remove the old rpm clamav and spamassassin (the others just skip to #6) rpm -e --nodeps clamav-toaster rpm -e --nodeps spamassassin-toaster 6) install the compiled binary rpm -Uvh /usr/src/redhat/RPMS/i386/clamav-toaster-0.90RC1-1.3.5.i386.rpm rpm -Uvh /usr/src/redhat/RPMS/i386/spamassassin-toaster-3.1.7-1.3.5.i386.rpm rpm -Uvh /usr/src/redhat/RPMS/i386/qmail-toaster-1.03-1.3.6.i386.rpm 7) service qmail cdb (rebuild versions) 8) service qmail start 9) SPAMASSASSIN ONLY: If you upgraded spamassassin, copy the new file and then replace with your backup file: mv /etc/mail/spamassassin/local.cf /etc/mail/spamassassin/local.cf.orig DATENAME=`date +%Y%m%d` && mv /etc/mail/spamassassin/local.cf.$DATENAME /etc/mail/spamassassin/local.cf #note you will now have a local.cf, local.cf.orig, and a local.cf.dateofbackup 9) test it: mkdir /test echo "just testing" > /test/mailtest.txt env QMAILQUEUE=/var/qmail/bin/simscan SIMSCAN_DEBUG=2 /var/qmail/bin/qmail-inject [EMAIL PROTECTED] < /test/mailtest.txt ####################### --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
