Permalink
Browse files

Ensure "action=" prefix is provided with policy response

  • Loading branch information...
1 parent 38d1cee commit 3fa5540eb49310d15cad1d806ca2b1d3cf639848 @purcell committed Aug 30, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 bin/postfix-policy-whois
View
@@ -59,8 +59,7 @@ while true
puts "Rejecting mail due to registrar: #{sender}"
end
- client.write(dodgy ? "REJECT" : "DUNNO")
- client.write("\n")
+ client.write("action=" + (dodgy ? "REJECT" : "DUNNO") + "\n")
client.write("\n")
client.close

0 comments on commit 3fa5540

Please sign in to comment.