DAMNIT(8) DAMNIT(8) NNAAMMEE damnit - DAtabase MaNagement InTerface SSYYNNOOPPSSIISS ddaammnniitt [-h] [-d ] [-a ] [-f ] [-l ] DDEESSCCRRIIPPTTIIOONN ddaammnniitt is the database management tool for ggnnaarrwwll((88)) systemadministra- tors to list and/or manipulate ggnnaarrwwll''ss database files. It is not intented to be employed by the average user, who should use LDAP as the only interface to ggnnaarrwwll((88)) OOPPTTIIOONNSS -h Print usage information -f Select output format for database listing (only meaningful with -l). is the template for what the output should look like. The following macros are recognized: %entry, %time, %tstamp, \en and \et. 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\en". Don't forget the trailing new- line. -d [] Delete from . If is omited, damnit will read from stdin (one per line), until either EOF or an empty line is detected. -a [] Add to . If is already stored in , damnit will only update the timestamp. If is omited, damnit will read from stdin (one per line), until either EOF or an emtpy line is detected. -l List database file specified by . DDAATTAABBAASSEE FFIILLEESS ggnnaarrwwll 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, ggnnaarrwwll''ss database files are not copyable between different system architectures. AAUUTTHHOORR Patrick Ahlbrecht SSEEEE AALLSSOO ggnnaarrwwll((88)) FFIILLEESS _/_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, ggnnaarrwwll (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. ggnnaarrwwll 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 ggnnaarrwwll 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, ggnnaarrwwll won't reply to any mail, it is able to match a headerline with an entry in this file. DAMNIT(8)