diff options
author | Craig Andrews <candrews@integralblue.com> | 2010-01-08 18:52:09 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2010-01-08 18:52:43 -0500 |
commit | 055f3fdddb998bfee1a6f6e61d1ca6df4b2fb740 (patch) | |
tree | 41698275bb5ef8f76e77e5a9b6a504c35ac6fe4b /plugins/Imap/README | |
parent | e22af049a8df3e120ea88387d013dedec8554c43 (diff) |
Add an IMAP daemon so StatusNet can process incoming user posts via catch-all mailbox (in addition to the pre-existing script alias method)
Diffstat (limited to 'plugins/Imap/README')
-rw-r--r-- | plugins/Imap/README | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/plugins/Imap/README b/plugins/Imap/README new file mode 100644 index 000000000..640a411a8 --- /dev/null +++ b/plugins/Imap/README @@ -0,0 +1,32 @@ +The IMAP plugin allows for StatusNet to check a POP or IMAP mailbox for +incoming mail containing user posts. + +Installation +============ +addPlugin('imap', array( + 'mailbox' => '...', + 'user' => '...', + 'password' => '...' +)); +to the bottom of your config.php + +Also, make sure: +$config['mail']['domain'] = 'yourdomain.example.net'; +is set in your config.php + +Create a catch-all account for your domain, and use this account with this +plugin. Whenever a user sends a message to their personal notice posting +address, the message should end up in this mailbox, and then the plugin daemon +will pick it up and post the notice on the user's behalf. + +The daemon included with this plugin must be running. It will be started by +the plugin along with their other daemons when you run scripts/startdaemons.sh. +See the StatusNet README for more about queuing and daemons. + +Settings +======== +mailbox*: the mailbox specifier. + See http://www.php.net/manual/en/function.imap-open.php for details +user*: username to use when authenticating to the mailbox +password*: password to use when authenticating to the mailbox +poll_frequency: how often (in seconds) to check for new messages |