cvs commit: qpsmtpd/plugins sender_permitted_from

[email protected] (Robert Spier)
Newsgroups perl.cvs.qpsmtpd
Message-ID <[email protected]>
cvsuser     04/12/01 23:26:12

  Modified:    plugins  sender_permitted_from
  Log:
  From: Nick Leverton <>
  Subject: SPF plugin: using it in practice (PATCH attached for CVS)
  Date: Tue, 30 Nov 2004 11:35:30 +0000
  Message-ID: <[email protected]>
  
  Revision  Changes    Path
  1.8       +1 -1      qpsmtpd/plugins/sender_permitted_from
  
  Index: sender_permitted_from
  ===================================================================
  RCS file: /cvs/public/qpsmtpd/plugins/sender_permitted_from,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- sender_permitted_from	5 Mar 2004 12:46:24 -0000	1.7
  +++ sender_permitted_from	2 Dec 2004 07:26:11 -0000	1.8
  @@ -45,7 +45,7 @@
     # If we are receving from a relay permitted host, then we are probably
     # not the delivery system, and so we shouldn't check
   
  -  return (DECLINED) if exists $ENV{RELAYCLIENT};
  +  return (DECLINED) if $self->qp->connection->relay_client();
     my @relay_clients = $self->qp->config("relayclients");
     my $more_relay_clients = $self->qp->config("morerelayclients", "map");
     my %relay_clients = map { $_ => 1 } @relay_clients;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.