NAME
damnit ‐ DAtabase MaNagement InTerface
SYNOPSIS
damnit [‐h] [‐d <file> <value>] [‐a <file> <value>]
[‐f <string>]
[‐l <file>]
DESCRIPTION
damnit is the database management tool for gnarwl(8)
systemadministra‐
tors to list and/or manipulate gnarwl’s database
intented to be employed by the average user, who should
only interface to gnarwl(8)
OPTIONS
‐h Print usage information
‐f <string>
Select output format for database listing (only
‐l). <string> is the template for what the output
like. The following macros are recognized:
%entry, %time,
%tstamp, \n and \t. Translating to the entry
entrytime (in human readable form), the
stamp), a newline character, and a tab character.
format is: "%time ‐> %entry\n". Don’t forget the
line.
‐d <file> [<value>]
Delete <value> from <file>. If <value> is omited,
read <value> from stdin (one per line), until
empty line is detected.
‐a <file> [<value>]
Add <value> to <file>. If <value> is already stored
damnit will only update the timestamp. If
<value> is omited,
damnit will read <value> from stdin (one per line),
EOF or an emtpy line is detected.
‐l <file>
List database file specified by <file>.
DATABASE FILES
gnarwl uses hashfiles for storing information on disk.
datasets consist of key and value pairs. The key is always
minated character string, while the value contains the
the key was entered (last time) into the file. This
type time_t (as returned by time(2)) and therefore,
gnarwl’s database
files are not copyable between different system
architectures.
AUTHOR
Patrick Ahlbrecht <p.ahlbrecht@billiton.de>
SEE ALSO
gnarwl(8)
FILES
/build/buildd/gnarwl3.6.dfsg/debian/gnarwl/var/lib/gnarwl/block/*
Every file in this directory represents an
emailaddress, gnarwl
(already) received a mail for. Every time, gnarwl
autorreply for an address, the recepient of that
into the according file. gnarwl will not
autoreplies for this sender/receiver combo, until
specified in gnarwl.cfg expires.
/build/buildd/gnarwl3.6.dfsg/debian/gnarwl/var/lib/gnarwl/blacklist.db
Emailaddresses listed as keys in this file are
autoresponding (the addresses of root, postmaster,
the like should be put herin). Note: The complete
mailaddress,
as it would appear in an email, must be
gnarwl checks these "as‐is".
/build/buildd/gnarwl3.6.dfsg/debian/gnarwl/var/lib/gnarwl/badhead
ers.db
Each entry in this file represent a line that may
the header of a received email. That is, gnarwl
any mail, it is able to match a headerline with an
file.