From: Matthew Vernon Date: Sun, 12 Jan 2014 10:30:50 +0000 (+0000) Subject: Disable auto-acks X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~webstump/git?a=commitdiff_plain;h=ec8066e694da29330245bab09b28e559f4ce48fd;p=modbot-ulm.git Disable auto-acks ULM mods decided that the auto-acks (of receipt and acceptance) were more annoying than they were worth, even though they were opt-out-able. So disable this functionality (by the slightly cheeky approach of adjusting the "does this poster want an auto-ack" function to always say no). --- diff --git a/stump/bin/submission.pl b/stump/bin/submission.pl index e49680f..380adec 100755 --- a/stump/bin/submission.pl +++ b/stump/bin/submission.pl @@ -133,14 +133,8 @@ print STDERR "Too many newsgroups\n"; # checks if poster needs acknowledgment of receipt # sub checkAck { - my $fromaddr = $From; - $fromaddr =~ s/^[-A-Za-z]+\s*\:\s*//; - print STDERR "checking noack.list for \"$From|$fromaddr\"\n"; - if( &nameIsInListExactly( $fromaddr, "noack.list" ) ) { - $needAck = "no"; - } else { - $needAck = "yes"; - } + #ULM mods want to disable this, so just return "no" + $needAck = "no"; } ################################################################### checkPGP