On 2014-11-21 22:59, Eric Broch wrote:
On 11/21/2014 11:49 AM, Constantin IOAJA wrote:
On 2014-11-21 17:54, Eric Broch wrote:
On 11/21/2014 8:30 AM, Eric Broch wrote:
On 11/21/2014 7:58 AM, Constantin IOAJA wrote:
On 2014-11-21 08:04, Eric Broch wrote:
Hi Manikandan,

I'd try this on a non-production machine first.
1) Download source rpm: ftp://ftp.whitehorsetc.com/pub/qmail/clamav/clamav-toaster-0.98.5-1.4.9.src.rpm
2) Move source rpm to your build directory /path/to/rpmbuild/SRPMS
3) Build the binary rpm: # rpmbuild --rebuild --with cnt50 /path/to/rpmbuild/SRPMS/clamav-toaster-0.98.5-1.4.9.src.rpm
4) # qmailctl stop
Note* You could uninstall the old clamav first, before you install the new version but, I didn't do it that way. 5) Install the binary: # rpm -Uvh /path/to/rpmbuild/RPMS/i[3456]86/clamav-toaster-0.98.5-1.4.9.i[3456]86.rpm
6) # qmailctl cdb
7) # qmailctl start
Run freshclam manually to see if you're on the new ClamAV binary. If everything went as planned you'll get NO warning about an outdated installation
8) # freshclam

EricS, before we get to far into this can you let me know if I've numbered the packages correctly?

EricB


.................

6) # qmailctl cdb

*7) # /var/qmail/bin/simscanmk -g -> to rebuild the simcontrol.cdb file ( the correct version of ClamAV on email header**)**.*

.........................


--
=============

Constantin IOAJA

Network Administrator C.N.S. Cartel ALFA
Thanks, Constantin.
But, 'qmailctl cdb' does do this.

I think not.


Control RELAYCLIENT

qmailctl cdb  => rebuild the SMTP access database and reload new config.

http://www.lifewithqmail.org/lwq.html 2.8.2.3. SMTP Access Control and 3.2.3. Allowing selective relaying


Simscan - virus scanning, spamassassin processing, attachment blocking etc.

/var/qmail/bin/simscanmk   => rebuild the simcontrol.cdb file

/var/qmail/bin/simscanmk -g => rebuild the simversions.cdb file (not simcontrol.cdb file; sorry!)

http://www.inter7.com/index.php?page=simscan

http://www.qmailwiki.org/SimScanTips

http://www.qmailwiki.org/Simscan/Guide


I have seen 'Rebuilding cdb files' - http://wiki.qmailtoaster.com/index.php/Rebuilding_cdb_files -

"Note, as of QmailToaster v1.3, # qmailctl cdb does it all, so there's no more need for this."

But I have simscan 1.4.0 and qmailctl.cdb do not change the simversions.cdb.


--
=============

Constantin IOAJA

Network Administrator C.N.S. Cartel ALFA
Constantin,

Here's the section cut from my CentOS 5 server, which Manikandan is running, and pasted here from '/usr/bin/qmailctl' for the 'cdb' option:
Notice that 'simscanmk' (red), and 'simscanmk -g' (blue) are both run.

<paste>
 cdb)
tcprules /etc/tcprules.d/tcp.smtp.cdb /etc/tcprules.d/tcp.smtp.tmp < /etc/tcprules.d/tcp.smtp
    chmod 644 /etc/tcprules.d/tcp.smtp*
    echo "Reloaded /etc/tcprules.d/tcp.smtp"
    if [ -f /var/qmail/bin/qmail-badmimetypes ] ; then
        /var/qmail/bin/qmail-badmimetypes;
        echo "Reloaded /var/qmail/control/badmimetypes.cdb";
    fi
    if [ -f /var/qmail/bin/qmail-badloadertypes ] ; then
        /var/qmail/bin/qmail-badloadertypes;
        echo "Reloaded /var/qmail/control/badloadertypes.cdb";
    fi
/*if [ -f /var/qmail/bin/simscanmk ] ; then*//*
*//*        /var/qmail/bin/simscanmk -g >/dev/null 2>&1;*/
/*echo "Reloaded /var/qmail/control/simversions.cdb";*/
/**//*if [ -f /var/qmail/control/simcontrol ] ; then
           /var/qmail/bin/simscanmk >/dev/null 2>&1;
           echo "Reloaded /var/qmail/control/simcontrol.cdb";*//*
*//*        fi*/
    fi

</paste>

I'm not sure why this has become a debate.

Eric

**In this case you're right.

I'll see what happens to my server in the next days.


Regard's,

--
=============

Constantin IOAJA

 Network Administrator C.N.S. Cartel ALFA

Attachment: smime.p7s
Description: Semnătură criptografică S/MIME

Reply via email to