forked from GNUsocial/gnu-social
46f98b3142
The core plugins whose version was attached to GS's were reseted to 2.0.0. 2.0.0 was chosen as reset version for plugins because it is higher than the one that was set by inheriting GS version. Furthermore, it's a major change from prior plugin versioning system thus it also makes semantic sense. Justification for version bump: == GS == 9a4ab31f26 1.19.0 |
||
---|---|---|
.. | ||
lib | ||
locale | ||
ImapPlugin.php | ||
README |
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