1 |
slords |
1.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; |