This app allows you to browse an email mailbox configured with a catch-all email address on an IMAP server. This will give you an unlimited number of disposable email addresses.
First, you have to set up a catch-all mailbox on an IMAP server (such as dovecot or courier) and make sure to have sufficient disk space and mailbox space available.
Next, you have to define the following environment variables on your system:
MAIL_DOMAIN
(default value:example.com
)MAIL_SERVER
(default value:localhost
)MAIL_PORT
(default value:993
)MAIL_USERNAME
MAIL_PASSWORD
Optional configuration:
INBOX_SIZE
(optional, default value: 15)LOG_SIZE
(optional, default value: 15)
Alternatively, you can also use a .env
file in the application root folder.
Finally, install the necessary Ruby gems and run the app.
bundle install
foreman start
Bug reports and pull requests are welcome on GitHub at https://github.com/schopenhauer/disposable-imap.
The app is available as open source under the terms of the MIT License.