changeset 1:007252fb6449 default tip

SHIN'YA M. > ADD README.md
author Shin'ya Minazuki <shinyoukai@laidback.moe>
date Mon, 01 Dec 2025 08:38:15 +0900
parents e3de72cc63b9
children
files README.md dovecot/dovecot.conf postfix/main.cf
diffstat 3 files changed, 20 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/README.md	Mon Dec 01 08:38:15 2025 +0900
@@ -0,0 +1,13 @@
+# laidback.moe mail server
+
+## Dependencies
+* Cyrus SASL (with `saslauthd`)
+* Dovecot
+* Postfix with Cyrus SASL support built-in (you may have to build it yourself)
+* Rspamd
+
+## Setup
+Search and replace, and figure out everything yourself.
+
+## Authors
+* [Nishi](https://nishi.boats)
--- a/dovecot/dovecot.conf	Mon Nov 10 21:14:26 2025 +0900
+++ b/dovecot/dovecot.conf	Mon Dec 01 08:38:15 2025 +0900
@@ -31,29 +31,10 @@
 # Hostname
 hostname = example.net
 
-# PostgreSQL UserDB
-#userdb {
-#	driver = sql
-#	args = /etc/dovecot/pgsql.conf
-#}
-
-#passdb {
-#	driver = sql
-#	args = /etc/dovecot/pgsql.conf
-#}
-
 protocol lmtp {
 	mail_plugins = $mail_plugins sieve
 }
 
-service auth {
-        unix_listener auth-userdb {
-                mode = 0660
-                user = dovecot
-                group = mail
-        }
-}
-
 passdb {
   driver = pam
 }
@@ -62,6 +43,13 @@
   driver = passwd
 }
 
+service auth {
+	unix_listener auth-userdb {
+		mode = 0660
+		user = dovecot
+		group = mail
+	}
+}
 service lmtp {
         unix_listener lmtp {
                 mode = 0660
--- a/postfix/main.cf	Mon Nov 10 21:14:26 2025 +0900
+++ b/postfix/main.cf	Mon Dec 01 08:38:15 2025 +0900
@@ -1,11 +1,3 @@
-# See /usr/share/postfix/main.cf.dist for a commented, more complete version
-
-
-# Debian specific:  Specifying a file name will cause the first
-# line of that file to be used as the name.  The Debian default
-# is /etc/mailname.
-#myorigin = /etc/mailname
-
 setgid_group = maildrop
 smtpd_banner = $myhostname ESMTP $mail_name (NetBSD)
 biff = no
@@ -22,8 +14,6 @@
 # fresh installs.
 compatibility_level = 3.6
 
-
-
 # TLS parameters
 smtpd_tls_cert_file=/etc/letsencrypt/live/example.net/fullchain.pem
 smtpd_tls_key_file=/etc/letsencrypt/live/example.net/privkey.pem
@@ -33,7 +23,6 @@
 smtp_tls_security_level=may
 smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
 
-
 smtpd_sasl_auth_enable = yes
 
 smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination