Skip to content
Snippets Groups Projects
Commit 3e5e8010 authored by Kate Dawson's avatar Kate Dawson
Browse files

Remove Debug

parent 9b32e590
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ def process_requests(env)
args = {}
while line = gets
# Fill up args with the request details.
logger.err "KDDEBUG line %s", line
# logger.err "KDDEBUG line %s", line
line = line.chomp
if line.empty?
process_single_request(args, env)
......@@ -50,7 +50,7 @@ def process_requests(env)
end
def process_single_request(args, env)
logger.err "KDDEBUG args %s", args
# logger.err "KDDEBUG args %s", args
action = 'dunno'
if args['request'] != 'smtpd_access_policy'
action = 'defer_if_permit Internal error, Request type invalid'
......@@ -91,7 +91,7 @@ def maybe_reject_email(from, to, env)
begin
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
logger.err "KDDEBUG request_uri %s", uri.request_uri
# logger.err "KDDEBUG request_uri %s", uri.request_uri
get = Net::HTTP::Get.new(uri.request_uri)
response = http.request(get)
rescue StandardError => ex
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment