James Server
  1. James Server
  2. JAMES-1024

JDBCGreylistHandler does not respect the whitelistedNetworks configuration

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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

        Activity

        Norman Maurer created issue -
        Hide
        Norman Maurer added a comment -

        Should be fixed now.. Thx for the report!

        Show
        Norman Maurer added a comment - Should be fixed now.. Thx for the report!
        Norman Maurer made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12514782 ] Default workflow, editable Closed status [ 12566820 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12566820 ] jira [ 12581892 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development