Where are the spamassassin filtered emails?

silverbytes

Member
May 31, 2006
15
0
151
I have spamassasin on, and I have this preferences file. However I do NOT see any email tagged as spam.
Where are they?
I look at webmail's spam folder and it's empty.
In my email client I do not get any spam either or emails tagged as spam.
I pressed disable autodelete on cpanel to avoid being deleted from server.

Can you help me discover where are the spam emails in order to see if it's working properly?

my user prefs file looks like this


Code:
# SpamAssassin user preferences file.  See 'perldoc Mail::SpamAssassin::Conf'
# for details of what can be tweaked.
###########################################################################

# How many points before a mail is considered spam.
# required_score  8

# Whitelist and blacklist addresses are now file-glob-style patterns, so
# "[email protected]", "*@isp.com", or "*.domain.net" will all work.
# whitelist_from    [email protected]

# Add your own customised scores for some tests below.  The default scores are
# read from the installed spamassassin rules files, but you can override them
# here.  To see the list of tests and their default scores, go to
# http://spamassassin.apache.org/tests.html .
#
# score SYMBOLIC_TEST_NAME n.nn

# Speakers of Asian languages, like Chinese, Japanese and Korean, will almost
# definitely want to uncomment the following lines.  They will switch off some
# rules that detect 8-bit characters, which commonly trigger on mails using CJK
# character sets, or that assume a western-style charset is in use.
#
# score HTML_COMMENT_8BITS    0
# score UPPERCASE_25_50        0
# score OBSCURED_EMAIL          0.9

# Speakers of any language that uses non-English, accented characters may wish
# to uncomment the following lines.   They turn off rules that fire on
# misformatted messages generated by common mail apps in contravention of the
# email RFCs.

# score SUBJ_ILLEGAL_CHARS      0.5



#Custom rules from here


required_score  9
rewrite_header Subject          *SPAM*


add_header all
blacklist_from *@portaldeofertas.com.ar
blacklist_from *@portaldeofertas.com
blacklist_subject Replica
blacklist_subject ScanJet
blacklist_subject Viagra
blacklist_subject Watch
required_score 1
whitelist_from *@aguadoceresidence.com.br
whitelist_subject 4 Ilhas
whitelist_subject Deseo Informacionsobre suscripcion
whitelist_subject Divulgar
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

You can send a GTUBE test message to verify SpamAssassin is working via the instructions at:

SpamAssassin: The GTUBE

Check to see if the test SPAM message is delivered to the inbox of the account.

Thank you.
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
462
113
UK
cPanel Access Level
Root Administrator
Where your spamassassin filtered mail will end up is dependent on how you have set up the service in Tweak settings and in the cPanel settings for that domain.

With respect to webmail - you may need to configure Horde to look in the .spam folder for filtered mail rather than in the .Junk folder (which I think is the default) - the problem here is that the .spam folder doesn't actually exist until it has had some spam mail filtered into it by spamassassin.

Additionally, you may configure Horde to filter mails to any folder you specify, but this is not part of spamassassin

In your file manager, you should be looking for folders marked .spam (if you have enabled it) or .Junk if you haven't.

Full details of how it all works are available at Apache SpamAssassin - Documentation - cPanel Documentation