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 3a0b663e1e8e0b6bdd7f4751a545abf214419d70..3f754132ecd04007f48544c9b51596c960ef9469 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" );
 
 }