I'm confused by your confusion. ;) Perhaps I should explain.

Spamdyke is not yet a part of the stock QMT package. This is mostly due to the fact that I wanted to make spamdyke easily available for people at a point in time before I had taken responsibility for the QMT project. So the best way to accomplish this was to create a script as part of QTP to do it.

Unfortunately, whenever the qmail-toaster package is upgraded, it wipes out the connection to spamdyke, so spamdyke needs to be reinstalled afterwards. This is most easily accomplished by simply rerunning the script, although all that really needs to be done is the last part of that which symlinks the run file to the run.spamdyke file.

Are there other customizations you do to run files which upgrades wipe out? I don't believe that run files are backed up by qtp-newmodel, but perhaps they should be. I seem to recall this happening to someone else a while ago. If there's something you've customized, perhaps that code needs to be made into a variable contained in the control directory, as some others are.

I don't see any way around having the qmail-toaster package own and replace the run file on upgrades. Indeed, this will be the case when spamdyke is finally officially integrated into the qmail-toaster package. I'm still wrestling a little with whether to make spamdyke a separate package or not. I"m leaning toward making it separate (due to more frequent updates), in which case the spamdyke-toaster package will need to be a prerequisite to qmail-toaster, and the run file in qmail-toaster will need to be replaced when that's implemented.

I hope this remedies the confusion.

As far as your LibClamAV error is concerned, a little more context would be helpful. I can tell you that the clamav package (and thus the clamav-toaster package) no longer includes virus definitions in the package, for a number of good reasons. Instead, after the package is installed, up-to-date virus definitions are downloaded separately. This is done automatically by the clamav-toaster package.

I'm guessing that there is a problem with your virus definitions somehow. I suggest doing:
# mv /usr/share/clamav /usr/share/clamav.old
# freshclam
to obtain fresh virus definitions. At least I *think* that'll do it.

--
-Eric 'shubes'


On 02/09/2013 01:36 PM, LHTek wrote:
I was confused on the run file being re-written during the update. I was
confused by another issue - I'm losing it!

The LibClamAV Error still stands though.




    ------------------------------------------------------------------------
    *From:* LHTek <[email protected]>
    *To:* "[email protected]"
    <[email protected]>
    *Sent:* Saturday, February 9, 2013 12:35 PM
    *Subject:* Re: [qmailtoaster] Re: qtp-newmodel issue

    ok that worked! Thanks!!!!

    It still had an issue with perl repo being installed near the end
    but that didn't stop the update. so I just manually installed it.

    Just a note, I don't like that I had to reinstall spamdyke and such
    but it all came out ok. Plus it completely re-wrote my qmail run
    files so all my changes there had to be redone.

    I'm getting one further NOT related to the newmodel update though...

    when I run simscanmk -g I get:
    LibClamAV Error: cli_cvdverify: Can't read CVD header

    Any ideas on this one?

    Maybe I need to clean out the virus database directory and have it
    re-download everything?






        ------------------------------------------------------------------------
        *From:* Eric Shubert <[email protected]>
        *To:* [email protected]
        *Sent:* Saturday, February 9, 2013 9:59 AM
        *Subject:* [qmailtoaster] Re: qtp-newmodel issue

        That's mirror3.qmailtoaster.com which appears to have a problem. To
        curcumvent the problem, you could hard code one of the other
        mirrors in
        your /etc/hosts file temporarily.
        shubes@edwin:~$ host mirrors.qmailtoaster.com
        mirrors.qmailtoaster.com has address 195.184.97.13
        mirrors.qmailtoaster.com has address 24.249.177.197
        mirrors.qmailtoaster.com has address 109.74.205.92
        mirrors.qmailtoaster.com has address 173.164.181.60

        So add in /etc/hosts:
        195.184.97.13 mirrors.qmailtoaster.com
        and that will lock you in to that mirror (which is mirror1).

        Dan's done a great job of managing DNS and mirrors, and has some
        notification scripts running which detect problems with mirrors.
        I'm
        sure he'll be jumping in on this to get a better resolution.

        Many thanks to Dan and our volunteer mirror sites. BTW, we could
        use a
        few more mirrors. This doesn't really take much in the way of
        resources
        to do, so if you can provide a mirror for the project, that
        would be a
        good way to contribute to the community. Hop on over to the
        mirrors list
        ([email protected] <mailto:[email protected]>) and
        we'll get you going!

        Thanks again.

        --
        -Eric 'shubes'

        On 02/08/2013 04:37 PM, Josh Bowling wrote:
         > If all else fails, you could always download them manually
        with wget or
         > even from your PC and the scp the package to your server.
         >
         > Strange how it resolves correctly, but can't find the data.
        Are you sure
         > the servers weren't just having issues at that time? Maybe
        try again.
         >
         > On Feb 9, 2013 5:08 AM, "LHTek" <[email protected]
        <mailto:[email protected]>
         > <mailto:[email protected]
        <mailto:[email protected]>>> wrote:
         >
         >    I'm having an issue running qtp-newmodel.
         >
         >    I get 404 errors while it's trying to resolve the mirror
        for the
         >    SpamAssassin repo.
         >
         > Any ideas how to sleuth this?
         >
         > Here is the output I'm getting:
         >
         >    Getting source packages ...(this may take a while)
         >    vpopmail-toaster-5.4.33-1.4.0.src.rpm is already
        downloaded, bypassed
         >    qmail-toaster-1.03-1.3.22.src.rpm is already downloaded,
        bypassed
         >    courier-authlib-toaster-0.59.2-1.3.10.src.rpm is already
        downloaded,
         >    bypassed
         >    courier-imap-toaster-4.1.2-1.3.10.src.rpm is already
        downloaded,
         >    bypassed
         >    qmailadmin-toaster-1.2.16-1.4.0.src.rpm is already
        downloaded, bypassed
         >    qmailmrtg-toaster-4.2-1.3.7.src.rpm is already downloaded,
        bypassed
         >    Downloading spamassassin-toaster-3.3.2-1.4.3.src.rpm
         >    --2013-02-08 14:05:17--
         >
        http://mirrors.qmailtoaster.net/spamassassin-toaster-3.3.2-1.4.3.src.rpm
         >    Resolving mirrors.qmailtoaster.net... 109.74.205.92,
        24.249.177.197,
         >    173.164.181.60 <tel:173.164.181.60>, ...
         >    Connecting to mirrors.qmailtoaster.net
         >    <http://mirrors.qmailtoaster.net
        <http://mirrors.qmailtoaster.net/>>|109.74.205.92|:80... connected.
         >    HTTP request sent, awaiting response... 404 Not Found
         >    2013-02-08 14:05:19 ERROR 404: Not Found.
         >
         >    Download of
         >
        http://mirrors.qmailtoaster.net/spamassassin-toaster-3.3.2-1.4.3.src.rpm
         > failed - Exiting.
         >



        ---------------------------------------------------------------------
        To unsubscribe, e-mail:
        [email protected]
        <mailto:[email protected]>
        For additional commands, e-mail:
        [email protected]
        <mailto:[email protected]>








---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to