My antispam system on my server is half working. Time to get it working completely. This basically moves new email to the .Junk folder if it's junk.
- Go 100%
| .gitignore | ||
| find_mails.go | ||
| flags.go | ||
| LICENSE | ||
| main.go | ||
| process.go | ||
| README.md | ||
| spam_mover.go | ||
| watcher.go | ||
dustman
dustman is a program I wrote to make my antispam filter work.
Basically, on my server I have the usual email stack Postfix + dovecot. And well, about a month ago I tried to set up spamassassin to move the spam email I received to the Junk folder, and well, it did not work. I could receive emails, but I couldn't send them. Eventually, I gave up, and what changed was that spamassassin changed the title, and with some shift+click selection on Thunderbird every so often I managed to get the Junk in the Junk folder, manually. But it was time to automate this. And since I'd rather die before touching master.cf again, I made this program which moves spam email automatically to the Junk folder.
./dustman -h
Usage of ./dustman:
-m string
The mail directory, where all the email is stored. (default "/mail")
-p Whether to reprocess all mail files in the inbox of each user.
-r Whether to process already read mail files.