On Mon, 2014-08-25 at 19:43 +0200, Reindl Harald wrote: > Am 25.08.2014 um 19:13 schrieb Karsten Bräckelmann:
> > No tests at all. I doubt the milter generated all those missing headers > > including From and Date, instead of a Received one only. So it seems the > > restricted sa-milt user has no read permissions on the SA config. > > > > As that user, have a close look at the -D debug output. > > > > spamassassin -D --lint > > bingo - only a snippet below > thank you so much for setp in that thread > the files inside exept one have correct permissions (0644) > but "/var/lib/spamassassin/3.004000/updates_spamassassin_org" not > i guess i will setup a cronjob to make sure the permissions > below "/var/lib/spamassassin/" are 755 and 644 for any item A dedicated cron job doesn't make sense. You should add that to the existing cron job that runs sa-update and conditionally restarts spamd. Changing permissions has to be done before restarting spamd. Alternatively, ensure the respective users for spamd, sa-update and the milter are identical, or at least share a common group. -- 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; }}}