On Thu, 2010-02-18 at 09:56 -0800, an anonymous Nabble user wrote: > well this has certainly thrown a spanner in the works and I don't know what > to do next. I was under the impression that sa was scanning my mail and red > flagging any spams, then mimedefang would kick in rejecting the email at > smtp. I'm completely confused now
Well, yes -- according to the rules in your headers, SA is scanning the messages. However, SA does not talk SMTP itself, and thus needs some glue to be integrated. In your case, it is likely mimedefang which calls SA to scan the message. IMHO, you should get an overview of the mail flow on your system first. Further debugging after that. > > $ grep add_header 10_default_prefs.cf > > # grep add_header 10_default_prefs.cf > grep: 10_default_prefs.cf: No such file or directory Ahem. You do understand what that mysterious 'grep' command does, don't you? As you can easily deduct from the error message, the second argument is a file -- and it doesn't exists in the dir where you ran the command... -- 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; }}}