mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2025-05-12 05:30:51 +05:00
Merge branch 'cleanup' into 'master'
Various cleanups See merge request simple-nixos-mailserver/nixos-mailserver!387
This commit is contained in:
commit
2c37e563fd
47
README.md
47
README.md
@ -20,43 +20,37 @@ SNM branch corresponding to your NixOS version.
|
|||||||
- Use the [SNM branch `master`](https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/tree/master)
|
- Use the [SNM branch `master`](https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/tree/master)
|
||||||
- [Documentation](https://nixos-mailserver.readthedocs.io/en/latest/)
|
- [Documentation](https://nixos-mailserver.readthedocs.io/en/latest/)
|
||||||
|
|
||||||
[Subscribe to SNM Announcement List](https://www.freelists.org/list/snm)
|
|
||||||
This is a very low volume list where new releases of SNM are announced, so you
|
|
||||||
can stay up to date with bug fixes and updates.
|
|
||||||
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
### v2.0
|
|
||||||
* [x] Continous Integration Testing
|
* [x] Continous Integration Testing
|
||||||
* [x] Multiple Domains
|
* [x] Multiple Domains
|
||||||
* Postfix MTA
|
* Postfix
|
||||||
- [x] smtp on port 25
|
- [x] SMTP on port 25
|
||||||
- [x] submission tls on port 465
|
- [x] Submission TLS on port 465
|
||||||
- [x] submission starttls on port 587
|
- [x] Submission StartTLS on port 587
|
||||||
- [x] lmtp with dovecot
|
- [x] LMTP with Dovecot
|
||||||
* Dovecot
|
* Dovecot
|
||||||
- [x] maildir folders
|
- [x] Maildir folders
|
||||||
- [x] imap with tls on port 993
|
- [x] IMAP with TLS on port 993
|
||||||
- [x] pop3 with tls on port 995
|
- [x] POP3 with TLS on port 995
|
||||||
- [x] imap with starttls on port 143
|
- [x] IMAP with StartTLS on port 143
|
||||||
- [x] pop3 with starttls on port 110
|
- [x] POP3 with StartTLS on port 110
|
||||||
* Certificates
|
* Certificates
|
||||||
- [x] manual certificates
|
- [x] ACME
|
||||||
- [x] on the fly creation
|
- [x] Custom certificates
|
||||||
- [x] Let's Encrypt
|
|
||||||
* Spam Filtering
|
* Spam Filtering
|
||||||
- [x] via rspamd
|
- [x] Via Rspamd
|
||||||
* Virus Scanning
|
* Virus Scanning
|
||||||
- [x] via clamav
|
- [x] Via ClamAV
|
||||||
* DKIM Signing
|
* DKIM Signing
|
||||||
- [x] via opendkim
|
- [x] Via OpenDKIM
|
||||||
* User Management
|
* User Management
|
||||||
- [x] declarative user management
|
- [x] Declarative user management
|
||||||
- [x] declarative password management
|
- [x] Declarative password management
|
||||||
- [x] LDAP users
|
- [x] LDAP users
|
||||||
* Sieves
|
* Sieve
|
||||||
- [x] A simple standard script that moves spam
|
|
||||||
- [x] Allow user defined sieve scripts
|
- [x] Allow user defined sieve scripts
|
||||||
|
- [x] Moving mails from/to junk trains the Bayes filter
|
||||||
- [x] ManageSieve support
|
- [x] ManageSieve support
|
||||||
* User Aliases
|
* User Aliases
|
||||||
- [x] Regular aliases
|
- [x] Regular aliases
|
||||||
@ -77,7 +71,6 @@ can stay up to date with bug fixes and updates.
|
|||||||
|
|
||||||
### Get in touch
|
### Get in touch
|
||||||
|
|
||||||
- Subscribe to the [mailing list](https://www.freelists.org/archive/snm/)
|
|
||||||
- Join the Libera Chat IRC channel `#nixos-mailserver`
|
- Join the Libera Chat IRC channel `#nixos-mailserver`
|
||||||
|
|
||||||
## How to Set Up a 10/10 Mail Server Guide
|
## How to Set Up a 10/10 Mail Server Guide
|
||||||
|
@ -287,8 +287,8 @@ in
|
|||||||
}
|
}
|
||||||
|
|
||||||
service imap {
|
service imap {
|
||||||
vsz_limit = ${builtins.toString cfg.imapMemoryLimit} MB
|
vsz_limit = ${builtins.toString cfg.imapMemoryLimit} MB
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol pop3 {
|
protocol pop3 {
|
||||||
mail_max_userip_connections = ${toString cfg.maxConnectionsPerUser}
|
mail_max_userip_connections = ${toString cfg.maxConnectionsPerUser}
|
||||||
@ -305,12 +305,12 @@ in
|
|||||||
mode = 0600
|
mode = 0600
|
||||||
user = ${postfixCfg.user}
|
user = ${postfixCfg.user}
|
||||||
}
|
}
|
||||||
vsz_limit = ${builtins.toString cfg.lmtpMemoryLimit} MB
|
vsz_limit = ${builtins.toString cfg.lmtpMemoryLimit} MB
|
||||||
}
|
}
|
||||||
|
|
||||||
service quota-status {
|
service quota-status {
|
||||||
vsz_limit = ${builtins.toString cfg.quotaStatusMemoryLimit} MB
|
vsz_limit = ${builtins.toString cfg.quotaStatusMemoryLimit} MB
|
||||||
}
|
}
|
||||||
|
|
||||||
recipient_delimiter = ${cfg.recipientDelimiter}
|
recipient_delimiter = ${cfg.recipientDelimiter}
|
||||||
lmtp_save_to_detail_mailbox = ${cfg.lmtpSaveToDetailMailbox}
|
lmtp_save_to_detail_mailbox = ${cfg.lmtpSaveToDetailMailbox}
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
sed -i -e "s/v[0-9]\+\.[0-9]\+\.[0-9]\+/$1/g" README.md
|
|
||||||
|
|
||||||
HASH=$(nix-prefetch-url "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/v2.3.0/nixos-mailserver-$1.tar.gz" --unpack)
|
|
||||||
|
|
||||||
sed -i -e "s/sha256 = \"[0-9a-z]\{52\}\"/sha256 = \"$HASH\"/g" README.md
|
|
Loading…
x
Reference in New Issue
Block a user