From 4dadf12bb8613a610bfd1b6b044cd6b5b4ec8ed3 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 17 Mar 2023 15:06:19 -0300 Subject: Makefile: Streamline verification of generated config files --- tests/internet/etc/dkimproxyout.conf.in | 9 ++++++ tests/internet/etc/dovecot.conf.in | 54 +++++++++++++++++++++++++++++++++ tests/internet/etc/postfix/main.cf.in | 36 ++++++++++++++++++++++ tests/internet/etc/postfix/master.cf | 51 +++++++++++++++++++++++++++++++ tests/internet/etc/sasl2/smtpd.conf | 3 ++ tests/internet/main.cf.in | 36 ---------------------- tests/internet/master.cf | 51 ------------------------------- tests/local/etc/postfix/main.cf | 21 +++++++++++++ tests/local/etc/postfix/master.cf | 30 ++++++++++++++++++ tests/local/main.cf | 21 ------------- tests/local/master.cf | 30 ------------------ 11 files changed, 204 insertions(+), 138 deletions(-) create mode 100644 tests/internet/etc/dkimproxyout.conf.in create mode 100644 tests/internet/etc/dovecot.conf.in create mode 100644 tests/internet/etc/postfix/main.cf.in create mode 100644 tests/internet/etc/postfix/master.cf create mode 100644 tests/internet/etc/sasl2/smtpd.conf delete mode 100644 tests/internet/main.cf.in delete mode 100644 tests/internet/master.cf create mode 100644 tests/local/etc/postfix/main.cf create mode 100644 tests/local/etc/postfix/master.cf delete mode 100644 tests/local/main.cf delete mode 100644 tests/local/master.cf (limited to 'tests') 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 =