crusader
> I have some spam tagged E-mails now but I don't know how to whitelist them or just get spamassassin to learn it.
If spamassassin has tagged them as spam, then it already knows about those types of messages, so they don't need to be added to any database.
You can set sme to deliver the tagged spam to the junkmail folder if you use IMAP folders for email.
The sonoracom howto referred to is to allow you to manually move unidentified spam that arrives in your Inbox to the LearnAsSpam folder so that the spamassassin filter bayesian database learns from it, so that in future it does identify those types of messages as spam and send them to the junkmail folder.
Note that you can also set a custom level in sme to reject spam messages that have a higher score than the threshold, so you never see those messages at all.
Whitelisting & Blacklisting only act on delivery to the junkmail folder ie never or always.
Using the command line, you can add senders addresses to whitelists or blacklists so they will never be identified as spam or always identified as spam respectively. This has been answered a number of times, search forums on "whitelist" "blacklist" or "db spamassassin".
Here's the answer:
If there was a server manager panel in sme7 for the white list entries (which there is not at present) then the whitelist entries would go into the spamassassin db.
See below for the format.
You need to put them there manually, either directly editing the spamassassin db or by using the db... command.
When you expand templates and restart spamassassin it will read the data into /etc/mail/spamassassin/local.cf
db spamassassin show
db spamassassin setprop wbl.global name@domain White
db spamassassin setprop wbl.global name@domain Black
eg
db spamassassin setprop wbl.global johnb@yahoo.com White
db spamassassin setprop wbl.global *@xyz.com White
db spamassassin setprop wbl.global badname@junkdomain.com Black
db spamassassin setprop wbl.global *@baddomain.com Black
expand-template /etc/mail/spamassassin/local.cf
svc -t /service/spamd
There are templates in /etc/e-smith/templates/etc/mail/spamassassin/local.cf that relate to this.