https://bugs.contribs.org/show_bug.cgi?id=10111

            Bug ID: 10111
           Summary: wbl whitelist does not fully work with qpsmtpd 0.96
    Classification: SME Server
           Product: SME Server 9.X
           Version: 9.2
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: e-smith-*/smeserver-* packages
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected],
                    [email protected]
        Depends on: 10091
  Target Milestone: ---

+++ This bug was initially created as a clone of Bug #10091 +++

a lot of things have changed with the next update of qpsmtpd

testing if the wbl is still efficient with the new qpsmtpd


a small patch would be necessary to allow  the complete whitelisting to work
again

patch lib/Qpsmtpd/Plugin.pm is_immune to add the other whitelist not already
used...

sub is_immune {
    my $self = shift;

    if ($self->qp->connection->relay_client()) {

        # set by plugins/relay, or Qpsmtpd::Auth
        $self->log(LOGINFO, "skip, relay client");
        return 1;
    }
    if ($self->qp->connection->notes('whitelisthost')) {

        # set by plugins/dns_whitelist_soft or plugins/whitelist
        $self->log(LOGINFO, "skip, whitelisted host");
        return 1;
    }
    if ($self->qp->transaction->notes('whitelistsender')) {

        # set by plugins/whitelist
        $self->log(LOGINFO, "skip, whitelisted sender");
        return 1;
    }
    return;
}


should add support for whitelisthelo

could be something like :

    if ($self->qp->transaction->notes('whitelisthelo')) {

        # set by plugins/whitelist
        $self->log(LOGINFO, "skip, whitelisted helo host");
        return 1;
    }


Referenced Bugs:

https://bugs.contribs.org/show_bug.cgi?id=10091
[Bug 10091] wbl whitelist does not fully work with qpsmtpd 0.96
-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to