You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Max Levinson <ma...@gmail.com> on 2010/07/01 15:46:18 UTC
Looks like a bug in org.apache.james.smtpserver.fastfail.JDBCGreylistHandler
(James 3 built from trunk)
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 :)
Re: Looks like a bug in org.apache.james.smtpserver.fastfail.JDBCGreylistHandler
(James 3 built from trunk)
Posted by Norman Maurer <no...@apache.org>.
Perfect.... thx for the feedback !
Bye,
Norman
2010/7/2 Max Levinson <ma...@gmail.com>:
> Hi Norman,
>
> Yep, I rebuilt James and it seems whitelist for greylisting works fine now.
>
> Thanks.
>
> 2010/7/1 Norman Maurer <no...@apache.org>
>
>> Hi Max,
>>
>> I just committed a fix. Let us know if it works for you..
>>
>> Thx,
>> Norman
>>
>> 2010/7/1 Max Levinson <ma...@gmail.com>:
>> > 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 <no...@apache.org>
>> >
>> >> 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 <no...@apache.org>:
>> >> > Hi Max,
>> >> >
>> >> > I will try to have a look later today..
>> >> >
>> >> > Stay tuned...
>> >> >
>> >> > Bye,
>> >> > Norman
>> >> >
>> >> >
>> >> > 2010/7/1 Max Levinson <ma...@gmail.com>:
>> >> >> 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: server-user-unsubscribe@james.apache.org
>> >> For additional commands, e-mail: server-user-help@james.apache.org
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Looks like a bug in org.apache.james.smtpserver.fastfail.JDBCGreylistHandler
(James 3 built from trunk)
Posted by Max Levinson <ma...@gmail.com>.
Hi Norman,
Yep, I rebuilt James and it seems whitelist for greylisting works fine now.
Thanks.
2010/7/1 Norman Maurer <no...@apache.org>
> Hi Max,
>
> I just committed a fix. Let us know if it works for you..
>
> Thx,
> Norman
>
> 2010/7/1 Max Levinson <ma...@gmail.com>:
> > 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 <no...@apache.org>
> >
> >> 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 <no...@apache.org>:
> >> > Hi Max,
> >> >
> >> > I will try to have a look later today..
> >> >
> >> > Stay tuned...
> >> >
> >> > Bye,
> >> > Norman
> >> >
> >> >
> >> > 2010/7/1 Max Levinson <ma...@gmail.com>:
> >> >> 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: server-user-unsubscribe@james.apache.org
> >> For additional commands, e-mail: server-user-help@james.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
Re: Looks like a bug in org.apache.james.smtpserver.fastfail.JDBCGreylistHandler
(James 3 built from trunk)
Posted by Norman Maurer <no...@apache.org>.
Hi Max,
I just committed a fix. Let us know if it works for you..
Thx,
Norman
2010/7/1 Max Levinson <ma...@gmail.com>:
> 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 <no...@apache.org>
>
>> 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 <no...@apache.org>:
>> > Hi Max,
>> >
>> > I will try to have a look later today..
>> >
>> > Stay tuned...
>> >
>> > Bye,
>> > Norman
>> >
>> >
>> > 2010/7/1 Max Levinson <ma...@gmail.com>:
>> >> 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: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Looks like a bug in org.apache.james.smtpserver.fastfail.JDBCGreylistHandler
(James 3 built from trunk)
Posted by Max Levinson <ma...@gmail.com>.
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 <no...@apache.org>
> 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 <no...@apache.org>:
> > Hi Max,
> >
> > I will try to have a look later today..
> >
> > Stay tuned...
> >
> > Bye,
> > Norman
> >
> >
> > 2010/7/1 Max Levinson <ma...@gmail.com>:
> >> 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: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
Re: Looks like a bug in org.apache.james.smtpserver.fastfail.JDBCGreylistHandler
(James 3 built from trunk)
Posted by Norman Maurer <no...@apache.org>.
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 <no...@apache.org>:
> Hi Max,
>
> I will try to have a look later today..
>
> Stay tuned...
>
> Bye,
> Norman
>
>
> 2010/7/1 Max Levinson <ma...@gmail.com>:
>> 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: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Looks like a bug in org.apache.james.smtpserver.fastfail.JDBCGreylistHandler
(James 3 built from trunk)
Posted by Norman Maurer <no...@apache.org>.
Hi Max,
I will try to have a look later today..
Stay tuned...
Bye,
Norman
2010/7/1 Max Levinson <ma...@gmail.com>:
> 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: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org