A simple PHP script which generates a .fetchmailrc
file from a DB, based on ISPMail setup.
For more information see the following blog posts:
- https://ailoo.net/2011/03/fetchmail-sieve-on-ispmail-setup-update/
- https://ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/
Copy config.inc.php.dist
to config.inc.php
and edit it to match your environment. Then, run php /path/to/fetchmail.php
.