/[smeserver]/rpms/qpsmtpd/sme7/qpsmtpd-0.40-resolvable_fromhost.patch2
ViewVC logotype

Contents of /rpms/qpsmtpd/sme7/qpsmtpd-0.40-resolvable_fromhost.patch2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.2.1 - (show annotations) (download)
Tue Nov 24 17:17:43 2009 UTC (14 years, 7 months ago) by charliebrady
Branch: qpsmtpd-0_40
CVS Tags: qpsmtpd-0_40-1_12_el4_sme
Changes since 1.1: +17 -0 lines
Fix bad patch for require_resolvable_fromhost bug (multiple MXs).

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) {

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed