SME Server:Documentation:Technical Manual:Chapter3

From SME Server
Revision as of 17:52, 19 April 2007 by Cactus (talk | contribs) (Added Template:Languages)
Jump to navigation Jump to search


Chapter 3. Configuration Guide

For more detailed information refer to the Developers Manual

db commands

type db for usage

db

dbfiles are in /home/e-smith/db

To set a db property manually

db accounts show james
db accounts setprop james EmailForward local

More information about the internal configuration database of SME Server can be found in the [SME Server Developer's Guide].

Actions and Events

Actions and Events are used to apply configuration changes and most of them are fired through the panels of the server-manager. An event can consist of multiple actions.

To fire an event from the SME Server shell you simply type

 signal-event event-name

To reboot your server for instance you would type:

  signal-event reboot

More information about [Actions] and [Events] can be found in the [SME Server Developer's Guide].

Custom Templates

Custom templates allow for site specific overrides of normal behaviour.

For example make a change to the firewall.

mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq

cp /etc/e-smith/templates/etc/rc.d/init.d/masq/35transproxy \
/etc/e-smith/templates-custom/etc/rc.d/init.d/masq/

nano -w nano -w /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/35transproxy

signal-event remoteaccess-update

Note, they are not to be used in contrib rpms, if a change is needed in the original fragment raise a bug see http://forums.contribs.org/index.php?topic=35156.0