Popcollector

Introduction

Popcollector is meant to be an easy to use script to automatically download messages from a popserver. Downloaded messages are delivered using a SMTP connection, which can filter messages for spam. Because popcollector is multithreaded multiple messages are downloaded and delevired simultaniously keeping connection time with the popserver as short as possible. However, if the connection takes to long popcollector will send NOOPs to the popserver keeping the connection alive.

Shortcomings

Although popcollector is in functional state, numerous functions have yet to be implemented. popcollector currently only able to authenticate using plaintext password.

Install

Popcollector is written in pike, you need at least a recent version of pike 7.6. Pike can be downloaded here. After downloading and installing pike, use monger to install but Public.Protocols.SMTP and Public.Protocols.POP. This can be done by
$pike -x monger install Public.Protocols.SMTP
$pike -x monger install Public.Protocols.POP

Then create a postgresql (or mysql) database table named popgrey.
greytime timestamp with time zone
uidl text
userid character varying(64)
Next edit popcollector.pike, and change the database connection constant.
And start popcollector.pike with:
popcollector.pike -u USERNAME -p PASSWORD -s POPSERVER -t RECIPIENT_MAIL

Download

Download the most recent version here

I've also created a version which is independend of postgres, but uses gdbm to store greylisting data. You can download it here

Credits

Popcollector is open source software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

For any questions related to using popcollector please contact me at marc_removespam_@electronics-design.nl

This software is provided as is and comes with absolutely no warranty. The author can not be held responsible in any way the program is used.