Koozali.org: home of the SME Server

adding and removing whitelisted and blacklisted domains

Offline Bozely

  • *
  • 75
  • +0/-0
adding and removing whitelisted and blacklisted domains
« on: January 04, 2008, 01:28:51 PM »
You'll have to bear with me as i'm new to SME,

I've added a couple of domains to my whitelist using similar to the following command

db spamassassin setprop wbl.global *@vonage.com White
db spamassassin setprop wbl.global *domain2.com White
db spamassassin setprop wbl.global This e-mail address is being protected from spam bots, you need JavaScript enabled to view it White
db spamassassin setprop wbl.global This e-mail address is being protected from spam bots, you need JavaScript enabled to view it Black
expand-template /etc/mail/spamassassin/local.cf
svc -t /service/spamd


my question being, if i wish to remove for instance "*@vonage.com white" how would i go about it?

thanks


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: adding and removing whitelisted and blacklisted domains
« Reply #1 on: January 04, 2008, 02:11:39 PM »
maybe using 'delprop' instead of 'setprop'? :-)

maybe searching on forums for db command syntax? ;-)

if you are new to SME then please read the administrator manual and search the forums Before posting; 99% of question have already been answered.

hth

ciao
Stefano

Offline Frank VB

  • ****
  • 127
  • +0/-0
Re: adding and removing whitelisted and blacklisted domains
« Reply #2 on: January 04, 2008, 02:19:54 PM »
If you have some experience installing contribs on SME, there's a contrib which provides a user panel in the Server Manager where you can manage your white/blacklist entries. The installation URL for this contrib is mentioned in this post: http://forums.contribs.org/index.php?topic=37838.0.

Offline Bozely

  • *
  • 75
  • +0/-0
Re: adding and removing whitelisted and blacklisted domains
« Reply #3 on: January 04, 2008, 02:27:33 PM »
thanks for the reply, i did scour the manual and numerous forums and found a lot of "how tos" and no "how to undos" :-P

That worked a treat, thanks.