self-hosted disposable email service (php) using catch-all and imap
Find a file
2016-11-21 22:25:05 +01:00
src simplify 2016-11-21 22:25:05 +01:00
.gitignore initial 2016-07-02 23:05:44 +02:00
composer.json move everything 2016-11-20 21:45:57 +01:00
composer.lock upgrade versions and readme 2016-09-14 20:27:18 +02:00
readme.md Update readme.md 2016-11-21 20:38:29 +01:00
screenshot.png screenshot 2016-09-14 22:42:50 +02:00

self-hosted disposable email service

Join the chat at https://gitter.im/synox/disposable-mailbox

Goals:

  • easy to use: generate random name or use custom name, auto refresh
  • easy to host: just php5 + imap extension
  • easy to install: just copy some files
  • minimal code base: minimal features and complexity
Screenshot

Quality/Status:

This is WORK IN PROGRESS (WIP) software, do not use it in production yet! It may lose your mails and people may gain access to your mails. There are still unsolved problems. Contributions are welcome!

You should sign up for the chat and you will be notified about issues and bugfixes: Join the chat at https://gitter.im/synox/disposable-mailbox

Licence

Creative Commons License
disposable-mailbox by github:synox is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Webserver requirements

  • php >=5.3.0
  • imap extension
  • apache 2 (but should work on any webserver)

Installation

  1. assure the imap extension is installed. The following command should not print any errors:

     <?php print imap_base64("SU1BUCBleHRlbnNpb24gc2VlbXMgdG8gYmUgaW5zdGFsbGVkLiA="); ?>
    
  2. clone or download this repository

  3. copy the src directory to your web server.

  4. rename config.sample.php to config.php and apply the imap settings. Move config.php to a safe location outside the public_html.

  5. open backend.php and set the new path to config.php.

Build it yourself

The src directory contains all required files. If you want to update the php dependencies, you can update them yourself. You must have composer installed. See also build.sh.

Install php dependecies:

composer install

TODO

  1. setup a link redirection provider (to keep the existence of your installation secret)
  2. provide error message if config.php is missing or in a public folder.

Credit

This could not be possible without...