Is it possible to modify check_basicheaders to ignore email from whitelisted sources? I'd like to use the plugin, but with the ability to whitelist some systems that send automated emails that otherwise fail.

Is it enough to add
  # 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');

somewhere in the existing plugin?

Reply via email to