On Mon, 2011-04-25 at 13:01 +0100, Paul Hugill wrote: > I have SA (v3.2.3) installed along with hMailServer and it is working > great but I just wanted to check if you can make changes to the > default headers that are inherited on the spam report.
You can, though slightly limited. See the 'add_header' option and the section Template Tags in the Conf docs. > I would like to include an extra one so that this header > 'X-hMailServer-ExternalAccount' is also included in the report > headers. [...] add this one too so that I can tell which account is > getting all the spam. I am not absolutely sure which "external account" you are referring to here, but it appears this is either specific to hMailServer, or your particular environment (like fetching external mail accounts). In both these cases, this information is not available to SA. So, no, SA can not add such a header. You might want to elaborate on what that "external account" actually is, though, just in case someone has an idea... -- 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; }}}