mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #1853 from aidan-fitz/aidan-local-only-flag-enable
Activate local-only mode [Lokole "offline" email]
This commit is contained in:
commit
050d1c68b7
2 changed files with 10 additions and 0 deletions
|
@ -68,6 +68,15 @@ To reset the database, run the following command::
|
|||
|
||||
This command will remove all users and all emails from the system.
|
||||
|
||||
Nightly Internet Email Sync (Not Easy!)
|
||||
---------------------------------------
|
||||
|
||||
The Lokole software can be configured to access the Internet via USB modem, SIM card, or Ethernet, by setting the environment variable ``OPWEN_SIM_TYPE`` in the configuration file ``/etc/apache2/sites-enabled/lokole.conf``. By default, this installation of Lokole is set to local-only (offline) mode, in which users can only send emails to other users on the same installation and cannot send emails over the Internet. This has been done by setting ``OPWEN_SIM_TYPE`` to ``LocalOnly``.
|
||||
|
||||
If configured to work with a USB modem or other form of Internet connection, Lokole will sync with the cloud server (operated by Ascoderu) on a nightly basis to deliver and receive emails globally. However, arranging this is extremely complicated. You would need a compatible form of connection and an Internet expert familiar with modem protocols, MX records, etc. Ask that person to read the `Lokole software README <https://github.com/ascoderu/opwen-webapp/blob/master/README.rst>`_ in its entirety, to help you understand whether this is realistic for your organization.
|
||||
|
||||
Lokole and Internet-in-a-Box would welcome a business plan (whether volunteer-based, grant-based or for-profit) from someone willing to operationalize this — making it relatively hassle-free for schools, clinics, libraries and orphanages around the world — that generally do not have access to technical experts. Please `contact us <http://wiki.laptop.org/go/IIAB/FAQ#What_are_the_best_places_for_community_support.3F>`_ if you have the capacity to help make such a social enterprise happen.
|
||||
|
||||
Troubleshooting
|
||||
---------------
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
export OPWEN_SIM_TYPE='LocalOnly'
|
||||
export OPWEN_STATE_DIRECTORY='{{lokole_run_directory}}'
|
||||
export OPWEN_SESSION_KEY='{{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=32') }}'
|
||||
export OPWEN_PASSWORD_SALT='{{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=16') }}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue