[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sup-devel] [Heliotrope/Turnsole] How to use IMAP?
Hi William,
Excerpts from William Morgan's message of 2012-02-23 07:25:11 +0100:
> My understanding of the Maildir specification is that there is no way to
> determine the order of messages besides reading the date headers.
> Ordering messages correctly at import time is important because
> Heliotrope only serves messages in the reverse order to which they were
> imported. If there is a better solution, please feel free to educate me.
Well, I guess you are correct. So, when somebody sends me a spam email or a
malicious email with a faked date, what happens? I think that the code will
figure out it needs to re-add a lot of messages. Also, my index will need to be
reordered, right?
Also, what happens when somebody sends me a message with a faked date and I add
it using heliotrope-add? Do I need to reorder my index?
> Is there any problem with the current code besides the fact that you
> don't like the big scan?
That makes it sound like it’s just a matter of opinion. My concern is what I
stated above (huge processing load / disk IO caused by malicious messages) and
that it thrashes my poor disks.
Best regards,
Michael
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel