Karsten =?ISO-8859-1?Q?Br=E4ckelmann?= writes:
> > > 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).

It's also a good deal faster -- user rules need to be recompiled each
time a mail is scanned :(

--j.

Reply via email to