> > No, spamc has no impact on rules. You could look at putting the rules in > > the > > user's user_prefs file, but you'd have to then also set "allow_user_rules 1" > > in local.cf to allow user preferences to include rules. Be sure to think > > about the security aspects to this before doing so. If you're the only > > user, > > I'd recommend just using local.cf, of course. :) > > > I am the only user with any kind of access to the system so there > shouldn't be a security issue. The users I refer to are in reality > just mailboxes so I should have said that I want a particular mailbox > to have some extra rules. Given I'm calling spamc from a .procmail > file within each user's directory how can I add rules to just one of > them?
Exactly as Theo just mentioned. Use allow_user_rules 1 and place the rules in each user's user_prefs file. Another possibility is to include the rules in your site config with scores set to 0 -- thus disabling them by default. Each user then can enable the rules in their user_prefs by simply assigning a different score. This has the advantage to define rules in a central place only, not expose the system to potential security issues, and even supports plugins (which the first option does not). guenther -- char *t="[EMAIL PROTECTED]"; 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; }}}