ezmlm-clean(1) ezmlm-clean(1) NNAAMMEE ezmlm-clean - clean moderation directory SSYYNNOOPPSSIISS eezzmmllmm--cclleeaann [[mmMMrrRRvvVV]] _d_i_r DDEESSCCRRIIPPTTIIOONN If _d_i_r//mmooddppoosstt exists, eezzmmllmm--cclleeaann sends out messages for timed-out posts in the moderation directory and removes stubs for rejected and accepted posts for the mailing list stored in _d_i_r. If _d_i_r//mmooddppoosstt does not exist, eezzmmllmm--cclleeaann does nothing and exits. eezzmmllmm--cclleeaann reads _d_i_r//mmooddttiimmee and extracts a time-out ‘‘time’’ in hours from it. If ‘‘time’’ is 0 or _d_i_r//mmooddttiimmee is empty or doesn’t exist, a default of 120 h is used. If a time is given, it is limited to the range 24 h to 240 h. eezzmmllmm--cclleeaann then looks through _d_i_r//mmoodd//aacccceepptteedd// and _d_i_r//mmoodd//rreejjeecctteedd// and removes message stubs older than ‘‘time’’. ‘‘Time’’ is a minimum retention time. Since the files are processed only when eezzmmllmm--cclleeaann is run, the delay before a message is timed-out may be substantially longer if the list does not receive many messages. Message age determined by the time parsed _f_r_o_m _t_h_e _f_i_l_e _n_a_m_e_, not from the creation time. Thus, there is no good way to extend the life of the file by e.g. touching it. Also, files in these directories are not checked for the proper format. Thus, most non-message files in these directories will be deleted the first time eezzmmllmm--cclleeaann is run. For messages in _d_i_r//mmoodd//ppeennddiinngg// no action is taken on read-only files. Messages without the owner execute bit set are silently removed, as they are the result of incomplete eezzmmllmm--ssttoorree((11)) executions. For other messages, a notification of the time out is sent to the sender, before the file is removed. eezzmmllmm--cclleeaann logs errors to the mail log. Re-delivery should be avoided by suffixing any _._q_m_a_i_l line invoking eezzmmllmm--cclleeaann with ’|| exit 0’. OOPPTTIIOONNSS --mm (Default.) The timed-out post is sent as a MIME enclosure. --MM The timed-out post is appended to the message. --rr (Default.) The timed-out post is returned to sender. --RR The timed-out post is discarded without sender notification. NNoottee:: eezzmmllmm--cclleeaann is normally run from both _d_i_r//eeddiittoorr and _d_i_r//mmooddeerraattoorr. To suppress sender notification, the switch needs to be specified for all invocations of eezzmmllmm--cclleeaann. --vv Display eezzmmllmm--cclleeaann version information. --VV Display eezzmmllmm--cclleeaann version information. CCHHAARRAACCTTEERR SSEETTSS If _d_i_r//cchhaarrsseett exists, eezzmmllmm--cclleeaann will use the character set listed for all messages. Otherwise, the default ‘‘us-ascii’’ will be used. The character set can be suffixed by ‘‘:’’ followed by a code. If the code is ‘‘Q’’, outgoing messages are sent as ‘‘Quoted-Printable’’, if it is ‘‘B’’ they are sent ‘‘base64’’ encoded. Otherwise, text is sent as is. SSEEEE AALLSSOO ezmlm-make(1), ezmlm-moderate(1), ezmlm-store(1), ezmlm(5) ezmlm-clean(1)