alexantr/emails

Simple web interface for reading emails from /var/mail

Maintainers

Package info

github.com/alexantr/emails

Type:project

pkg:composer/alexantr/emails

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-05-28 14:28 UTC

This package is auto-updated.

Last update: 2026-05-28 19:22:58 UTC


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.