Send faxes with Phaxio using 3rd party email services. Mailphax is a simple sinatra app. You can run it on any host or with any service that supports ruby and sinatra.
- Sign up for a mailgun account
- In the Mailgun console, click "Domains" in the navbar.
- Add a new inbound domain that you have DNS control over. (Or use something.mailgun.org and you can use a mailgun subdomain! If you use a mailgun subdomain, you can skip the next step as DNS is set up by mailgun already.)
- Modify the DNS on your inbound domain to point to Mailgun using MX records.
- Click "Routes" in the main Mailgun Navbar.
- Click "Create new route"
- Leave the priority field alone.
- For "filter expression", specify "match_recipient("[0-9]+@YOURDOMAIN")" where YOURDOMAIN is the domain you added in step 3.
- For "Actions" specify "forward("http://yourMailPhaxInstallation/mailgun")" where yourMailPhaxInstallation should be the location where you've installed the sinatra app.
- Click "Save".
- Profit.