aboutsummaryrefslogtreecommitdiff
path: root/tests/internet
diff options
context:
space:
mode:
Diffstat (limited to 'tests/internet')
-rw-r--r--tests/internet/etc/dkimproxyout.conf.in9
-rw-r--r--tests/internet/etc/dovecot.conf.in54
-rw-r--r--tests/internet/etc/postfix/main.cf.in (renamed from tests/internet/main.cf.in)0
-rw-r--r--tests/internet/etc/postfix/master.cf (renamed from tests/internet/master.cf)0
-rw-r--r--tests/internet/etc/sasl2/smtpd.conf3
5 files changed, 66 insertions, 0 deletions
diff --git a/tests/internet/etc/dkimproxyout.conf.in b/tests/internet/etc/dkimproxyout.conf.in
new file mode 100644
index 0000000..0059804
--- /dev/null
+++ b/tests/internet/etc/dkimproxyout.conf.in
@@ -0,0 +1,9 @@
+listen 127.0.0.1:10027
+relay 127.0.0.1:10028
+
+domain @HOSTNAME@
+selector dkimproxyout
+
+signature dkim(c=relaxed/relaxed)
+
+keyfile /var/lib/dkimproxyout/private.key
diff --git a/tests/internet/etc/dovecot.conf.in b/tests/internet/etc/dovecot.conf.in
new file mode 100644
index 0000000..6ac013d
--- /dev/null
+++ b/tests/internet/etc/dovecot.conf.in
@@ -0,0 +1,54 @@
+protocols = imap
+
+default_internal_user = dovecot
+default_internal_group = dovecot
+default_login_user = dovenull
+auth_mechanisms = plain login
+auth_username_format = %n
+
+passdb {
+ driver = shadow
+}
+userdb {
+ driver = passwd
+}
+service auth-worker {
+ group = etc-shadow
+}
+
+ssl = required
+ssl_cert = </etc/letsencrypt/live/@HOSTNAME@/fullchain.pem
+ssl_key = </etc/letsencrypt/live/@HOSTNAME@/privkey.pem
+ssl_dh = </var/lib/dovecot/dhparam.pem
+
+base_dir = /var/run/dovecot
+state_dir = /var/lib/dovecot
+
+verbose_proctitle = yes
+
+mail_location = maildir:/var/mail/%u:INBOX=/var/mail/%u:LAYOUT=fs
+
+namespace inbox {
+ inbox = yes
+ mailbox Drafts {
+ special_use = \Drafts
+ auto = subscribe
+ }
+ mailbox Sent {
+ special_use = \Sent
+ auto = subscribe
+ }
+ mailbox Archive {
+ special_use = \Archive
+ auto = subscribe
+ }
+ mailbox Junk {
+ special_use = \Junk
+ auto = subscribe
+ autoexpunge = 30d
+ }
+ mailbox Trash {
+ special_use = \Trash
+ auto = subscribe
+ }
+}
diff --git a/tests/internet/main.cf.in b/tests/internet/etc/postfix/main.cf.in
index 566dbcd..566dbcd 100644
--- a/tests/internet/main.cf.in
+++ b/tests/internet/etc/postfix/main.cf.in
diff --git a/tests/internet/master.cf b/tests/internet/etc/postfix/master.cf
index 5c25fd9..5c25fd9 100644
--- a/tests/internet/master.cf
+++ b/tests/internet/etc/postfix/master.cf
diff --git a/tests/internet/etc/sasl2/smtpd.conf b/tests/internet/etc/sasl2/smtpd.conf
new file mode 100644
index 0000000..af2ac43
--- /dev/null
+++ b/tests/internet/etc/sasl2/smtpd.conf
@@ -0,0 +1,3 @@
+pwcheck_method: saslauthd
+saslauthd_path: /var/run/saslauthd/mux
+log_level: 7