Commit graph

270 commits

Author SHA1 Message Date
Bojan Čekrlić
53f3fce380 Upd: Update GitHub actions to build proper image + upgrade due to deprecations 2023-09-27 23:49:23 +02:00
Jonathon Beauregard II
ab1cca7286 Feat: Create metrics service 2023-09-27 22:55:28 +02:00
Dmitry Sakun
8b6a6acfae fix: do not duplicate sasl configuration entries on restart
Fixing the issue when container will not restart due to sasl config file error
2023-09-27 18:34:28 +02:00
FlorianKronos
9235ee0dc1 Upd: Fix OAuth token support for Microsoft 365
This is a smaller fix to enable proper working of the image with
Microsoft 365.
2023-09-27 17:01:06 +02:00
dependabot[bot]
c7def504b5 Bump docker/build-push-action from 4 to 5
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-27 17:01:06 +02:00
Netexpertise
90d8795747 Upd: Enable STARTSSL on both ends of the connection
`STARTTLS` command is not implemented because TLS is enabled on the outgoing instead of the incoming traffic.
This change enables `STARTTLS` on both ends of the connection.
2023-09-27 17:00:10 +02:00
dependabot[bot]
a6bbe7ba17 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 08:01:57 +02:00
dependabot[bot]
14e42cca63 Bump WyriHaximus/github-action-helm3 from 2 to 3
Bumps [WyriHaximus/github-action-helm3](https://github.com/WyriHaximus/github-action-helm3) from 2 to 3.
- [Release notes](https://github.com/WyriHaximus/github-action-helm3/releases)
- [Commits](https://github.com/WyriHaximus/github-action-helm3/compare/v2...v3)

---
updated-dependencies:
- dependency-name: WyriHaximus/github-action-helm3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-21 08:14:29 +01:00
Bojan Čekrlić
4a8b4e7cc6 Fix deprecations and caching, ensure tags are build from proper Ubuntu release as well 2023-02-10 13:28:52 +01:00
Bojan Čekrlić
b505a8e8ba Update: make sure that output of copying files for chroot is properly alinged 2023-02-09 10:39:51 +01:00
Bojan Čekrlić
e325d45d51 Fix: replace deprecated ::set-output with piping to $GITHUB_OUTPUT 2023-02-09 10:20:27 +01:00
Bojan Čekrlić
e0e5942fad Fox for #102: Setup proper configuration for chrooting Postfix 2023-02-09 09:55:44 +01:00
dependabot[bot]
1deff42ed9 Bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 09:45:35 +01:00
Bojan Čekrlić
1be2c20b89 Fix Ubuntu build and upgrade to latest Ubuntu LTS release 2023-02-09 09:22:59 +01:00
Bojan Čekrlić
3eac3f42ae Fix for #118: Properly indent securityContext 2023-02-09 09:02:28 +01:00
vcazsdk
fc7ed0b391 Fix bad sasldb2 path with alpine image 2022-09-13 08:24:26 +02:00
vcazsdk
075a99f6fd Fix sasl-xoauth2 alpine build error: basename was not declared 2022-09-13 08:24:26 +02:00
vcazsdk
38d767c55d Remove duplicate var 2022-09-13 08:24:26 +02:00
vcazsdk
ff50aac2ab Add SMTPD_SASL_USERS option to README.md 2022-09-13 08:24:26 +02:00
vcazsdk
7390fa9e4f Fix stuck kubernetes pod shutdown 2022-09-13 08:24:26 +02:00
vcazsdk
f2daefd7e1 Add smtpd sender sasl authentication 2022-09-13 08:24:26 +02:00
vcazsdk
b6eaa3e838 Fix run error: dependency missing 2022-09-13 08:24:26 +02:00
vcazsdk
5776119ef3 Fix network error: disable postfix chroot 2022-09-13 08:24:26 +02:00
vcazsdk
a142b4547f Update ubuntu and sasl_xoauth2 version 2022-09-13 08:24:26 +02:00
Boky
4feeb2290e
Fix: Add GitHub stars info 2022-07-10 14:33:20 +02:00
Bojan Čekrlić
2ba5cc752b Fix: Depend on successful builds before releasing a new version 2022-06-19 12:42:02 +02:00
Bojan Čekrlić
470990fe14 Fix: Fix building releases with the new actions structure 2022-06-19 12:37:21 +02:00
Bojan Čekrlić
e145f8761e Fix: Fix build issue with Alpine and Caching 2022-06-16 12:36:30 +02:00
Bojan Čekrlić
06db8fb392 Fix for #106: Removed xouath2 from authentication methods if not used 2022-06-16 10:46:26 +02:00
Bojan Čekrlić
42078d5017 Fix: Fix multiplatform build caching issues
So, alpine will download platform-specific cache files, meaning that
when another platform tries to use the cache, it will fail with
packages not being found.
2022-06-09 15:32:07 +02:00
Bojan Čekrlić
ce640e1cd3 Fix: Make sure builds for Alpine are not failing (remove linux/386) 2022-06-09 11:20:35 +02:00
dependabot[bot]
371a4ac567 Bump docker/build-push-action from 2 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 15:05:42 +02:00
Bojan Čekrlić
cb9ab38d1f Upd: Simplify GitHub actions 2022-04-13 13:54:28 +02:00
Bojan Čekrlić
f4e2fea734 Upd: Simplify GitHub actions 2022-04-13 13:49:31 +02:00
Bojan Čekrlić
48a752b344 Upd: Simplify GitHub actions 2022-04-13 13:46:15 +02:00
Bojan Čekrlić
26a784ec68 Upd: Simplify GitHub actions 2022-04-13 13:45:06 +02:00
Bojan Čekrlić
f3554a3eb4 Upd: Simplify GitHub actions 2022-04-13 13:37:45 +02:00
Bojan Čekrlić
a74d681dd9 Upd: Simplify GitHub actions 2022-04-13 13:30:05 +02:00
Bojan Čekrlić
18c6ac17ae Upd: Simplify GitHub actions 2022-04-13 13:27:51 +02:00
Bojan Čekrlić
5bcaa63f8f Upd: Simplify GitHub actions 2022-04-13 13:23:43 +02:00
Bojan Čekrlić
81eb4eaef7 Upd: Simplyfy GitHub actions 2022-04-13 13:19:58 +02:00
Bojan Čekrlić
7a22e1817d Fix: Run update before installing Alpine packages 2022-04-13 12:51:39 +02:00
Bojan Čekrlić
71c6c075e1 Fix: Try clearing the GitHub cache
Maybe this will help with builds.
2022-04-13 12:33:58 +02:00
Bojan Čekrlić
6d538bed66 Upd: Fix building on GitHub
Apparently the issue is not with Alpine. Next suspect: cache.
2022-04-13 11:34:37 +02:00
Bojan Čekrlić
fb19630c2a Upd: (Temporarily?) remove linux/386 build
Seems that there's an issue with Alpine `linux/386` repo which
produces an error `UNTRUSTED signature` while trying to install
packages.

Temporarily removing this platform make the build pass.
2022-04-13 11:09:05 +02:00
Bojan Čekrlić
3385de7fca Upd: Fix integration tests with the latest refactor 2022-04-13 10:16:42 +02:00
Bojan Čekrlić
a6d10e6a13 Upd: Refactor Dockerfile and cache local builds
This refactor simplifies the `Dockerfile` by considerable amount:
new features of mobykit buildkit allow us to cache `apt`/`apk`
folder (so no need to delete `/var/lib/cache`) as well as extract
the build / install logic into separate files, which removes the
need for `&& \` and makes the code *much more* readable.

`build.sh` script has been updated as well to allow caching local
builds when testing, making it much more easier to test.
2022-04-13 09:57:46 +02:00
Bojan Čekrlić
9178904f47 Fix: Remove unneccessary unit tests
`paranoid` and `smart` analyzers were testing for message-ids. As it
turns out, these are not as simple as we thought. Detecting message ids
has been changed and, consequentially, this test methods are no longer
neccessary.
2022-04-12 16:21:10 +02:00
Bojan Čekrlić
c7c56d3ff1 Upd: Add new integration and unit tests
Test a few more functionalities in the image. Change how postfix
message IDs are detected. Message ID can be set by the client and
hence detecting them via regex is not the best way to go around it.

This fix will actually look at the log line and try to determine
if we're looking at the message ID or not.
2022-04-10 17:52:12 +02:00
Antoine GC
81a600db10 Update README.md 2022-04-10 17:33:19 +02:00