summaryrefslogtreecommitdiffstats
path: root/nomic-system
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-08-21 13:28:19 +0200
committertv <tv@shackspace.de>2014-08-21 13:28:19 +0200
commit3d50e7386178cd0392d2e1c9ba7b9e933b4c27e3 (patch)
tree77cc15d9b1ce1e0f82120dd4c85550b1a992b6bb /nomic-system
initial commit
Diffstat (limited to 'nomic-system')
-rw-r--r--nomic-system/nomic-exim.conf84
1 files changed, 84 insertions, 0 deletions
diff --git a/nomic-system/nomic-exim.conf b/nomic-system/nomic-exim.conf
new file mode 100644
index 0000000..1589b53
--- /dev/null
+++ b/nomic-system/nomic-exim.conf
@@ -0,0 +1,84 @@
+# Retiolum-only Exim configuration
+
+# primary_hostname =
+
+domainlist local_domains = @
+domainlist relay_to_domains = *.retiolum
+hostlist relay_from_hosts = <; 127.0.0.1 ; ::1 ; *.retiolum
+
+never_users = root
+
+log_selector = -queue_run
+log_file_path = syslog
+syslog_timestamp = false
+syslog_duplication = false
+
+acl_smtp_rcpt = acl_check_rcpt
+
+host_lookup = *
+
+
+begin acl
+
+ acl_check_rcpt:
+
+ accept
+ domains = +local_domains
+ verify = sender
+ verify = recipient
+
+ accept
+ domains = +relay_to_domains
+ hosts = +relay_from_hosts
+ verify = sender
+ verify = recipient/callout
+
+
+begin routers
+
+ remote_retiolum:
+ driver = manualroute
+ domains = ! +local_domains : *.retiolum
+ transport = retiolum_smtp
+ route_list = ^.* $0 byname
+ no_more
+
+ remote_internet:
+ driver = redirect
+ domains = ! +local_domains
+ allow_fail
+ data = :fail: relay not permitted
+ cannot_route_message = relay not permitted
+ no_more
+
+ local_maildir:
+ driver = accept
+ check_local_user
+ transport = home_maildir
+ cannot_route_message = unknown local user
+
+
+begin transports
+
+ retiolum_smtp:
+ driver = smtp
+ retry_include_ip_address = false
+
+ home_maildir:
+ driver = appendfile
+ maildir_format
+ maildir_use_size_file
+ directory = $home/Mail
+ directory_mode = 0700
+ delivery_date_add
+ envelope_to_add
+ return_path_add
+
+
+begin retry
+
+ *.retiolum * F,42d,1m
+ * * F,2h,15m; G,16h,1h,1.5; F,4d,6h
+
+
+begin authenticators