chiark / gitweb /
Make noack honoured for approvals too
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 2 Feb 2011 23:49:47 +0000 (23:49 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 2 Feb 2011 23:53:05 +0000 (23:53 +0000)
stump/bin/needAck

index 3a0b663..3f75413 100755 (executable)
@@ -9,7 +9,9 @@ require "$MNG_ROOT/bin/robomod.pl";
 # checks if poster needs ack
 sub checkAck {
 
-  $needAck = ! &nameIsInListExactly( $From, "noack.list" );
+  my $fromaddr = $From;
+  $fromaddr =~ s/^[-A-Za-z]+\s*\:\s*//;
+  $needAck = ! &nameIsInListExactly( $fromaddr, "noack.list" );
 
 }