Koozali.org: home of the SME Server

how do I remove an address from spamassassin global

danthesmeman

how do I remove an address from spamassassin global
« on: April 29, 2007, 03:42:56 AM »
Hello all.

I have added email addresses in the past using the CLI commands below.

db spamassassin setprop wbl.global *@xyz.com.au White
expand-template /etc/mail/spamassassin/local.cf
svc -t /service/spamd/

What is the command for removing addresses from your global address book.
I have added domains I now wish to remove from the global.

I am using 7.1.3

Thanks in advance.

Offline pfloor

  • *****
  • 889
  • +1/-0
how do I remove an address from spamassassin global
« Reply #1 on: April 29, 2007, 07:55:50 PM »
FYI: db at the commandline will give you all the available commands.

"/sbin/e-smith/db dbfile delprop key prop1 [prop2] [prop3] ..."

The "/sbin/e-smith/" part is not reqired so to delete the property in your example:

db spamassassin delprop wbl.global *@xyz.com.au
In life, you must either "Push, Pull or Get out of the way!"