Fetchmail and Procmail with Spamassassin and ClamAV
I need to pull mail from my internet hosting provider into my internal IMAP server. This formula requires an IMAP server (in my case Dovecot), and running fetchmail (to get the mail from the hosting server), procmail (to move the process the mail, then get it to the proper Maildir). Procmail will also need to have Spamassassin, ClamAV and Clamassassin installed.
Fetchmail and Procmail with Spamassassin and ClamAV
Need to pull email from my hosting server to my internal IMAP server for archival.
This formula requires an IMAP server (in my case Dovecot), and running fetchmail (to get the mail from the hosting server), procmail (to move and process the mail, then get it into my IMAP Maildir). Procmail will also need to have Spamassassin, ClamAV and Clamassassin installed to remove the icky email SPAM and Malware!
Configure Fetchmail
/home/john/.fetchmailrc
Procmail
/home/john/.procmailrc
Check email every 5 minutes
Modify your crontab (crontab -e)
Fine tuning Spam Detection
sa-learn –spam Path-TO-Junk-Folder #or location you store your spam for learning
sa-learn –ham Path-TO-Folder #or location you store your messages that are NOT SPAM, but get detected as SPAM incorrectly.
Filed under: Configs,Uncategorized - @ July 25, 2017 8:36 pm
Tags: clamassassin, clamav, fetchmail, imap, maildir, procmail, spamassassin