This commit is contained in:
Constantin
2025-09-12 23:04:52 +03:00
commit 2277b11563
127 changed files with 23640 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
# Dovecot configuration for Personal Internet Cell
protocols = imap pop3 lmtp
# SSL/TLS settings
ssl = yes
ssl_cert = </etc/ssl/certs/mail.crt
ssl_key = </etc/ssl/private/mail.key
# Authentication
auth_mechanisms = plain login
passdb {
driver = passwd-file
args = scheme=SHA512-CRYPT username_format=%u /etc/dovecot/users
}
userdb {
driver = static
args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n
}
# Mailbox settings
mail_location = maildir:/var/mail/vhosts/%d/%n
mail_privileged_group = vmail
mail_access_groups = vmail
# IMAP settings
imap_max_line_length = 64k
# LMTP settings
service lmtp {
inet_listener lmtp {
port = 24
}
}
# Logging
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot-info.log
debug_log_path = /var/log/dovecot-debug.log
+38
View File
@@ -0,0 +1,38 @@
# Postfix configuration for Personal Internet Cell
myhostname = mail.cell
mydomain = cell
myorigin = $mydomain
# Network settings
inet_interfaces = all
inet_protocols = ipv4
# Mailbox settings
home_mailbox = Maildir/
mailbox_command =
# Authentication
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
# TLS settings
smtpd_tls_cert_file = /etc/ssl/certs/mail.crt
smtpd_tls_key_file = /etc/ssl/private/mail.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# Relay settings
relay_domains = cell, *.cell
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
# Virtual domains
virtual_mailbox_domains = cell
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_maps = hash:/etc/postfix/vmaps
virtual_alias_maps = hash:/etc/postfix/vmaps
# Security
disable_vrfy_command = yes
strict_rfc821_envelopes = yes
+19
View File
@@ -0,0 +1,19 @@
[server]
hosts = 0.0.0.0:5232
daemon = False
pid = /tmp/radicale.pid
[auth]
type = htpasswd
htpasswd_filename = /etc/radicale/users
htpasswd_encryption = bcrypt
[storage]
type = filesystem
filesystem_folder = /var/lib/radicale/collections
[web]
type = internal
[logging]
level = info
+22
View File
@@ -0,0 +1,22 @@
# WebDAV configuration for Personal Internet Cell
[global]
# WebDAV server settings
port = 8080
host = 0.0.0.0
root = /var/lib/webdav
# Authentication
auth_type = basic
auth_file = /etc/webdav/users
# SSL/TLS settings
ssl = no
ssl_cert = /etc/ssl/certs/webdav.crt
ssl_key = /etc/ssl/private/webdav.key
# Logging
log_level = info
log_file = /var/log/webdav.log
# File permissions
umask = 022