Scroll to navigation

() ()
DAMNIT(8) DAMNIT(8)
 
 
 
N?NA?AM?ME?E
damnit - DAtabase MaNagement InTerface
 
 
S?SY?YN?NO?OP?PS?SI?IS?S
d?da?am?mn?ni?it?t [-h] [-d <file> <value>] [-a <file> <value>] [-f <string>]
[-l <file>]
 
 
D?DE?ES?SC?CR?RI?IP?PT?TI?IO?ON?N
d?da?am?mn?ni?it?t is the database management tool for g?gn?na?ar?rw?wl?l(?(8?8)?) systemadministra-
tors to list and/or manipulate g?gn?na?ar?rw?wl?l'?'s?s database files. It is not
intented to be employed by the average user, who should use LDAP as the
only interface to g?gn?na?ar?rw?wl?l(?(8?8)?)
 
 
O?OP?PT?TI?IO?ON?NS?S
-h Print usage information
 
 

-f <string>
Select output format for database listing (only meaningful with
-l). <string> is the template for what the output should look
like. The following macros are recognized: %entry, %time,
%tstamp, \n and \t. Translating to the entry itself, the
entrytime (in human readable form), the entrytime (as time-
stamp), a newline character, and a tab character. The default
format is: "%time -> %entry\n". Don't forget the trailing new-
line.
 
 

-d <file> [<value>]
Delete <value> from <file>. If <value> is omited, damnit will
read <value> from stdin (one per line), until either EOF or an
empty line is detected.
 
 

-a <file> [<value>]
Add <value> to <file>. If <value> is already stored in <file>,
damnit will only update the timestamp. If <value> is omited,
damnit will read <value> from stdin (one per line), until either
EOF or an emtpy line is detected.
 
 

-l <file>
List database file specified by <file>.
 
 
D?DA?AT?TA?AB?BA?AS?SE?E F?FI?IL?LE?ES?S
g?gn?na?ar?rw?wl?l uses hashfiles for storing information on disk. Meaning, all
datasets consist of key and value pairs. The key is always a NULL ter-
minated character string, while the value contains the timestamp, when
the key was entered (last time) into the file. This timestamp is of
type time_t (as returned by time(2)) and therefore, g?gn?na?ar?rw?wl?l'?'s?s database
files are not copyable between different system architectures.
 
 
A?AU?UT?TH?HO?OR?R
Patrick Ahlbrecht <p.ahlbrecht@billiton.de>
 
 
S?SE?EE?E A?AL?LS?SO?O
g?gn?na?ar?rw?wl?l(?(8?8)?)
 
 
F?FI?IL?LE?ES?S
_?/_?t_?m_?p_?/_?b_?u_?i_?l_?d_?d_?/_?g_?n_?a_?r_?w_?l_?-_?3_?._?6_?._?d_?f_?s_?g_?/_?d_?e_?b_?i_?a_?n_?/_?g_?n_?a_?r_?w_?l_?/_?v_?a_?r_?/_?l_?i_?b_?/_?g_?n_?a_?r_?w_?l_?/_?b_?l_?o_?c_?k_?/_?*
Every file in this directory represents an emailaddress, g?gn?na?ar?rw?wl?l
(already) received a mail for. Every time, gnarwl sends out an
autorreply for an address, the recepient of that mail is locked
into the according file. g?gn?na?ar?rw?wl?l will not send any further
autoreplies for this sender/receiver combo, until the timeout
specified in gnarwl.cfg expires.
 

_?/_?t_?m_?p_?/_?b_?u_?i_?l_?d_?d_?/_?g_?n_?a_?r_?w_?l_?-_?3_?._?6_?._?d_?f_?s_?g_?/_?d_?e_?b_?i_?a_?n_?/_?g_?n_?a_?r_?w_?l_?/_?v_?a_?r_?/_?l_?i_?b_?/_?g_?n_?a_?r_?w_?l_?/_?b_?l_?a_?c_?k_?l_?i_?s_?t_?._?d_?b
Emailaddresses listed as keys in this file are not subject to
autoresponding (the addresses of root, postmaster, webmaster and
the like should be put herin). Note: The complete mailaddress,
as it would appear in an email, must be specified here, as
g?gn?na?ar?rw?wl?l checks these "as-is".
 

_?/_?t_?m_?p_?/_?b_?u_?i_?l_?d_?d_?/_?g_?n_?a_?r_?w_?l_?-_?3_?._?6_?._?d_?f_?s_?g_?/_?d_?e_?b_?i_?a_?n_?/_?g_?n_?a_?r_?w_?l_?/_?v_?a_?r_?/_?l_?i_?b_?/_?g_?n_?a_?r_?w_?l_?/_?b_?a_?d_?h_?e_?a_?d_?e_?r_?s_?._?d_?b
Each entry in this file represent a line that may not occur in
the header of a received email. That is, g?gn?na?ar?rw?wl?l won't reply to
any mail, it is able to match a headerline with an entry in this
file.
 
 
 

DAMNIT(8)
June 7, 2017