|
Email and spam in different folders using spamassassin
I have a question regarding spamassassin and email. I'm using Debian, Spamassassin, Exim and procmail. When spamassassin detects spam, it stores it in a file called 'spam-caught', per a line in my .procmailrc file. When I check my email, spam in the 'spam-caught' file is trapped and doesn't appear in my inbox (thank God).
What I've seen on some systems is when SpamAssassin is used, a subfolder inside the inbox gets created and the spams get stored there. When users check their email, their messages go to Inbox and spams get added to the spam folder.
What I'm asking is if there's a way to create subfolders inside the directory where emails get spooled so when people check their email they also get spams in a folder. My email files are stored in /var/mail/<username>.
Any help would be greatly appreciated.
|