> On 08 Apr 2016, at 17:08, Joerg Jung <[email protected]> wrote:
> 
> 
> 
>> Am 08.04.2016 um 16:56 schrieb Michiel van Es <[email protected]>:
>> 
>>> On Fri, Apr 08, 2016 at 04:29:55PM +0200, Michiel van Es wrote:
>>> On Fri, Apr 08, 2016 at 03:44:16PM +0200, Joerg Jung wrote:
>>> <snip>
>>>>> 
>>>>> 
>>>> 
>>>> For now I’m out of ideas how to solve the EAI_NODATA -5 vs -2 problem and 
>>>> where it exactly comes from. 
>>>> I need to install Ubuntu myself to figure out. Maybe I find some time on 
>>>> Weekend to do so.
>>>> 
>>>> As hacky-whacky-workaround-bad-idea-but-quick-hack you can add the 
>>>> following in line 43:
>>>> 
>>>>  #define MY_EAI_NODATA -5
>>>> 
>>>> and then use it one line later like this:
>>>> 
>>>>  if (ar->ar_gai_errno != EAI_NODATA && ar->ar_gai_errno != EAI_NONAME && 
>>>> ar->ar_gai_errno != MY_EAI_NODATA) {
>>> 
>>> Sorry, I lost track of to add this which file, which file should be 
>>> altered? :)
>> Added the entries to filter_dnsbl.c and recompiled.
>>> 
>>>>  …
>>>> 
>>>> This should really make the filter work for you, but is a very ugly hack.
>>>> 
>>>> You opened a bug report already anyways, I will try to resolve this with a 
>>>> good solution.
>>> 
>>> Ok, I will use the ugly hack for now to stop the spam mess and git pull the 
>>> new change later on and recompile.
>> Ok, I am now getting:
>> 
>> Apr  8 16:54:57 server filter-dnsbl-surriel[17901]: warn: DEBUG: 
>> ar_gai_errno=-5, EAI_NODATA=-2, EAI_NONAME=-2, gai_strerror=‘No address 
>> associated with hostname'
>> Apr  8 16:54:57 server filter-dnsbl-spamhaus[17900]: warn: DEBUG: 
>> ar_gai_errno=-5, EAI_NODATA=-2, EAI_NONAME=-2, gai_strerror=‘No address 
>> associated with hostname'
>> 
>> This is correct?
> 
> Yes, and the mail goes through now, right!?

Yes.

> 
> You can of course remove the additional DEBUG 
> log right before the if statement now, this was
> just for me to see the error number(s)

I will remove it later.
I do get also the following:

Apr  8 17:58:55 server smtpd[17896]: smtp-in: New session 7dc7202ec8c95247 from 
host 218.241.238.141 [218.241.238.141]
Apr  8 17:59:01 server filter-dnsbl-surriel[17901]: warn: DEBUG: 
ar_gai_errno=0, EAI_NODATA=-2, EAI_NONAME=-2, gai_strerror=‘Unknown error'
Apr  8 17:59:01 server filter-dnsbl-surriel[17901]: warn: session 
7dc7202ec8c95247: event_dispatch: REJECT address ar_gai_errno=0
Apr  8 17:59:01 server smtpd[17896]: smtp-in: Failed command on session 
7dc7202ec8c95247: "" => 554 5.7.1 Address in DNSBL

and

Apr  8 17:41:27 server filter-dnsbl-spamhaus[17900]: warn: DEBUG: 
ar_gai_errno=0, EAI_NODATA=-2, EAI_NONAME=-2, gai_strerror=‘Unknown error'
Apr  8 17:41:27 server filter-dnsbl-spamhaus[17900]: warn: session 
7dc7202ac46f75ad: event_dispatch: REJECT address ar_gai_errno=0
Apr  8 17:41:27 server smtpd[17896]: smtp-in: Failed command on session 
7dc7202ac46f75ad: "" => 554 5.7.1 Address in DNSBL
Apr  8 17:41:27 server smtpd[17896]: smtp-in: Closing session 7dc7202ac46f75ad

I would expect something like: hit or true instead of Unknown error.
These mails are blocked but I am wondering if it is correct and that just the 
error message is just not so ‘correct’.
I can confirm that the ip’s are listed in either psbl.surriel.com or 
zen.spamhaus.org so I think everything goes by the book :)

Thanks for your help and let me/us know when you officially fixed it (I will 
check my github issue off course).

Cheers,

Michiel



> 
>>> -- 
>>> You received this mail because you are subscribed to [email protected]
>>> To unsubscribe, send a mail to: [email protected]
>> 
>> -- 
>> You received this mail because you are subscribed to [email protected]
>> To unsubscribe, send a mail to: [email protected]
>> 
> 
> 
> --
> You received this mail because you are subscribed to [email protected]
> To unsubscribe, send a mail to: [email protected]
> 


--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to