Hi Norman,

Yep, I rebuilt James and it seems whitelist for greylisting works fine now.

Thanks.

2010/7/1 Norman Maurer <[email protected]>

> Hi Max,
>
> I just committed a fix. Let us know if it works for you..
>
> Thx,
> Norman
>
> 2010/7/1 Max Levinson <[email protected]>:
> > Hi Norman,
> >
> > Yes I can see this entry in my logs but it seems empty:
> >
> > INFO  18:18:04,180 | james.smtpserver | Whitelisted addresses: []
> >
> > And here is what I got now in my smtpserver.xml (only part which
> responsible
> > for greylisting)
> >
> >   <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>
> >
> > 2010/7/1 Norman Maurer <[email protected]>
> >
> >> Hi Max,
> >>
> >> do  you see anything in logs related to the whitelisting.. It should
> >> appear on james start, something like:
> >>
> >> "Whitelisted addresses: ....."
> >>
> >> Thx,
> >> Norman
> >>
> >>
> >> 2010/7/1 Norman Maurer <[email protected]>:
> >> > Hi Max,
> >> >
> >> > I will try to have a look later today..
> >> >
> >> > Stay tuned...
> >> >
> >> > Bye,
> >> > Norman
> >> >
> >> >
> >> > 2010/7/1 Max Levinson <[email protected]>:
> >> >> 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 :)
> >> >>
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to