/[smeserver]/rpms/qpsmtpd/sme8/qpsmtpd-0.32-check_badrcptto.patch
ViewVC logotype

Contents of /rpms/qpsmtpd/sme8/qpsmtpd-0.32-check_badrcptto.patch

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


Revision 1.2 - (show annotations) (download)
Thu Jun 14 20:07:19 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import on branch sme8 of package qpsmtpd-0.40-1.0.el5.sme.src.rpm

1 diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.31-dev/plugins/check_badrcptto mezzanine_patched_qpsmtpd-0.31-dev/plugins/check_badrcptto
2 --- qpsmtpd-0.31-dev/plugins/check_badrcptto 2005-07-07 14:17:39.000000000 +1000
3 +++ mezzanine_patched_qpsmtpd-0.31-dev/plugins/check_badrcptto 2005-11-04 11:45:53.032732991 +1100
4 @@ -3,6 +3,7 @@
5
6 sub hook_rcpt {
7 my ($self, $transaction, $recipient) = @_;
8 + return (DECLINED) if $self->qp->connection->relay_client;
9 my @badrcptto = $self->qp->config("badrcptto") or return (DECLINED);
10 return (DECLINED) unless $recipient->host && $recipient->user;
11 my $host = lc $recipient->host;

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