Re: header corruption very regularly
Vlad Zero <[email protected]> Wed, 25 Feb 2004 18:26:42 +0100 (CET)
| Newsgroups | gmane.mail.yosucker.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, sugarcoatednapalm, I believe the case you've described is annoying, however I am affraid YoSucker handles this situation exactly as it was designed to handle it. If you look at the message you sent me more carefully, you'll find out there's none of the usual fields every valid message should have, ie. there is no From:, To: or Date: field. Now, as YoSucker parses web interface and therefore there isn't any possibility of verifying that the downloaded message was fetched correctly, I must have set up some rules, just to make sure none of your messages get lost just because of the YoSucker's fault. So, I coded in this "safety-fuse", that simply checks whether there's at least one of the above mentioned mail headers and if it doesn't find any, it prints the "header corruption" message and does not delete the message nor does it write its message ID to YoSucker's repository. Like that YoSucker tries to fetch the message again and again, until it is succefull. Now, you may not agree here, but I prefered this safe-guided approach that can cause false-alarms sometimes (like in your case) to the solution that would put you to the risk of loosing messages. We can think of some other solution in the future, like giving you the MID of the affected messages in a special e-mail sent by YoSucker, so that you can delete the message without launching your web browser... But for now there is no way how to stop this... ...well, if it really bothers you and you want to undertake the above stated risk of losing messages, follow the instructions bellow. HOWEVER I WOULD NOT DO THAT, IT IS VERY RISKY, THINK TWICE ABOUT IT! IT'S ON YOUR OWN RISK!!! you can comment the line 1599 of the sputnik.pm; just put # in at the begining of the line, changing this... $headeritmz[0] = "---".$headeritmz[0] if (! ($ddate || $ffrom || $tto)); into this... # $headeritmz[0] = "---".$headeritmz[0] if (! ($ddate || $ffrom || $tto)); BUT I DO NOT THINK IT IS A GOOD IDEA AGAIN! Hope this helps a bit! Have a nice evening! Vlad -z3r0- On 25 Feb 2004, sugarcoatednapalm wrote: > Some of the spam I'm getting has > > > > content-lenth: 0 > > > > or 1 > > > > Yosucker downloads these, gives me the header corruption message, and marks the message as read but does not delete them. (behavior As designed?) > > > > But even though they're marked as read, the next time through it fetches those messages again. > > > > Looking at several of these now it looks like the header is valid EXCEPT for > > > > Message-ID: <D[20 > > > > (They're not sneaking control characters in somehow AFICT, > > using od > > the < shows as 074 > > the [ shows as 133) > > > > Here's one complete mail, my bash prompt is $. That's 3 newlines at the end, after the 1 in content-length. > > > > $cat 1077672041.10093_0.umslopogas.sam.com\:2, > > X-YahooFilteredBulk: 65.35.107.234 > > Return-Path: <[email protected]> > > Received: from 65.35.107.234 (HELO 234.107.35.65.cfl.rr.com) (65.35.107.234) > > by mta254.mail.scd.XXXXXXXXX with SMTP; Tue, 24 Feb 2004 17:02:16 -0800 > > Received: from 231.208.42.128 by 65.35.107.234; Tue, 24 Feb 2004 22:59:18 -0200 > > Message-ID: <D[20 > > Content-Length: 1 > > > > > > > > $ > > > > I'm solving this now by regularly going and deleting these. > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Yosucker-general mailing list > Yosucker-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/yosucker-general > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click