Changes

From SME Server
Jump to navigationJump to search
2,276 bytes added ,  17:50, 24 June 2013
Created page with "===lat-procmail=== The lazy administrator's tool to (de)activate procmail for individual users ===DESCRIPTION=== Activates or deactivates procmail for individual users..."
===lat-procmail===
The lazy administrator's tool to (de)activate procmail for individual users

===DESCRIPTION===
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.

It requires the user-panel from http://contribs.org

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
signal-event post-upgrade; signal-event reboot

===SYNOPSIS===
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 individ-
ual 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

===EXAMPLES===
lat-procmail -a -c "harry | enabled | yes | lots | geek"
Activates procmail for user 'harry', deletes duplicate mails with
extensive logging and activates geek-mode.

lat-procmail -a -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
file.

Navigation menu