Chris Babcock wrote:

A quick dump of the plugins config shows the greylisting plugin after the check_relay plugin. If I'm reading the code right, check_relay does the checks but the rejection doesn't happen until the rcpt_ok plugin runs. So, it looks like the greylisting plugin intervenes before rcpt_ok throws the "Relaying denied" message.

The greylisting plugin should respect check_relay and ignore relay clients. There's a block of tests in sub denysoft_greylist that check for exceptions, which is why I wondered about the plugin order :

  # Always allow relayclients and whitelisted hosts/senders
  return DECLINED if $self->qp->connection->relay_client();
  return DECLINED if $self->qp->connection->notes('whitelisthost');
  return DECLINED if $transaction->notes('whitelistsender');

If that's not it I'll need to leave it to someone with a better understanding of the greylisting plugin to work out what's happening - it seems to be working OK here.

Jim.


--
      DigitalDaemons IT Services.
---------------------------------------
   E-Mail : [EMAIL PROTECTED]
       PGP Key ID : 0xB7066495

Reply via email to