From ad2bbdfc81e281e232e06752a9ad7ccb4975d897 Mon Sep 17 00:00:00 2001 From: Darold Gilles Date: Sun, 12 May 2013 22:44:10 +0200 Subject: [PATCH] Revome set direction about uucp like localhost. --- cgi-bin/sa_report.cgi | 2 +- sa_cache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi-bin/sa_report.cgi b/cgi-bin/sa_report.cgi index c65b888..5f2f9ad 100755 --- a/cgi-bin/sa_report.cgi +++ b/cgi-bin/sa_report.cgi @@ -1833,7 +1833,7 @@ sub set_direction ###### Now check for destination # If the recipient relay is localhost, it should be distributed internally - if (grep(/^$STATS{$id}{rcpt_relay}[$i]$/, 'localhost', 'uucp')) { + if (grep(/^$STATS{$id}{rcpt_relay}[$i]$/, 'localhost')) { $direction .= 'Int'; # If this host is a mail gateway and the recipient relay match one of # our destination hub lets say it should be distributed internally diff --git a/sa_cache b/sa_cache index 7397dca..13e70c9 100644 --- a/sa_cache +++ b/sa_cache @@ -3762,7 +3762,7 @@ sub set_direction ###### Now check for destination # If the recipient relay is localhost, it should be distributed internally - if (grep(/^$STATS->{$id}{rcpt_relay}[$i]$/, 'localhost', 'uucp')) { + if (grep(/^$STATS->{$id}{rcpt_relay}[$i]$/, 'localhost')) { $direction .= 'Int'; # If this host is a mail gateway and the recipient relay match one of # our destination hub lets say it should be distributed internally