Skip to content
Snippets Groups Projects
Verified Commit 6c8f35a8 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(mok): Fix SMTP smuggling

parent d0ab40c6
No related branches found
No related tags found
No related merge requests found
Pipeline #18982 passed
...@@ -3,7 +3,7 @@ name: mok ...@@ -3,7 +3,7 @@ name: mok
description: | description: |
Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that runs without a database server on Kubernetes, taking advantage of configmaps and secret. Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that runs without a database server on Kubernetes, taking advantage of configmaps and secret.
type: application type: application
version: 0.11.0 version: 0.11.1
sources: sources:
- https://de.postfix.org/ftpmirror/index.html - https://de.postfix.org/ftpmirror/index.html
- https://github.com/dovecot/core - https://github.com/dovecot/core
......
# mok # mok
![Version: 0.11.0](https://img.shields.io/badge/Version-0.11.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.11.1](https://img.shields.io/badge/Version-0.11.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that runs without a database server on Kubernetes, taking advantage of configmaps and secret. Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that runs without a database server on Kubernetes, taking advantage of configmaps and secret.
...@@ -56,7 +56,7 @@ Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that run ...@@ -56,7 +56,7 @@ Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that run
| postfix.hostname | string | `nil` | explicitly set postfix hostname | | postfix.hostname | string | `nil` | explicitly set postfix hostname |
| postfix.image.pullPolicy | string | `"IfNotPresent"` | | | postfix.image.pullPolicy | string | `"IfNotPresent"` | |
| postfix.image.repository | string | `"quay.io/shivering-isles/postfix"` | postfix container image | | postfix.image.repository | string | `"quay.io/shivering-isles/postfix"` | postfix container image |
| postfix.image.tag | string | `"0.6.0"` | Overrides the image tag whose default is "latest" | | postfix.image.tag | string | `"3.8.4"` | Overrides the image tag whose default is "latest" |
| postfix.imagePullSecrets | list | `[]` | | | postfix.imagePullSecrets | list | `[]` | |
| postfix.nodeSelector | object | `{}` | | | postfix.nodeSelector | object | `{}` | |
| postfix.podAnnotations | object | `{}` | | | postfix.podAnnotations | object | `{}` | |
......
...@@ -299,6 +299,10 @@ data: ...@@ -299,6 +299,10 @@ data:
## SMTPD Restrictions Configuration ## SMTPD Restrictions Configuration
## ##
# Fixes for smtp-smuggling
smtpd_forbid_bare_newline = yes
smtpd_forbid_bare_newline_exclusions = $mynetworks
smtpd_recipient_restrictions = smtpd_recipient_restrictions =
# check_recipient_access btree:/srv/config/access_recipient, # check_recipient_access btree:/srv/config/access_recipient,
# check_recipient_access pgsql:/srv/tmp/recipient-access.cf # check_recipient_access pgsql:/srv/tmp/recipient-access.cf
......
...@@ -108,6 +108,10 @@ should match snapshot: ...@@ -108,6 +108,10 @@ should match snapshot:
## SMTPD Restrictions Configuration ## SMTPD Restrictions Configuration
## ##
# Fixes for smtp-smuggling
smtpd_forbid_bare_newline = yes
smtpd_forbid_bare_newline_exclusions = $mynetworks
smtpd_recipient_restrictions = smtpd_recipient_restrictions =
# check_recipient_access btree:/srv/config/access_recipient, # check_recipient_access btree:/srv/config/access_recipient,
# check_recipient_access pgsql:/srv/tmp/recipient-access.cf # check_recipient_access pgsql:/srv/tmp/recipient-access.cf
...@@ -418,7 +422,7 @@ should match snapshot: ...@@ -418,7 +422,7 @@ should match snapshot:
template: template:
metadata: metadata:
annotations: annotations:
checksum/config: ae779e82df8eab92d5ed337c3cae34b82ea65cc7e11637e47b3f91cf130e8de9 checksum/config: 0838cf3dfba1f00a38c0cd27491c5efaf355d048286ec4638dd0607cb3f8e22d
checksum/secret: 4a9a25e04ee01efbca95ac61fbbeb7adc3623a3494e86cd91f2b0cabc281f936 checksum/secret: 4a9a25e04ee01efbca95ac61fbbeb7adc3623a3494e86cd91f2b0cabc281f936
labels: labels:
app.kubernetes.io/component: postfix app.kubernetes.io/component: postfix
......
...@@ -46,7 +46,7 @@ postfix: ...@@ -46,7 +46,7 @@ postfix:
repository: quay.io/shivering-isles/postfix repository: quay.io/shivering-isles/postfix
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is "latest" # -- Overrides the image tag whose default is "latest"
tag: "0.6.0" tag: "3.8.4"
imagePullSecrets: [] imagePullSecrets: []
......
release=0.6.0 release=3.8.4
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment