diff options
author | duritong <peter.meier@immerda.ch> | 2009-04-10 23:27:34 +0200 |
---|---|---|
committer | duritong <peter.meier@immerda.ch> | 2009-04-10 23:27:34 +0200 |
commit | 455236e752c4d80b56fa295c805af938ae0dc90b (patch) | |
tree | 3daf856300b544ded64be325647a8f6ff7a762aa /py-bin | |
parent | 55dda4d4280cac2e8cf350c9996ca3d698cea2b9 (diff) |
added a default config, we changed the secret! ;)
Diffstat (limited to 'py-bin')
-rw-r--r-- | py-bin/config.py-dist (renamed from py-bin/config.py) | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/py-bin/config.py b/py-bin/config.py-dist index 2f37f19..729d5cb 100644 --- a/py-bin/config.py +++ b/py-bin/config.py-dist @@ -5,7 +5,7 @@ debugmode = False # mail configuration: -mail_from_addr = "jabber@immerda.ch" +mail_from_addr = "jabber@domain1.ch" # to use sendmail for delivery, use this: use_sendmail = True # to use python smtplib, configure these smtp options @@ -15,8 +15,8 @@ use_sendmail = True #smtp_pass = "" # domain name policy -mail_domains = ["immerda.ch", "cronopios.org", "einfachsicher.ch", "ungehorsam.ch", "linksunten.ch", "glei.ch", "immer-da.ch", "muhvie.ch", "muh-vie.ch", "politischkorrekt.ch", "sichermail.ch", "sicheremail.ch", "supernormal.net", "untenlinks.ch"] -extra_domains = ["imsg.ch"] +mail_domains = ["domain1.ch", "domain2.ch" +extra_domains = ["domain3.ch"] # username and password policy user_re ='^[a-zA-Z0-9_\-.]+$' forbidden_users = ['admin', 'administrator'] @@ -25,19 +25,20 @@ min_password_length = debugmode and 2 or 8 # path configuration # keep templates and all code except main.py outside doc-root! -template_dir = "/e/e1/var/www/jabber/py-bin/templates" +template_dir = "/var/www/jabber/py-bin/templates" # keep the following stuff on an encrypted fs! (especially sessions) -session_dir = "/e/e1/tmp" -jabberdb_path = "/e/e1/var/db/jabberman/jabber_db" -logfile_path = "/e/e1/var/log/lighttpd/webreg.log" +session_dir = "/tmp" +jabberdb_path = "/var/db/jabberman/jabber_db" +logfile_path = "/var/log/lighttpd/webreg.log" # self reference, needed for http redirects -script_url = "https://www.imsg.ch/main.py" +script_url = "https://www.domain1.ch/main.py" # secret needed for session ids and registration tokens -the_secret = "w1bXM13wHSI5BWrtMs97Cwxf7qWjL1xu" +# change it to your own! +the_secret = "ahfkahfkjhaskjfhaskjfhaskjfhafhh" #experimental stuff... -ejabberdctl_path = "/e/e1/opt/ejabberd/bin/ejabberdctl" +ejabberdctl_path = "/usr/sbin/ejabberdctl" ejabberdctl_environ = {"PATH":"/bin:/usr/bin", "HOME":"/e/e1/home/lighttpd"} |