Commit graph

265 commits

Author SHA1 Message Date
Bojan Čekrlić
2593172f87 Fix #97: Allow skipping reown and don't die on reown failure 2022-03-28 20:10:44 +02:00
Bojan Čekrlić
3d750cfb6a Fix #95: Make grep quiet
Grep was missing the quiet (`-q`) option which made it echo the
password to postfix logs.
2022-03-28 19:51:47 +02:00
Bojan Čekrlić
156b45d9f7 Fix #104: Inproper usage of sed
A small error where sed was called wrongly ('s/.../d') instead of
'/.../d' was causing an error `sed: unmatched '/' on configuration
change`.

This commit should fix the issue.
2022-03-28 19:49:31 +02:00
Bojan Čekrlić
fd5c00c1bc Merge branch 'master' of github.com:bokysan/docker-postfix 2022-03-28 19:44:09 +02:00
Bojan Čekrlić
f5d0e56b1b New: Add smart email anonymizer
This email anonymizer tries to be a bit more smart about how it goes
about anonymizing email addresses, by providing as much as possible
information while still making sure to respect user's privacy.

More info available in `README.md`.
2022-03-28 19:42:56 +02:00
dependabot[bot]
2cb9cdd1a5 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 19:37:44 +02:00
dependabot[bot]
d8fcf8b376 Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 19:37:24 +02:00
Bojan Čekrlić
b4c0f2650e Upd: Fix typos and add hashing email obfuscation 2022-01-08 15:52:58 +01:00
Bojan Čekrlić
16b19d59e8 Upgrade Ubuntu Focal -> Impish
This allows us to build `arm/v7` which should hopefully fix #90.
2021-12-14 16:10:19 +01:00
Bojan Čekrlić
571b794794 Fix integration tests after refactoring of scripts 2021-12-07 13:53:43 +01:00
Sergio Del Río Mayoral
a1a2082ae1 Add email anonymizer option in case is needed for GDPR
This new feature will anonymize emails in the Postfix logs. This allows
you to keep them indefinetely while being compliant with GDPR.

Based on excellent work on [this pull request](https://github.com/bokysan/docker-postfix/pull/91).

Check `README.md` for more details.
2021-12-07 13:43:13 +01:00
Justin Zandbergen
370c126b43 Updated documentation and added test 2021-12-01 10:03:23 +01:00
Justin Zandbergen
7d884e4d32 Add feature to bring your own secret resource 2021-12-01 10:03:23 +01:00
sdelrio
88c94f979a Fix for #69: Disable healthcheck logs 2021-11-08 09:45:48 +01:00
Bojan Čekrlić
266bfb1ba0 New: Add a bunch of examples
Hopefully this exampels will help people get up to speed and deploy the
solution faster.

They show how the image can be used in different scenarios, e.g.:

- as a MTA for Dovecot with `docker-compose`
- as an outgoing queue towards AWS SES or Google Mail through `helm`
- as an outgoing queue towards Sendgrid through `helm`
2021-09-30 12:57:15 +02:00
Pando85
90eafda79e Fix: README POSTFIX_myhostname envar name 2021-09-23 17:08:25 +02:00
Bojan Čekrlić
a489b4c113 Move build of sasl-xoauth2 to the main file
Some users have reported issues with GCE and how sasl-xoauth2 was
built. Moving the building process back into the main part of the
`Dockerfile` should hopefully prevent similar issues.
2021-09-06 11:25:10 +02:00
Bojan Čekrlić
fab1b33b48 Fix for #83: Add the possibility to mount files from secret 2021-08-22 18:07:45 +02:00
Bojan Čekrlić
331e25899d Fix for #82: Wrong mount name used 2021-08-22 17:50:50 +02:00
Bojan Čekrlić
3cb19e7c13 Fix for #84: Do not set storageClassName if not set in values.yml 2021-08-22 17:49:29 +02:00
Boky
ddc147f734
Fix: Fix missing word in README.md
...apparently I forgot a key word.
2021-06-21 19:05:37 +02:00
Bojan Čekrlić
956caf3fa4 Upd #63: Gracefully scaledown Postfix
Make sure the queue is flushed when the Postfix container is
shutdown through Kubernetes lifecycle hooks.
2021-06-05 21:07:54 +02:00
Bojan Čekrlić
aed5624d36 Upd: Fix documentation for recreateOnRedeploy. 2021-06-04 17:33:09 +02:00
Bojan Čekrlić
18e96b8e8d Upd: Implementation for #71, tests for extraContainers 2021-06-04 16:22:05 +02:00
Bojan Čekrlić
3ec47a147b Fix: Formatting and layout, update pull_request GitHub action 2021-06-04 16:00:29 +02:00
Koen
9a444d495f
Need to set LoadbalancerIP in Service specification. Patch to copy all specs over from Values files. (#72)
* copy other specs over

I want to copy over loadBalancerIP to grab a predefined static ip

* removed hardcoded LoadbalancerIP

* Set theme jekyll-theme-slate

* update README

* test service specs are copied over

* undo config changes

* remove config file
2021-06-04 15:52:49 +02:00
msvechla
02b1caa6e5
add SASL_RELAYHOST to overwrite RELATHOST in sasl_passwd file on demand (#77) 2021-06-04 15:52:19 +02:00
jaazmyn
e0f7636a1c
Add option to have multiple containers (#79) 2021-06-04 15:50:02 +02:00
Bojan Čekrlić
a695d05a7b Fix: Depricate RELAYHOST_TLS_LEVEL with Postfix equivivalent 2021-05-31 09:01:53 +02:00
Bojan Čekrlić
552d73c623 Fix. Fix typo 2021-05-30 13:34:52 +02:00
Bojan Čekrlić
5a176d1180 Upd: Simplify GitHub actions. 2021-05-29 21:42:24 +02:00
Bojan Čekrlić
af7438a645 Upd: Simplify GitHub actions. 2021-05-29 21:23:03 +02:00
Bojan Čekrlić
15dab4cfbd Upd: Simplify GitHub actions. 2021-05-29 21:14:24 +02:00
Bojan Čekrlić
c1be59d2f5 Upd: Simplify GitHub actions. 2021-05-29 21:05:30 +02:00
Bojan Čekrlić
4476cba5a5 Upd: Simplify GitHub actions. 2021-05-29 20:41:40 +02:00
Bojan Čekrlić
bc84df98c5 Upd: Simplify GitHub actions. 2021-05-29 20:41:36 +02:00
dependabot[bot]
2deedeab51
Bump crazy-max/ghaction-docker-buildx from 1 to 3.3.1 (#74)
Bumps [crazy-max/ghaction-docker-buildx](https://github.com/crazy-max/ghaction-docker-buildx) from 1 to 3.3.1.
- [Release notes](https://github.com/crazy-max/ghaction-docker-buildx/releases)
- [Changelog](https://github.com/crazy-max/ghaction-docker-buildx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crazy-max/ghaction-docker-buildx/compare/v1...v3.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-29 20:29:57 +02:00
Bojan Čekrlić
18ca47e62a Upd: Simplify GitHub actions. 2021-05-29 20:28:42 +02:00
Bojan Čekrlić
7892c03cdc Upd: Simplify GitHub actions. 2021-05-29 20:26:58 +02:00
Bojan Čekrlić
5c9e076f0b Upd: Simplify GitHub actions. 2021-05-29 20:21:48 +02:00
Bojan Čekrlić
4d0e7b9755 Upd: Switch to docker actions and add caching 2021-05-29 18:34:38 +02:00
Bojan Čekrlić
13bdabe27e Fix: Fix deploymen of TLS certificates, script exec and Ubuntu build 2021-05-29 18:21:02 +02:00
Bojan Čekrlić
3b37f9164a Upd: Split steps in Dockerfile for more caching 2021-05-29 17:48:54 +02:00
Bojan Čekrlić
b3e2e8daeb Fix: Remove linux/s390x build from Alpine
Alpine doesn't seem to have rsyslog compiled for linux/s390x and
will therefore fail the build.
2021-05-29 17:22:29 +02:00
jaazmyn
069195a125
Add option to use a specific nodePort (#70)
* Add option to use a specific nodePort

* Update README on option to specify a nodePort
2021-05-29 17:09:21 +02:00
Bojan Čekrlić
0c12027622 New: Add support for Ubuntu builds and TLS certs on Helm 2021-05-29 17:08:08 +02:00
Bojan Čekrlić
4775796967 Fix: Update documentation on how secrets can be passed to the pod 2021-05-29 09:14:19 +02:00
Bojan Čekrlić
999c63c714 Fix: Inproper formatting of YAML when certain parameters were set 2021-05-29 09:11:16 +02:00
Bojan Čekrlić
fb53f25c98 Fix #66: mount sockets into a temporary directory 2021-05-29 09:09:43 +02:00
Bojan Čekrlić
5713ef4b37 Upd: Fix table formatting 2021-05-29 09:04:05 +02:00