On Fri, 2009-05-01 at 01:38 -0700, an anonymous Nabble wrote: > I am trying to get ifspamh working within my .qmail-<user> file but there is > obviously an error either with the vars set up within the ifspamh file or > somewhere else as the emails are just looping until I change the > .qmail-<user> file back. > > I want to maybe try and run the ifspamh command from the line to see if I > can get it work there and if not it should present me with the relevant > error messages..?
Slightly off-topic, I guess -- at least it is an old script meant to call SA... > Is this possible and if so how would I feed the message into it? > > Would there be any error logs saved from the .qmail-<user> script that I can > look at now? Now that's off-topic. :) > My .qmail-<user> script looks like this: > > |/usr/bin/ifspamh s...@address.com > u...@address.com Err -- are you *forwarding* mail back to the *same* user? Yeah, sounds like a loop indeed... > Any help would be appreciated, Please note that I do *not* know qmail -- just got curious, and looked up some info on that script and the dot-qmail man page. -- 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; }}}