Revome set direction about uucp like localhost.

This commit is contained in:
Darold Gilles 2013-05-12 22:44:10 +02:00
parent e7586292c7
commit ad2bbdfc81
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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