Skip to content

jrholliday/mailias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mailias

Personal ad hoc email addresses. Create disposable email addresses as you need them.

  • Use any inbox you like. No configuration needed.
  • Inboxes are "created" when email arrives for them and are "deleted" when they're emptied.
  • Make-up an address, give it out, then check it with mAiLIAS.
  • Give out a mailias address any time you need an email address but don't want to get spammed!

Requirements

Configuring

.htaccess

This package is made to "just work" when installed at the root of a web directory. If you want/need to install it in a subdirectory, indicate the (web-accessable) sud-dir in the .htaccess file.

index.php

At the head of index.php are two configuration varibles:

  • $maildir - Set this to the absolute location of your mail directory. I use '/var/www/Maildir/new/'
  • $hide_mailbox_list - Set this to false to show a table of all current inboxes on the splash page. Set it to false to hide this table. Hiding the table will force you to manually specify the inbox you want to check.

Crontab Entry

Needed to clean out old emails

# crontab entry
# Everyday (at midnight) delete any files that are older than one week
0 0 * * * find /var/www/Maildir/ -type f -mtime +7 | xargs rm -f

About

Personal ad hoc email addresses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published