alexantr / emails
Simple web interface for reading emails from /var/mail
1.0.0
2026-05-28 14:28 UTC
Requires
- php: ^8.2
- php-mime-mail-parser/php-mime-mail-parser: ^10.0
README
Simple web interface for reading emails from /var/mail
Install
composer create-project alexantr/emails
or
git clone git@github.com:alexantr/emails.git
Add config.php to the project's root folder:
<?php return [ 'mbox_file' => '/var/mail/www-data', 'per_page' => 10, 'site_title' => 'Emails on ' . $_SERVER['SERVER_NAME'], ];
Set up a new virtual host, specifying the project's "public" folder as the document root.
Don't forget to restrict access to the site using HTTP auth, IP whitelists etc.