1 |
charliebrady |
1.1.2.1 |
diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.40/plugins/require_resolvable_fromhost mezzanine_patched_qpsmtpd-0.40/plugins/require_resolvable_fromhost |
2 |
|
|
--- qpsmtpd-0.40/plugins/require_resolvable_fromhost 2009-11-23 15:32:17.955491000 -0500 |
3 |
|
|
+++ mezzanine_patched_qpsmtpd-0.40/plugins/require_resolvable_fromhost 2009-11-23 15:31:59.615573000 -0500 |
4 |
|
|
@@ -56,10 +56,10 @@ |
5 |
|
|
# if any MX is valid, then we consider the domain |
6 |
|
|
# resolvable |
7 |
|
|
return 1 if mx_valid($self, $mx->exchange, $host); |
8 |
|
|
- # if there are MX records, and we got here, |
9 |
|
|
- # then none of them are valid |
10 |
|
|
- return 0 if (@mx > 0); |
11 |
|
|
} |
12 |
|
|
+ # if there are MX records, and we got here, |
13 |
|
|
+ # then none of them are valid |
14 |
|
|
+ return 0 if (@mx > 0); |
15 |
|
|
my $query = $res->search($host); |
16 |
|
|
if ($query) { |
17 |
|
|
foreach my $rrA ($query->answer) { |