Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joanne Hugé
slapos
Commits
68d4af81
Commit
68d4af81
authored
Feb 20, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP
parent
2c10f22a
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
50 additions
and
33 deletions
+50
-33
software/dovecot/buildout.hash.cfg
software/dovecot/buildout.hash.cfg
+6
-6
software/dovecot/dovecot-passwd.jinja2
software/dovecot/dovecot-passwd.jinja2
+3
-1
software/dovecot/instance-default-input-schema.json
software/dovecot/instance-default-input-schema.json
+14
-0
software/dovecot/instance-default.cfg.in
software/dovecot/instance-default.cfg.in
+1
-1
software/dovecot/postfix_alias.jinja2
software/dovecot/postfix_alias.jinja2
+3
-1
software/dovecot/postfix_main.jinja2.cf
software/dovecot/postfix_main.jinja2.cf
+13
-18
software/dovecot/postfix_virtual.jinja2
software/dovecot/postfix_virtual.jinja2
+3
-1
software/dovecot/postfix_vmailbox.jinja2
software/dovecot/postfix_vmailbox.jinja2
+3
-1
software/dovecot/software.cfg.json
software/dovecot/software.cfg.json
+4
-4
No files found.
software/dovecot/buildout.hash.cfg
View file @
68d4af81
...
@@ -19,30 +19,30 @@ md5sum = 5ded78c210ad723606f808165fe10be6
...
@@ -19,30 +19,30 @@ md5sum = 5ded78c210ad723606f808165fe10be6
[template-default]
[template-default]
_update_hash_filename_ = instance-default.cfg.in
_update_hash_filename_ = instance-default.cfg.in
md5sum =
1e87d360ed90b40530a7c28e50949e0d
md5sum =
5c478f96bfb447059f8599bca65745e3
[dovecot.jinja2.conf]
[dovecot.jinja2.conf]
_update_hash_filename_ = dovecot.jinja2.conf
_update_hash_filename_ = dovecot.jinja2.conf
md5sum = abfb5606d5af39b1a6682919129708d0
md5sum = abfb5606d5af39b1a6682919129708d0
[dovecot-passwd.jinja2]
[dovecot-passwd.jinja2]
_update_hash_filename_ = dovecot-passwd.jinja2
_update_hash_filename_ = dovecot-passwd.jinja2
md5sum =
190b3130b1b60bf4ca7a58ccf1ab3e9b
md5sum =
b4f2be65faad8194fd0a1e5ccb157c8e
[postfix_main.jinja2.cf]
[postfix_main.jinja2.cf]
_update_hash_filename_ = postfix_main.jinja2.cf
_update_hash_filename_ = postfix_main.jinja2.cf
md5sum =
7f41fc15c0242bf7f9344673e068d8dc
md5sum =
6f13224d48a8d7a3e865142ec99bd2ea
[postfix_master.jinja2.cf]
[postfix_master.jinja2.cf]
_update_hash_filename_ = postfix_master.jinja2.cf
_update_hash_filename_ = postfix_master.jinja2.cf
md5sum = 7752a8b4af5c18dc404e0a862af89272
md5sum = 7752a8b4af5c18dc404e0a862af89272
[postfix_alias.jinja2]
[postfix_alias.jinja2]
_update_hash_filename_ = postfix_alias.jinja2
_update_hash_filename_ = postfix_alias.jinja2
md5sum =
b6941dd8632208c592ba3a531df63034
md5sum =
ea0165b66d7d3da48c4977dc611c044a
[postfix_mailname.jinja2]
[postfix_mailname.jinja2]
_update_hash_filename_ = postfix_mailname.jinja2
_update_hash_filename_ = postfix_mailname.jinja2
md5sum = e7eb11cb4485b0d46f968f612643c1b0
md5sum = e7eb11cb4485b0d46f968f612643c1b0
[postfix_vmailbox.jinja2]
[postfix_vmailbox.jinja2]
_update_hash_filename_ = postfix_vmailbox.jinja2
_update_hash_filename_ = postfix_vmailbox.jinja2
md5sum =
dcff25a0b3b46414cbbd88b43fa808eb
md5sum =
faa54faeb64809027f8dc38f104f28ea
[postfix_virtual.jinja2]
[postfix_virtual.jinja2]
_update_hash_filename_ = postfix_virtual.jinja2
_update_hash_filename_ = postfix_virtual.jinja2
md5sum =
0ce1aff8574a14359c4c17f02d88dec8
md5sum =
1dd7a27d7bc43da4db1d87c44a533dea
software/dovecot/dovecot-passwd.jinja2
View file @
68d4af81
ors:{PLAIN}ors123
alpha:{PLAIN}ors123
bravo:{PLAIN}ors123
charlie:{PLAIN}ors123
software/dovecot/instance-default-input-schema.json
0 → 100644
View file @
68d4af81
{
"type"
:
"object"
,
"$schema"
:
"http://json-schema.org/draft-04/schema"
,
"title"
:
"Input Parameters"
,
"properties"
:
{
"hostname"
:
{
"default"
:
"ors.rapid.space"
,
"title"
:
"Hostname"
,
"description"
:
"Hostname"
,
"type"
:
"string"
}
}
}
software/dovecot/instance-default.cfg.in
View file @
68d4af81
...
@@ -120,7 +120,7 @@ extra-context =
...
@@ -120,7 +120,7 @@ extra-context =
key log_directory directory:var-log
key log_directory directory:var-log
key mail_owner userinfo:pw-name
key mail_owner userinfo:pw-name
key setgid_group userinfo:gr-name
key setgid_group userinfo:gr-name
key ip_address
ethernet-ip:ipv4
key ip_address
slap-configuration:ipv6-random
raw xz_utils_location {{ xz_utils_location }}
raw xz_utils_location {{ xz_utils_location }}
raw postfix_location {{ postfix_location }}
raw postfix_location {{ postfix_location }}
...
...
software/dovecot/postfix_alias.jinja2
View file @
68d4af81
postmaster: ors
postmaster: alpha
postmaster: bravo
postmaster: charlie
software/dovecot/postfix_main.jinja2.cf
View file @
68d4af81
...
@@ -4,27 +4,28 @@ queue_directory = {{ queue_directory }}
...
@@ -4,27 +4,28 @@ queue_directory = {{ queue_directory }}
command_directory = {{ bin_directory }}
command_directory = {{ bin_directory }}
daemon_directory = {{ usr_directory }}/libexec/postfix
daemon_directory = {{ usr_directory }}/libexec/postfix
data_directory = {{ data_directory }}
data_directory = {{ data_directory }}
mail_owner = {{ mail_owner }}
alias_maps = hash:{{ alias_file }}
alias_database = hash:{{ alias_file }}
mail_spool_directory = {{ spool_directory }}
mail_spool_directory = {{ spool_directory }}
sendmail_path = {{ bin_directory }}/sendmail
newaliases_path = {{ bin_directory }}/newaliases
mailq_path = {{ bin_directory }}/mailq
setgid_group = {{ setgid_group }}
html_directory = no
html_directory = no
manpage_directory = {{ postfix_location }}/usr/local/man
manpage_directory = {{ postfix_location }}/usr/local/man
sample_directory = {{ postfix_location }}/etc/postfix
sample_directory = {{ postfix_location }}/etc/postfix
readme_directory = no
readme_directory = no
sendmail_path = {{ bin_directory }}/sendmail
newaliases_path = {{ bin_directory }}/newaliases
mailq_path = {{ bin_directory }}/mailq
compatibility_level = 3.6
smtputf8_enable = no
mail_owner = {{ mail_owner }}
setgid_group = {{ setgid_group }}
alias_maps = hash:{{ alias_file }}
alias_database = hash:{{ alias_file }}
inet_interfaces = {{ ip_address }}
inet_interfaces = {{ ip_address }}
inet_protocols = all
smtp_bind_address = 0.0.0.0
smtp_bind_address = 0.0.0.0
smtp_bind_address6 = ::
smtp_bind_address6 = ::
compatibility_level = 3.6
smtputf8_enable = no
# Compared to default:
# - remove X-related variables, irrelevant for slapos, to be concise
# - add SASL_CONF_PATH to have per-partition cyrus-sasl configuration
import_environment =
import_environment =
MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ LANG=C
MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ LANG=C
...
@@ -33,23 +34,17 @@ smtpd_sasl_type = dovecot
...
@@ -33,23 +34,17 @@ smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_auth_enable = yes
# Reject as many bogus cases as soon as possible, so errors are visible to ERP5
# developper rather than relying on bounces.
smtpd_recipient_restrictions =
smtpd_recipient_restrictions =
reject_non_fqdn_recipient
reject_non_fqdn_recipient
reject_unknown_recipient_domain
reject_unknown_recipient_domain
permit_sasl_authenticated
permit_sasl_authenticated
reject
reject
# Do not allow mynetworks to send mails, only authenticated clients.
smtpd_relay_restrictions =
smtpd_relay_restrictions =
permit_sasl_authenticated
permit_sasl_authenticated
defer_unauth_destination
defer_unauth_destination
# We do not pass mail address in command lines, so accept those starting with
# a dash.
allow_min_user = yes
allow_min_user = yes
# Disable local delivery
local_transport = error
local_transport = error
maillog_file = {{ log_directory }}/postfix.log
maillog_file = {{ log_directory }}/postfix.log
...
...
software/dovecot/postfix_virtual.jinja2
View file @
68d4af81
postmaster@ors.local ors@ors.local
postmaster@ors.local alpha@ors.local
postmaster@ors.local bravo@ors.local
postmaster@ors.local charlie@ors.local
software/dovecot/postfix_vmailbox.jinja2
View file @
68d4af81
ors@ors.local ors.local/ors
alpha@ors.local ors.local/alpha
bravo@ors.local ors.local/bravo
charlie@ors.local ors.local/charlie
software/dovecot/software.cfg.json
View file @
68d4af81
{
{
"name"
:
"
ERP5
"
,
"name"
:
"
Mail Server
"
,
"description"
:
"
ERP5, Open-Source ERP
"
,
"description"
:
"
Mail Server
"
,
"serialisation"
:
"json-in-xml"
,
"serialisation"
:
"json-in-xml"
,
"software-type"
:
{
"software-type"
:
{
"default"
:
{
"default"
:
{
"title"
:
"Default"
,
"title"
:
"Default"
,
"software-type"
:
"default"
,
"software-type"
:
"default"
,
"request"
:
"instance-d
oveco
t-input-schema.json"
,
"request"
:
"instance-d
efaul
t-input-schema.json"
,
"response"
:
"instance-d
oveco
t-output-schema.json"
,
"response"
:
"instance-d
efaul
t-output-schema.json"
,
"index"
:
0
"index"
:
0
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment