--- diaspora.toml.example 2024-09-29 10:22:36.955901000 +0200 +++ diaspora.toml 2024-09-29 09:42:19.846240000 +0200 @@ -30,7 +30,7 @@ ## However changing http to https is okay and has no consequences. ## If you do change the URL, you will have to start again as the URL ## will be hardcoded into the database. -#url = "https://example.org/" +url = "https://diaspora.lapinbilly.eu/" ## Set the bundle of certificate authorities (CA) certificates. ## This is specific to your operating system. @@ -39,6 +39,7 @@ #certificate_authorities = "/etc/ssl/certs/ca-certificates.crt" ## For CentOS, Fedora: #certificate_authorities = "/etc/pki/tls/certs/ca-bundle.crt" +certificate_authorities = '/usr/local/share/certs/ca-root-nss.crt' ## URL for a remote Redis (default="localhost"). ## Don't forget to restrict IP access if you uncomment these! @@ -138,10 +139,10 @@ [configuration.environment.logging] ## Roll the application log on a daily basis (default=true). -#logrotate.enable = true +logrotate.enable = true ## The number of days to keep (default=7) -#logrotate.days = 7 +logrotate.days = 7 ## Enables the debug-logging for SQL (default=false) ## This logs every SQL-statement! @@ -221,11 +222,11 @@ [configuration.privacy.statistics] ## Local user total and 6 month active counts. -#user_counts = true +user_counts = true ## Local post total count. -#post_counts = true -#comment_counts = true +post_counts = true +comment_counts = true ## Use Camo to proxy embedded remote images. ## Do not enable this setting unless you have a working Camo setup. Using @@ -269,7 +270,7 @@ ## Set this to false to prevent people from signing up to your pod ## without an invitation. Note that this needs to be set to true ## (or commented out) to enable the first registration (you). -#enable_registrations = true +enable_registrations = true ## Show local posts stream (default="disabled") ## If any other setting than disabled local public posts @@ -278,6 +279,7 @@ ## Setting this to moderators shows the local posts stream only to users with the moderator or admin role. ## Setting this to everyone shows the local posts stream to all users. # enable_local_posts_stream= "disabled"|"admins"|"moderators"|"everyone" +enable_local_posts_stream= "moderators" ## Auto-follow on sign-up (default=true) ## Users will automatically follow a specified account on creation. @@ -289,11 +291,12 @@ ## The diaspora* HQ account keeps users up to date with news about Diaspora. ## If you set another auto-follow account (for example your podmin account), ## please consider resharing diaspora* HQ's posts for your pod's users! -#autofollow_on_join_user = "hq@pod.diaspora.software" +autofollow_on_join_user = "lapinbilly@diaspora.lapinbilly.eu" ## Liberapay.com is a free platform which allow donations like patreon ## Set your username to include your Liberapay button #liberapay_username = "change_me" +liberapay_username = "David_Marec" ## Bitcoin donations ## You can provide a bitcoin address here to allow your users to provide @@ -399,24 +402,24 @@ ## Enable captcha (default=true) ## Set this to false if you don't want to use captcha for signup process. -#enable = true +enable = true ## Captcha image size (default="120x20") -#image_size = "120x20" +image_size = "120x20" ## Length of captcha text (default=5)(max=12) -#captcha_length = 5 +captcha_length = 5 ## Captcha image style (default="simply_green") ## Available options for captcha image styles are: "simply_blue", ## "simply_red" "simply_green", "charcoal_grey", "embossed_silver", ## "all_black", "distorted_black", "almost_invisible", "random". -#image_style = "simply_green" +image_style = "embossed_silver" ## Captcha image distortion (default="low") ## Sets the level of image distortion used in the captcha. ## Available options are: "low", "medium", "high", "random". -#distortion = "low" +distortion = "high" ## Terms of Service ## Show a default or customized terms of service for users. @@ -458,9 +461,9 @@ ## email will be sent to the user and after an additional `warn_days`, the ## account will be automatically closed. ## This maintenance is not enabled by default. -#remove_old_users.enable = true -#remove_old_users.after_days = 730 -#remove_old_users.warn_days = 30 +remove_old_users.enable = true +remove_old_users.after_days = 180 +remove_old_users.warn_days = 120 #remove_old_users.limit_removals_to_per_day = 100 ## Limit queuing for removal per day. @@ -517,17 +520,21 @@ [configuration.mail] ## First you need to enable it. -#enable = true +enable = true ## Sender address used in mail sent by Diaspora. #sender_address = "no-reply@example.org" +sender_address = 'diaspora.no-reply@lapinbilly.eu' ## This selects which mailer should be used. Use "smtp" for a smtp ## connection or "sendmail" to use the sendmail binary. #method = "smtp" +method = 'sendmail' ## Ignored if method isn't "smtp". [configuration.mail.smtp] +host = '192.168.0.1' +port = 25 ## Host and port of the smtp server handling outgoing mail. ## This should match the common name of the certificate sent by @@ -539,6 +546,7 @@ ## Use one of "plain", "login" or "cram_md5". Use "none" ## if server does not support authentication. #authentication = "plain" +authentication = 'none' ## Credentials to log in to the SMTP server. ## May be necessary if authentication is not "none". @@ -547,10 +555,10 @@ ## Automatically enable TLS (default=true). ## Leave this commented out if authentication is set to "none". -#starttls_auto = true +# starttls_auto = false ## The domain for the HELO command, if needed. -#domain = "smtp.example.org" +domain = "diaspora.lapinbilly.eu" ## OpenSSL verify mode used when connecting to a SMTP server with TLS (default="peer"). ## Set this to "none" if and only if you have a self-signed certificate. @@ -561,7 +569,7 @@ [configuration.mail.sendmail] ## The path to the sendmail binary (default="/usr/sbin/sendmail") -#location = "/usr/sbin/sendmail" +location = "/usr/sbin/sendmail" ## Use exim and sendmail (default=false) #exim_fix = false @@ -573,9 +581,10 @@ ## This doesn't make the user an admin but is used when a generic ## admin contact is needed, much like the postmaster role in mail ## systems. Set only the username, NOT the full ID. -#account = "podmin" +account = "lapinbilly" ## E-mail address via which the administrator can be contacted. +podmin_email = 'david@lapinbilly.eu' #podmin_email = "podmin@example.org" ## Advanced - ignore unless you know better @@ -587,9 +596,10 @@ [production] #environment.redis = "redis://production.example.org:6379" +environment.redis = "redis://redis:secret@192.168.0.13:6379" [production.mail.sendmail] -#location = "/usr/local/bin/sendmail" +location = "/usr/sbin/sendmail" [development] #environment.redis = "redis://dev.example.org:6379"