Skip to content

Commit

Permalink
updated markdown, mentioned twilio config
Browse files Browse the repository at this point in the history
  • Loading branch information
plabbett committed May 29, 2015
1 parent 5c6dba5 commit 13b0141
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
== Overview ==
# Overview

The setup listed below assumes you are on CentOS and clone this repo into /opt/email2sms

Expand All @@ -7,6 +7,8 @@ Change your paths to match if you don't use the same setup.
Additionally, the reply.php will need to be in a web-enabled location that Twilio can hit.
However, you should not expose the entire repo to the world.

Configure your Twilio number's messaging url to the public url of your reply.php


```git clone https://github.com/plabbett/email2sms```
```cd email2sms```
Expand All @@ -16,9 +18,9 @@ Rename config.example.php to config.php
Modify as you see fit.


== Configure Sendmail Alias and Domain Catch All ==
# Configure Sendmail Alias and Domain Catch All ==

=== Create alias to our script ===
## Create alias to our script
In sendmail, add an alias to pipe email to the PHP script.

nano /etc/aliases
Expand All @@ -27,7 +29,7 @@ Add: youralias:

Save the file

=== Point catch-all to alias ===
## Point catch-all to alias
nano /etc/mail/virtusertable

Add: @yourdomain.com youralias
Expand Down

0 comments on commit 13b0141

Please sign in to comment.