2 # Someone's Mattermost scripts.
 
   3 #   published under MIT-License
 
   4 #   written 2016-2020 by Someone <someone@somenet.org> (aka. Jan Vales <jan@jvales.net>)
 
   7 #   mv to config.py.examle config.py + edit.
 
   9 # consider running as cronjob
 
  10 #   0 * * * *  (cd /home/someone/mattermost/management; python3 -u account_handling.py)
 
  14 mm_api_url = "http://localhost:8065/api"
 
  18 # The allowed email addresses for user accounts.
 
  19 allowed_emails_regex = r".*@(.*tld|tld2|tld3)$"
 
  21 # The team-ids guests are joined/confined into.
 
  22 guest_team_ids = {"..."}
 
  24 # The channel-ids guests are joined/confined into.
 
  25 guest_channels = {"..."}