Let me see if I can alleviate some confusion.

simscan is a scanning controller of sorts. It controls invoking clamav and spamassassin to do the actual scanning. Once the scanning is complete, if the message is marked as spam (tagged by spamassassin) *and* the spam score is not less than spam_hits (specified in the simcontrol file), then simscan passes a return code back to qmail-smtpd to reject the message.

spamassassin scans and scores a message. If the score is not less than the required_score value (specified in the local.cf file), then the message is marked as spam.

I hope this clarifies things. If it does, perhaps someone would care to update the appropriate wiki pages.
--
-Eric 'shubes'

On 01/19/2011 10:37 PM, Maxwell Smart wrote:
Well actually there is. By appropriate file I mean which file is
processed first, hence which file should have the lower setting. In
reading this page it's more clear on how it works. >>
http://wiki.qmailtoaster.com/index.php/Simscan This includes this
snippet answering your question:

/"Breaking this down using parentheses() to help with clarity: (:) is
default, as in default processing rule--higher ranking rules can be
applied. (clam=yes) scan with clamd (spam=yes) scan with spamd
(spam_hits=12) spam score of 12 or greater will be deleted--not
delivered once the score hits 12 in this case (attach=.exe:.pif:.scr)
block messages with attachments that have these extensions. If that is
the only rule in simcontrol, every single mail for every single
recipient on every single domain that is accepted by the toaster would
be processed by those parameters. "/

To me this means that the simcontrol file is processed first. I am not
entirely sure why the local.cf file is needed unless you aren't using
Simscan.

On 01/19/2011 07:12 PM, Bruno De Leone wrote:
/var/qmail/control/simcontrol is like this:

:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif

Anyone knows what this does exactly? Is it the "spam_hits" the spam
score needed to drop mails by the simscan?

CJ, there is no "appropriate file". It depends in what you are trying
to do.

Bruno

On Thu, Jan 20, 2011 at 12:05 AM, Cecil Yother, Jr. <c...@yother.com
<mailto:c...@yother.com>> wrote:

    Well that explains why when I changed it nothing appeared to
    happen. I read that and thought that the local.cf
    <http://local.cf> was the appropriate file. So is the
    /var/qmail/simcontrol spamhits setting the setting that needs to
    be lower than the local.cf <http://local.cf> file?


    On 01/19/2011 04:34 PM, Bruno De Leone wrote:
    CJ,

    /etc/mail/spamassassin/local.cf <http://local.cf/> isn't only for
    spamassasin? I need to change the simscan score.

    
http://wiki.qmailtoaster.com/index.php/FAQs#I_upgraded_my_QmailToaster_to_the_latest_and_I_no_longer_have_the_.22Spam_Detection.22_box_in_Qmailadmin.

    "It is also worth noting that the default Simscan config is set
    to reject spam messages at the same score as the mailfilter
    script. You will need to change the simcontrol default score to a
    higher value to allow spam messages to be processed by the
    mailfilter script or the spambox option will have no visible effect."

    Thanks, Bruno

    On Wed, Jan 19, 2011 at 9:13 PM, Cecil Yother, Jr. <c...@yother.com
    <mailto:c...@yother.com>> wrote:

        Bruno,

        The spam threshold can be found in
        /etc/mail/spamassassin/local.cf <http://local.cf> You'll need
        to restart spamassassin after modifying.

        Roundcube looks nice, but has had some security issues. Not
        sure it's ready for primetime yet.

        CJ


        On 01/19/2011 02:40 PM, Bruno De Leone wrote:
        Hi Eric, thanks a lot for your answer. It helped me a lot!

        I'm back from my vacations so hands to my servers again...
        About quotas and displaying it at the webmail it is not that
        important. If it works great, if not, is not that
        necessary... After solving other "issues" I'll have a look
        at the new versions of vpopmail too.

        I installed qtp and spamdyke, it was so easy that I want to
        qtp-conquerworld... but is not there yet =(

        I also found how to enable the spambox and reinstalled the
        qmailadmin but I wasn't able to find where to configure the
        score for the simscan which is still rejecting all spam
        messages. Where can I set a higher score for the simscan?


        About the Horde package you mentioned, I'm not very
        interested because of a personal dislike :P.

        I tried Roundcube Webmail and I found it very good looking.
        I installed it at my smaller mail server running the
        original courier packages and it runs great, I love it.

        I tried it after at the bigger mail server with dovecot and
        %&TG!!!, is SO slow, almost unusable. I think there might be
        some timeout when it asks for the quota information that is
        not being sent by the dovecot service or it has to be "asked
        for" differently. Did someone tried Dovecot 2 with a
        qmailtoaster? I'm running 1.2.16...

        I'll try to have a look at this because I'd like very much
        to be able to use Roundcube at the big mail server so if
        someone has any information about how quotas are managed by
        courier/dovecot/webmails it will be welcome :D

        Bruno

        On Fri, Dec 31, 2010 at 3:48 PM, Eric Shubert
        <e...@shubes.net <mailto:e...@shubes.net>> wrote:

            On 12/30/2010 11:36 AM, Bruno De Leone wrote:

                Hi all!


            Hey Bruno. Welcome to the QMT community.


                I'm kind of new with qmailtoaster and it has been a
                great experience so
                far. I installed it firstly on a "large" server with
                1000 mail accounts
                and it works perfectly. I had at the begining some
                issues with large
                inboxes (50k + mails), no webmail was able to open
                it, the imap server
                always timed out. I tried replacing Courier with
                Dovecot and voilĂ ! No
                more problems with webmails or nothing.

                Now I have a new server installed for a smaller site
                and I found out
                that with Courier, Squirrelmail is able to read and
                display the space
                used/left which if I install Dovecot it is not able
                to do it. So now I
                have my doubts if I will leave Courier or replace it
                with Dovecot... I
                like best the Dovecot servers but I don't have any
                other complains about
                Courier than the issue with the first server I
                installed.


            QMT will be using Dovecot in the future (Courier has
            dropped vpopmail support), so I'd stick with Dovecot.


                Is it possible to configure the squirrelmail or
                dovecot to display the
                space left/used at the webmail?


            I don't know off hand how SM acquires this info, and
            wasn't aware that it's unavailable w/ dovecot. You're
            welcome to have a go at fixing it yourself if you're so
            inclined. Someone else here might look into it as well.


                Any other thoughts or experiences about
                Dovecot/Courier might help me.


            Presently, quotas on QMT don't work right. I'm looking
            into upgrading vpopmail in order to fix this, but
            haven't yet decided to use vpopmail 5.4.32 or to try
            v5.5.x, which is not yet 'stable'.

            I think fixing quotas should be done first, then we can
            look into why it is that SM doesn't show this data with
            dovecot.

            Also, you might want to know that there is a project
            barely underway to package Horde webmail for QMT. I hope
            to get that project going again soon.


                Another doubt I'm having is what happens with mails
                found as spam. If my
                tests were correct, "they" are being deleted. Is it
                possible to create a
                Junk folder to every user and tell spamassasin to
                move spam mails there?


            There is a 'spambox' option which is part of
            qmailadmin-toaster. Search the wiki
            (http://wiki.qmailtoaster.com) for spambox, and you'll
            find information about implementing it.


                I could make some sort of script to create a Junk
                maildir to every user,
                there's no much difficult there. But is it possible
                to tell the filters
                to move spam to a junk box??


            The spambox option does all of this for you.


                I there a mailing list log? Where can I read it?


            http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/
            http://dir.gmane.org/gmane.mail.qmail.toaster




                Any other suggestions about something cool to add to
                my qmailtoasters
                are also welcome. Thanks in advance for any help and
                have a great
                2011!!!!!!! :D


            Be sure to have qmailtoaster-plus
            (http://qtp.qmailtoaster.com) installed, and use
            qtp-install-spamdyke to install spamdyke. If I had to
            choose only one anti-spam tool, it'd be spamdyke.

            Once again, welcome Bruno.

            --
            -Eric 'shubes'


            
---------------------------------------------------------------------------------
            Qmailtoaster is sponsored by Vickers Consulting Group
            (www.vickersconsulting.com
            <http://www.vickersconsulting.com>)
            Vickers Consulting Group offers Qmailtoaster support and
            installations.
            If you need professional help with your setup, contact
            them today!
            
---------------------------------------------------------------------------------
            Please visit qmailtoaster.com <http://qmailtoaster.com>
            for the latest news, updates, and packages.
            To unsubscribe, e-mail:
            qmailtoaster-list-unsubscr...@qmailtoaster.com
            <mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com>
            For additional commands, e-mail:
            qmailtoaster-list-h...@qmailtoaster.com
            <mailto:qmailtoaster-list-h...@qmailtoaster.com>




        --
        Cecil Yother, Jr. "cj"
        cj's
        2318 Clement Ave
        Alameda, CA  94501

        tel 510.865.2787 |http://yother.com
        Check out the new Volvo classified 
resourcehttp://www.volvoclassified.com



    --
    Cecil Yother, Jr. "cj"
    cj's
    2318 Clement Ave
    Alameda, CA  94501

    tel 510.865.2787 |http://yother.com
    Check out the new Volvo classified resourcehttp://www.volvoclassified.com



--
Cecil Yother, Jr. "cj"
cj's
2318 Clement Ave
Alameda, CA  94501

tel 510.865.2787
http://yother.com
Check out the new Volvo classified resourcehttp://www.volvoclassified.com

---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster
support and installations. If you need professional help with your
setup, contact them today!



---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to