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

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

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


Revision 1.4 - (show annotations) (download)
Sat Oct 31 16:50:52 2009 UTC (15 years ago) by slords
Branch: MAIN
CVS Tags: qpsmtpd-0_84-3_el5_sme, qpsmtpd-0_84-0_1_el5_sme, qpsmtpd-0_84-6_el5_sme, qpsmtpd-0_84-8_el5_sme, qpsmtpd-0_83-0_4_el5_sme, qpsmtpd-0_83-0_5_el5_sme, qpsmtpd-0_84-9_el5_sme, qpsmtpd-0_84-7_el5_sme, qpsmtpd-0_84-2_el5_sme, qpsmtpd-0_83-0_6_el5_sme, qpsmtpd-0_84-4_el5_sme, qpsmtpd-0_83-0_7_el5_sme, qpsmtpd-0_84-5_el5_sme, HEAD
Changes since 1.3: +1 -1 lines
Error occurred while calculating annotation data.
See changelog

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 @@ -4,6 +4,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