/[smeserver]/rpms/qpsmtpd/sme7/qpsmtpd-0.40-badrcptto_allowrelay.patch
ViewVC logotype

Contents of /rpms/qpsmtpd/sme7/qpsmtpd-0.40-badrcptto_allowrelay.patch

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


Revision 1.1 - (show annotations) (download)
Thu Jun 14 20:01:08 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: qpsmtpd-0_40-1_7_el4_sme, qpsmtpd-0_40-1_6_el4_sme, qpsmtpd-0_40-1_11_el4_sme, qpsmtpd-0_40-1_2_el4_sme, qpsmtpd-0_40-1_4_el4_sme, qpsmtpd-0_83-0_3_el4_sme, qpsmtpd-0_40-1_3_el4_sme, qpsmtpd-0_40-1_0_el4_sme, qpsmtpd-0_83-0_1_el4_sme, qpsmtpd-0_83-0_2_el4_sme, qpsmtpd-0_40-1_5_el4_sme, qpsmtpd-0_40-1_9_el4_sme, qpsmtpd-0_40-1_12_el4_sme, qpsmtpd-0_40-1_10_el4_sme, qpsmtpd-0_40-1_1_el4_sme
Branch point for: qpsmtpd-0_40
Fixes for 0.40

1 --- qpsmtpd-0.40/plugins/check_badrcptto.badrcptto_allowrelay 2007-06-14 11:57:24.000000000 -0600
2 +++ qpsmtpd-0.40/plugins/check_badrcptto 2007-06-14 13:26:42.000000000 -0600
3 @@ -3,6 +3,7 @@
4
5 sub hook_rcpt {
6 my ($self, $transaction, $recipient, %param) = @_;
7 + return (DECLINED) if $self->qp->connection->relay_client;
8 my @badrcptto = $self->qp->config("badrcptto") or return (DECLINED);
9 return (DECLINED) unless $recipient->host && $recipient->user;
10 my $host = lc $recipient->host;

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