Skip to content
Snippets Groups Projects

Add a new app for SOGo

Closed Benedek Nagy requested to merge nbenedek/freedombox:sogo into main
All threads resolved!

SOGo is an open source webmail client and groupware available in Debian. Make a new FreedomBox app for it to be used with the local Postfix/Dovecot email server.

SOGo requires a database to store events/tasks as well as user settings. Memcached is also required for caching.

Users log in with their username (as opposed to username + domain on Roundcube).

Authentication is done via openldap. It is possible to authenticate with apache, however it is limited to http basic auth, so mod_auth_tkt cannot be used. See: https://github.com/Alinto/sogo/blob/b40d777a86104d08dbd8168b8e12c198a3d4321a/SoObjects/SOGo/SOGoProxyAuthenticator.m#L137 Configuring http basic auth in my opinion wouldn't add much to the user experience. It would actually take away the usage of SOGO's built in TOTP feature.

SOGo only accepts configurations from /etc/sogo/sogo.conf, other configs from sogo.d don't get recognised.

The email app has to be configured with a domain name from Name Services for SOGo to work.

Tests:

  • Install app and log in with a FreedomBox user. Create a new event titled "Lunch with :pizza: and fries". Confirm the pizza character displays properly.
  • Backup the app and uninstall it.
  • Restore from the backup, log in and confirm the event gets restored.
  • Send email via SOGo in a production setup: https://www.mail-tester.com/test-pdf2yzy6n

#56

Signed-off-by: Benedek Nagy contact@nbenedek.me

Edited by Benedek Nagy

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Benedek Nagy added 1 commit

    added 1 commit

    Compare with previous version

  • Benedek Nagy resolved all threads

    resolved all threads

  • Benedek Nagy added 2 commits

    added 2 commits

    • fba863e7 - Remove commented line from sogo.conf
    • 39d73060 - Add SOGo fail2ban jail

    Compare with previous version

  • Benedek Nagy changed the description

    changed the description

  • Benedek Nagy mentioned in issue #56

    mentioned in issue #56

  • Author Maintainer

    Microsoft ActiveSync:

    1. apt install sogo-activesync

    <Location /Microsoft-Server-ActiveSync>
    ProxyPass http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync \
    	retry=60 connectiontimeout=5 timeout=360
    
    </Location>

    Log in following this guide: https://readme.phys.ethz.ch/calendar/sogo_client_config/

    The SOGo installation guide says:

    In order to use the SOGo ActiveSync support code in production environments, you need to get a proper usage license from Microsoft. Please contact them directly to negotiate the fees associated to your user base.

    To contact Microsoft, please visit:

    http://www.microsoft.com/en-us/legal/intellectualproperty/ and send an email to iplicreq@microsoft.com

    Edited by Benedek Nagy
  • Benedek Nagy changed the description

    changed the description

  • Benedek Nagy added 2 commits

    added 2 commits

    • 4977dc6b - Use the sogo icon from upstream source
    • 1c07c0b3 - Add sogo.png and sogo.svg to the copyright file

    Compare with previous version

  • Benedek Nagy changed the description

    changed the description

  • Benedek Nagy changed the description

    changed the description

  • Benedek Nagy added 1 commit

    added 1 commit

    • 34927e25 - Add form to configure a domain name for SOGo

    Compare with previous version

  • Benedek Nagy added 1 commit

    added 1 commit

    • fd528f30 - Add docstrings in privileged.py

    Compare with previous version

  • Benedek Nagy marked this merge request as ready

    marked this merge request as ready

  • Benedek Nagy added 1 commit

    added 1 commit

    • 68f40529 - Update smtp settings so that messages can be sent

    Compare with previous version

  • Benedek Nagy changed the description

    changed the description

  • Benedek Nagy changed the description

    changed the description

  • Sunil Mohan Adapa mentioned in merge request !2613 (closed)

    mentioned in merge request !2613 (closed)

  • I have reviewed the code and made some changes that are best reviewed again. This MR is continued in !2613 (closed). Closing this one.

    @nbenedek, Looks like we can't use ActiveSync. Is that correct?

  • Please register or sign in to reply
    Loading