variable Default_Followup_Headers; Default_Followup_Headers = get_variable_value ("followup_custom_headers"); define followup_hook () { variable h; h = Default_Followup_Headers; if ((0 == strncmp (current_newsgroup, "alt.sysadmin.recovery", 21)) | (0 == strncmp (current_newsgroup, "alt.tech-support.recovery", 25))) { % Generate Approved header h = sprintf ("%sApproved: probably not\n", h); } if (0 == strncmp (current_newsgroup, "bofh.", 5)) { % Generate Distribution header h = sprintf ("%sDistribution: bofh\n", h); } set_string_variable ("followup_custom_headers", h); } variable Default_Custom_Headers; Default_Custom_Headers = get_variable_value ("custom_headers"); define post_hook () { variable h; h = Default_Custom_Headers; if ((0 == strncmp (current_newsgroup, "alt.sysadmin.recovery", 21)) | (0 == strncmp (current_newsgroup, "alt.tech-support.recovery", 25))) { % Generate Approved header h = sprintf ("%sApproved: probably not\n", h); } if (0 == strncmp (current_newsgroup, "bofh.", 5)) { % Generate Distribution header h = sprintf ("%sDistribution: bofh\n", h); } set_string_variable ("custom_headers", h); }