On 11/05/2012 05:39 PM, Sandro Tosi wrote:
Hello,
we're running an authenticated outgoing SMTP and we'd like to give each
(virtual) user a different spam threshold.

Currently the threshold y,y is set in local.cf and read by spamd, and so
it's static, and the only solution we can think of is to run

spamc -c < mail

and parse the x.x/y.y output, get x.x and compare it to a value we read
from the database.

wouldn't it be nicer to call

spamc -c --spam-threshold k.k < mail

and have spamc return 1 if x.x >= k.k (with k.k variable per user and !=
y.y)?

Is this a feature request you'd like to accept? Any other solution to
the problem at hand?

Thanks in advance,

You may want to take a look at:

http://wiki.apache.org/spamassassin/UsingSQL?highlight=%28Dallas%29

"Global, Per-Domain, and Per-User Preferences via SQL"



Reply via email to