Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] urlcheck bug ?

2008-04-07 by Benoit Branciard

Benoit Branciard a \ufffdcrit :
> manu@... a \ufffdcrit :
>> Benoit Branciard <benoit.branciard@...> wrote:
>>
>>> My scripts output only \n's, and I just verified Apache didn't mangle
>>> them to something else.
>>>
>>> Should they send \r\n's ?
>> No, it was just an idea. 

I think end-of-lines are out of concern.

If I get my test script output \r\n's:

echo -e "milterGreylistStatus: Ok\r"
echo -e "milterGreylistMsg: You are not allowed to connect\r"

errors in mail.log become:

milter-greylist: ignoring unepxected "milterGreylistStatus" => "Ok^M"
milter-greylist: ignoring unepxected "ncmilterGreylistMsg" => "You are 
not allowed to connect"

Problem is still present, and \r are not stripped and interfer with 
parameter values parsing.

I can't find a logic error in answer_parse() in urlcheck.c, so I believe 
data corruption occurs *before* this fucntion is called, but why/where...
Manual wget or lynx of my script URL return correct contents.

-- 
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.