Koozali.org: home of the SME Server

Important issue about SpamFilter

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Important issue about SpamFilter
« on: March 28, 2005, 10:10:07 PM »
The users created before spamfilter is installed, has a wrong configuration. Then your spamfilter not run properly for these accounts.
No problem for users creater after spamfilter is installed.
See this topic and my post here
http://forums.contribs.org/index.php?topic=22974.0

Tell me if I am mistaken or not

Good rule is append at the end of spamfilter script this code:
Code: [Select]
/sbin/e-smith/signal-event user-modify

PicsOne

Offline hordeusr

  • ***
  • 68
  • +0/-0
Important issue about SpamFilter
« Reply #1 on: March 29, 2005, 01:25:57 AM »
You can also use the lazy admin tools.  

lat-procmail -c "*| enable| no| none| normal"

I think is the command I used.  I don't need log files for each user building up, unless they have a problem.  Yes it is a good idea to at least make sure the installer knows that procmail must be turned on for all users.  Maybe a question at the end of the install:
Do you wish to enable procmail on existing users? (y/n)

lat-procmail stuff...
Usage:
    lat-procmail -c "user| status| deldups| loglevel| mode"

    lat-procmail -i /path/to/users.list

Options:
    The following options are supported:

    -c "Arguments", --command-line="Arguments"
        Take arguments from the command line. See the 'Arguments' section
        below for the various arguments that are accepted.

    -h, --help
        Extended help for this tool

    -i FILE, --input-file=FILE
        Use the information from FILE to (de)activate procmail for
        individual users. See /usr/doc/lazy-admin-tools for an example of an
        input file.

  Arguments:

       user*      : Must be an existing account on the server.
                    Wildcards (* and ?) are accepted.
       status     : Either 'enabled' or 'disabled'.
                    Default is 'disabled'.
       deldups    : Delete duplicates. Use 'yes' or 'no'.
                    Default is 'no'.
       loglevel   : Amount of log info. Use 'none', 'some' or 'lots'.
                    Default is 'some'.
       mode       : Set 'normal' or 'geek' mode. Default is 'normal'.

       * mandatory field

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Important issue about SpamFilter
« Reply #2 on: March 29, 2005, 04:20:19 AM »
That you say it is correct. Good suggestion to modify the script.
Now my spamfilter work ok and delete all spam above 15!!!
The most interesting in the case is that many don't know it and they believe that spamfilter working correctly with the old useraccounts

Thanks for the reply.   :-D