vmm is an easy-to-use and configurable commandline tool for administrators and postmasters, used to manage domains, alias-domains, accounts, and relocated mail users. It allows fast and easy management of mail servers. It's designed for installations using Dovecot and Postfix with a PostgreSQL backend.
POP-Before-SMTP-Auth is a POP before SMTP daemon for Dovecot and Postfix that works by scanning mail server log files. The line-matching regex can be changed from the configuration file, in case Dovecot's logging format changes, and also to adapt the script for use with something besides Dovecot. Presently the script requires that the IP address appear on a single line with the successful login in the log file.