On Thu, 2009-10-08 at 14:45 -0400, MySQL Student wrote:
> > That sounds overly complicated and like a lot of wasted cycles. Calling
> > a Perl script for each message? What you just described sounds a hell of
> > lot like this light-weight SA configuration:
> 
> Yes, I should have mentioned that it is a copy of the mail that users
> receive and only visible by a single account. It also only occurs once
> every four hours as the mail is pulled from the spool.

It still is spawning a Perl process per message. You can do away with
that processing hog, if you use the add_header rule I mentioned before
and have SA do it instead.


-- 
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; }}}

Reply via email to