--- plugins/check_badrcptto.orig        2005-07-02 17:13:11.000000000 +1000
+++ plugins/check_badrcptto     2005-07-02 17:13:18.000000000 +1000
@@ -7,6 +7,9 @@

 sub check_for_badrcptto {
   my ($self, $transaction, $recipient) = @_;
+
+  return (DECLINED) if $self->qp->connection->relay_client();
+
   my @badrcptto = $self->qp->config("badrcptto") or return (DECLINED);
   return (DECLINED) unless $recipient->host && $recipient->user;
   my $host = lc $recipient->host;

Reply via email to