Add Followup-To header for nocem tool.
This commit is contained in:
parent
079ad45764
commit
5307591089
|
@ -17,7 +17,7 @@
|
|||
|
||||
// Where these scripts reside and messages are created: (end with '/')
|
||||
// You must have write access to this directory
|
||||
$workpath = "/home/paris/BBS/nocem/";
|
||||
$workpath = "/home/user/nocem/";
|
||||
|
||||
$domain = "your_domain";
|
||||
$organization = "your_organization";
|
||||
|
@ -43,6 +43,9 @@ $spamgroup = "alt.test,misc.test";
|
|||
$hierarchies = "the alt.* and de.* hierarchies";
|
||||
// $hierarchies = "ALL hierarchies";
|
||||
|
||||
// Add group to Followup-To header. Leave blank for no header
|
||||
$followup_to = "news.admin.net-abuse.usenet";
|
||||
|
||||
// EDIT THE BELOW LINES to reflect your specific needs
|
||||
// NOTE: You may comment out any lines below you do not want
|
||||
|
||||
|
|
|
@ -57,6 +57,9 @@ if($count < 2) {
|
|||
}
|
||||
|
||||
fwrite($header_file, "Message-ID: <$thishash@$domain>\n");
|
||||
if(isset($followup_to)) {
|
||||
fwrite($header_file, "Followup-To: $followup_to\n");
|
||||
}
|
||||
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");
|
||||
|
|
Loading…
Reference in New Issue