Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] garbled envelope-from in milter-greylist 4.0.1

2008-09-12 by manu@netbsd.org

Petar Bogdanovic <petar@...> wrote:

> Erm, maybe it's too early and I don't see what you see, but this
> actually is the problem.
> 
> I did a quick test with:
> 
>       - if ((idx = rindex(tmpfrom, '=')) == NULL)
>       + /* if ((idx = rindex(tmpfrom, '=')) == NULL) */
>               idx = tmpfrom;
> 
> and it worked:

So what about this?

         if ((idx = rindex(tmpfrom, '=')) != NULL)
                         idx++;
        else
                idx = tmpfrom;


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

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.