Is it possible to scan local drive folder for SPAM Mails? [closed]

Solution 1:

Yes. The canonical spam filter, SpamAssassin can scan both the Maildir (a format where each file in the directory contains only one message) or mbox (a single file containing one/more/all messages) mail store on your server.

See https://spamassassin.apache.org/full/3.4.x/doc/spamassassin-run.html

spamassassin --mbox /var/spool/mail/hermanB

or

spamassassin /home/hermanB/Maildir/cur/

Running SpamAssassin as a daemon usually has better performance. Then you would use spamc to scan your messages.