Re: [Evolution] automagic mail forward -- a solution



cheers();

 formail -I 'To: user forward host' -I Bcc: >> /home/guenther/evolution/local/Outbox/mbox

What SMTP reverse-path will Evolution put on that when it sends it? If
it's an autoreply it _really_ needs to be null (i.e. MAIL FROM: <>). If
you're just trying to reinvent a standard .forward then it's not
necessary.

I suppose the important thing here is that the Received: headers are
intact -- and since they're generally what's used for loop detection
it's OK. You don't want to send an autoreply this way though.

I'm not sure about that, but one test failed -- the MTA refused to
deliver cause it detected looping mail. Seems as it just works... :)

I don't wanna reinvent anything, that was more of a proof of concept.
And all folks, who asked for the forward Filter unfortunately couldn't
use procmail. So this can be a solution for them.

...guenther


-- 
char *t="\10pse\0r\0dtu\0  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; }}}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]