diff --git a/Rocksolid_Light/tools/nocem/nocemlist.inc.php b/Rocksolid_Light/tools/nocem/nocemlist.inc.php index a76dc09..b0579b6 100644 --- a/Rocksolid_Light/tools/nocem/nocemlist.inc.php +++ b/Rocksolid_Light/tools/nocem/nocemlist.inc.php @@ -30,6 +30,10 @@ $nntpserver = "news.example.com"; $nntpuser = "nntpusername"; $nntppassword = "nntppassword"; +// They 'type' for your nocem (spam, abuse, etc.) +// Comma separated +$type = "spam"; + // Your gpg signing key: $signing_key = "XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX"; // URL to view/download key: diff --git a/Rocksolid_Light/tools/nocem/nocemlist.php b/Rocksolid_Light/tools/nocem/nocemlist.php index 74fc9f8..bb726cf 100755 --- a/Rocksolid_Light/tools/nocem/nocemlist.php +++ b/Rocksolid_Light/tools/nocem/nocemlist.php @@ -62,7 +62,7 @@ if(isset($followup_to)) { } fwrite($header_file, "From: $from\n"); fwrite($header_file, "Newsgroups: $spamgroup\n"); -fwrite($header_file, "Subject: @@NCM NoCeM notice $thishash spam/hide ($count $article)\n"); +fwrite($header_file, "Subject: @@NCM NoCeM notice $thishash $type ($count $article)\n"); fwrite($header_file, "Content-Type: text/plain; charset=utf-8; format=flowed\n"); fwrite($header_file, "Content-Transfer-Encoding: 8bit\n"); fwrite($header_file, "Organization: $organization\n"); @@ -85,7 +85,7 @@ fwrite($nocem_file, "For information contact $contact.\n\n"); fwrite($nocem_file, "@@BEGIN NCM HEADERS\n"); fwrite($nocem_file, "Version: 0.93\n"); fwrite($nocem_file, "Issuer: $from_email\n"); -fwrite($nocem_file, "Type: spam\n"); +fwrite($nocem_file, "Type: $type\n"); fwrite($nocem_file, "Action: hide\n"); fwrite($nocem_file, "Count: ".$count."\n"); fwrite($nocem_file, "Notice-ID: ".$thishash."\n");