On Thu, 2010-07-22 at 13:48 -0700, Ted Mittelstaedt wrote: > On 7/22/2010 1:13 PM, Karsten Bräckelmann wrote:
> > Yes, I do maintain some home systems like that. With freemailers or ISP > > accounts it often isn't possible any other way. Polling interval of a > > minute or two. > > And if everyone polled every minute or 2 then the server would melt > down. You should be polling every 5 or better yet every 10. But in > any case why are you advocating a hack like this? Your last post > advocated NOT a hack but in doing it right. In every instance of a > fetchmail setup the biggest loss is that you cannot issue an error > 5xx to a spammer. Ted, I believe you're thinking too large-scale. I may be wrong, but I understand Neil is talking about a single, ISP provided email address. Just about the same as any Gmail, Yahoo or GMX address. There is NO way for a 5xx SMTP response. In fact, he was explicitly talking about an IMAP account, so the mail has been delivered already. Nothing can be done about that. Except better filtering and delivering spam to a dedicated folder to keep the Inbox clean. That is why I "advocated" a hack like that. Which I didn't even do, because it was implied by the OP. ;) I merely described better ways of implementing what is required, what Neil had in mind, and prevent client side filtering. -- char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}