Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1024

JDBCGreylistHandler does not respect the whitelistedNetworks configuration

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0-M1
    • Component/s: SMTPServer
    • Labels:
      None

      Description

      From ml:

      Hi,

      I am having problem which seems to be a bug in
      org.apache.james.smtpserver.fastfail.JDBCGreylistHandler

      Here is what I have in smtpserver.xml

      <handler
      class="org.apache.james.smtpserver.fastfail.JDBCGreylistHandler">
      <repositoryPath>db://maildb</repositoryPath>
      <sqlFile>file://conf/sqlResources.xml</sqlFile>
      <tempBlockTime>1 minute</tempBlockTime>
      <unseenLifeTime>4 hours</unseenLifeTime>
      <autoWhiteListLifeTime>36 days</autoWhiteListLifeTime>
      <whitelistedNetworks>127.0.0.0/8,74.125.82.0/24</whitelistedNetworks>
      </handler>

      Greylisting works perfectly, adds triplets to database etc. But when I
      decided to add entries into whitelistedNetworks(for example I've added a
      whole Google range to avoid any greylisting to be applied to emails coming
      from Google, this whitelist seems not to be working because triplets are
      still getting added to DB and emails are getting bounced with 451 4.4.3
      Temporary rejected: Please try again later.

      I was thinking maybe it is a problem with comma and tested like this:
      <whitelistedNetworks>127.0.0.0/8 74.125.82.0/24</whitelistedNetworks>
      or like this:
      <whitelistedNetworks>127.0.0.0/8, 74.125.82.0/24</whitelistedNetworks>

      Still no luck. Looks like a bug, please help

        Attachments

          Activity

            People

            • Assignee:
              norman Norman Maurer
              Reporter:
              norman Norman Maurer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: