welcome: please sign in

Diff for "DomTool/AdditionalClients"

Differences between revisions 3 and 4
Revision 3 as of 2008-07-07 04:28:15
Size: 1581
Editor: localhost
Comment: converted to 1.6 markup
Revision 4 as of 2012-12-20 22:21:24
Size: 1690
Editor: ClintonEbadi
Comment: fwtool
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:

= fwtool =

Documented on FirewallRules. `fwtool regen $node` regenerates the firewall on a given node.

This page documents command-line tools besides the domtool* family that act as DomTool clients. It's aimed at admins. Most members will probably find the most useful documentation on these tools in other places scattered throughout this wiki.

1. dbtool

dbtool handles DBMS user and database creation. See the DomTool Dbms module for the hooks used to add handling for a new database server.

More detail should follow as we figure out how we'll be storing databases.

2. vmail

vmail manages mappings from virtual mailbox e-mail addresses to the locations of their Maildir mailboxes and their IMAP/POP passwords. Data goes into /etc/courier/userdb, which must be owned by the domtool user for vmail to work properly. /etc/courier/exim (text version of mapping database) and /etc/courier/exim.dat (compiled DBM version) are root-owned, and DomTool uses domtool-publish with sudo to manipulate them.

3. setsa

setsa sets SpamAssassin analysis preferences for different e-mail addresses. The set of addresses to filter is those who have files named after them in /etc/spamassassin/addrs, which should be owned by domtool.

4. smtplog

smtplog (previously called rlog) returns lines from the current SMTP log (in /var/log/exim4/mainlog) that contain a domain name. sudo domtool-publish is used to read this root-only file with grep.

5. mysql-fixperms

Runs /usr/bin/sudo -H /afs/hcoop.net/common/etc/scripts/mysql-grant-table-drop to grant users drop permissions on their MySQL tables.

6. fwtool

Documented on FirewallRules. fwtool regen $node regenerates the firewall on a given node.

DomTool/AdditionalClients (last edited 2012-12-20 22:21:24 by ClintonEbadi)