From SME Server
Jump to: navigation, search


The lazy administrator's tool to (de)activate procmail for individual users


      Activates or deactivates procmail for individual users on Mitel's SME
      servers.  This tool is primarily intended to activate SpamAssassin sys-
      tem-wide, but can also be used for other purposes.

Important.png Note:
It requires the smeserver-userpanel ans the smeserver-mailsorting from

      See /usr/doc/lazy-admin-tools/example.procmail for the format of the
      input file.

Smecontribs repository for SME Server

yum install --enablerepo=smecontribs smeserver-lazy_admin_tools smeserver-userpanel smeserver-mailsorting
signal-event post-upgrade; signal-event reboot


      lat-procmail -c "user| status| deldups| loglevel| mode"
      lat-procmail -i /path/to/users.list


      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 individ-
          ual users.  See /usr/doc/lazy-admin-tools for an example of an
          input file.
         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


lat-procmail  -c "harry | enabled | yes | lots | geek"
      Activates procmail for user 'harry', deletes duplicate mails with
      extensive logging and activates geek-mode.
lat-procmail -i /root/procmail.list
      Activates procmail for the users defined in /root/procmail.list.  Refer
      to /usr/doc/lazy-admin-tools/example.users for an example of an input


Please raise bugs under the SME-Contribs section in bugzilla and select the e-smith-lazy_admin_tools component or use this link .