From a69cd6bf64c31e46d66f44d3965d151c74a722f2 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Wed, 23 May 2012 22:58:32 -0400 Subject: [PATCH] basicheaders: adding missing semicolon, fixed POD error --- plugins/check_basicheaders | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/check_basicheaders b/plugins/check_basicheaders index 944ae9d..9d1589d 100644 --- a/plugins/check_basicheaders +++ b/plugins/check_basicheaders @@ -35,7 +35,7 @@ I would be surprised if a valid message ever had a date header older than a week Determine if the connection is denied. Use the I option when first enabling the plugin, and then watch your logs to see what would have been rejected. When you are no longer concerned that valid messages will be rejected, enable with I. - check_basicheaders [ reject 0 | 1 ] + check_basicheaders reject [ 0 | 1 ] Default policy is to reject. @@ -116,7 +116,7 @@ sub hook_data_post { if ( ! $header->get('From') ) { $self->log(LOGINFO, "fail: no from"); - return ($deny, "We require a valid From header") + return ($deny, "We require a valid From header"); }; my $date = $header->get('Date') or do {