-
-
Notifications
You must be signed in to change notification settings - Fork 61
feat(config): load default values from Config(), not chatmail.ini.f #853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
f5e48d1
config: load default values from Config(), not chatmail.ini.f
missytake 90d6280
config: default delete_inactive_users_after is 90, actually
missytake 179459d
config: comment out values in chatmail.ini.f, so defaults take preced…
missytake fef67b8
config: remove testrun-specific overrides
missytake 89cc636
config: remove filtermail ports from default ini
missytake File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,42 +12,42 @@ | |
| # | ||
|
|
||
| # email sending rate per user and minute | ||
| max_user_send_per_minute = 60 | ||
| #max_user_send_per_minute = 60 | ||
|
|
||
| # per-user max burst size for sending rate limiting (GCRA bucket capacity) | ||
| max_user_send_burst_size = 10 | ||
| #max_user_send_burst_size = 10 | ||
|
|
||
| # maximum mailbox size of a chatmail address | ||
| # Oldest messages will be removed automatically, so mailboxes never run full. | ||
| max_mailbox_size = 500M | ||
| # (Oldest messages will be removed automatically, so mailboxes never run full) | ||
| #max_mailbox_size = 500M | ||
|
|
||
| # maximum message size for an e-mail in bytes | ||
| max_message_size = 31457280 | ||
| #max_message_size = 31457280 | ||
|
|
||
| # days after which mails are unconditionally deleted | ||
| delete_mails_after = 20 | ||
| #delete_mails_after = 20 | ||
|
|
||
| # days after which large messages (>200k) are unconditionally deleted | ||
| delete_large_after = 7 | ||
| #delete_large_after = 7 | ||
|
|
||
| # days after which users without a successful login are deleted (database and mails) | ||
| delete_inactive_users_after = 90 | ||
| #delete_inactive_users_after = 90 | ||
|
|
||
| # minimum length a username must have | ||
| username_min_length = 9 | ||
| #username_min_length = 9 | ||
|
|
||
| # maximum length a username can have | ||
| username_max_length = 9 | ||
| #username_max_length = 9 | ||
|
|
||
| # minimum length a password must have | ||
| password_min_length = 9 | ||
| #password_min_length = 9 | ||
|
|
||
| # list of chatmail addresses which can send outbound un-encrypted mail | ||
| passthrough_senders = | ||
| #passthrough_senders = | ||
|
|
||
| # list of e-mail recipients for which to accept outbound un-encrypted mails | ||
| # (space-separated, item may start with "@" to whitelist whole recipient domains) | ||
| passthrough_recipients = | ||
| #passthrough_recipients = | ||
|
|
||
| # Use externally managed TLS certificates instead of built-in acmetool. | ||
| # Paths refer to files on the deployment server (not the build machine). | ||
|
|
@@ -64,18 +64,18 @@ | |
| # | ||
|
|
||
| # SMTP outgoing filtermail and reinjection | ||
| filtermail_smtp_port = 10080 | ||
| postfix_reinject_port = 10025 | ||
| #filtermail_smtp_port = 10080 | ||
| #postfix_reinject_port = 10025 | ||
|
|
||
| # SMTP incoming filtermail and reinjection | ||
| filtermail_smtp_port_incoming = 10081 | ||
| postfix_reinject_port_incoming = 10026 | ||
| #filtermail_smtp_port_incoming = 10081 | ||
| #postfix_reinject_port_incoming = 10026 | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i'd remove them entirely from chatmail.ini |
||
| # if set to "True" IPv6 is disabled | ||
| disable_ipv6 = False | ||
| #disable_ipv6 = False | ||
|
|
||
| # Your email adress, which will be used in acmetool to manage Let's Encrypt SSL certificates | ||
| acme_email = | ||
| #acme_email = | ||
|
|
||
| # Defaults to https://iroh.{{mail_domain}} and running `iroh-relay` on the chatmail | ||
| # service. | ||
|
|
@@ -108,13 +108,13 @@ | |
| # in per-maildir ".in/.out" files. | ||
| # Note that you need to manually cleanup these files | ||
| # so use this option with caution on production servers. | ||
| imap_rawlog = false | ||
| #imap_rawlog = false | ||
|
|
||
| # set to true if you want to enable the IMAP COMPRESS Extension, | ||
| # which allows IMAP connections to be efficiently compressed. | ||
| # WARNING: Enabling this makes it impossible to hibernate IMAP | ||
| # processes which will result in much higher memory/RAM usage. | ||
| imap_compress = false | ||
| #imap_compress = false | ||
|
|
||
|
|
||
| # | ||
|
|
||
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.