Re: [exim] nhash - how to reproduce?

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] nhash - how to reproduce?
On 04/08/17 09:09, Rob Gunther via Exim-users wrote:
> I am looking at nhash in exim to store email into different folders to
> prevent too many messages in a single folder.
>
> How does nhash actually work though? If I have exim store the message
> based on this hash but I want to look up where said message was stored
> using some other system, how can I calculate the hash to I know where the
> file is?


Ask exim to calculate the hash again? See "exim -be".

> So I guess I am looking for the logic, so I can produce it in another
> language so I can find my mail...


https://git.exim.org/exim.git/blob/HEAD:/src/src/expand.c#l1472

--
Cheers,
Jeremy