Skip to content

williwacker/SpamCleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpamCleaner

Application for cleaning up your email account from spam mail based on a given list of email addresses. In order to easily enhance your blacklist you can create a folder "Blacklist" in your email account. If you add this folder into your <filename>.ini folder list then every email address in this folder gets added to the appropriate blacklist. For emails going into the Spam folder by mistake you can define the addresses in the whitelist file and they will get moved into the Inbox

Installation

  • download zip and unpack

  • create the config file .ini based on my_account.ini.sample

    • this config file can have a common blacklist and whitelist filename in the DEFAULT part, as well as an individual blacklist/whitelist filenames for every account

    • required parameters for blacklisting are HOST, USERNAME, PASSWORD, FOLDER.

    • required parameters for whitelisting are HOST, USERNAME, PASSWORD, FOLDER, INBOX.

PRE-REQUISITE

pip install imapclient, fuzzywuzzy[speedup]

EXECUTION

python3 spam_cleaner.py -c <filename>.ini

About

Cleanup your email account from spam

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages