First this is on a training server running Ubuntu 14, VestaCP, Exim4 etc.

In doc
https://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Conf.html
Under RULE DEFINITIONS AND PRIVILEGED SETTINGS
It it my understanding that to use the a user_prefs file I have to place in
some config file

*allow_user_rules 1*

first.

And then write rules into the user_prefs file.

WHAT I DID

I have placed the allow_user_rules rule in
*/usr/share/spamassassin/local.cf <http://local.cf/>*
AND
*/etc/mail/spamassassin/local.cf <http://local.cf/> *

THEN placed in the user_prefs file the following rule

*blacklist_from *@gmail.com <http://gmail.com/>*
and restarted spamassassin

Thinking this will mark mail from my gmail account as SPAM.

When I look in the logs I do not see the test emails marked as spam
AND when I go into the webmail client the email was placed in the inbox not
in the junk box.

I have tested with GTUBE spam and that does get marked and placed in the
junk box.

Is the above the correct sequence?  Am I missing a step?

Please advise
Amanda

Reply via email to