Comments (6)
It looks like you have an open relay due to misconfigured networking on your kubernetes.
You excluded the most interesting part of the log, where the bad guy connects to you postfix. My bet would be that these excluded line tell you that connection comes from 127.0.0.1. You need to find out why and rectify it.
Apr 21 08:45:47 mail postfix/smtpd[187]: connect from localhost[127.0.0.1]
A specific advice cannot be given here as it depends, on what how network is setup and configured within your cluster and how connectivity from the bad guy to your pod actually works, you need to experiment a bit and trace how that happens.
If you google a bit, you will find a lot of similar reports for docker / kubernetes setup with other popular container based mail server implementation, which are also due to networking misconfiguration.
A couple of examples:
from helm-charts.
Hi,
Thanks for the reply, the network configuration is done thanks to the service embedded in the helm charts, the only change I've made is to turn the daemonset/nodeport into a replicaset/loadbalancer :
mailu-front LoadBalancer 10.233.54.52 10.180.0.61 110:32293/TCP,995:31537/TCP,143:30923/TCP,993:30553/TCP,25:32291/TCP,465:30046/TCP,587:30056/TCP,10025:30733/TCP,10143:31558/TCP,80:32548/TCP 36d
The "connect from localhost" message has nothing to deal with the problem, it's due to the liveness probe connecting every 10 seconds to check if server is still alive (this is also part of the helm deployment)
I've created this issue as requested by Kayou :
kaiyou
Okay, could you open an issue on the mater?
Looking at the code, there might be something wrong with our SRS implementation.
We'd have to figure out how it can be used maliciously, but definitely something is fishy around
the fact that we do not use the original sender domain in the construct for the SRS string.
from helm-charts.
Sorry, I meant kubernetes networking configuration, not the one specific to mailu as per helm chart.
The "connect from localhost" message has nothing to deal with the problem, it's due to the liveness probe connecting every 10 seconds to check if server is still alive (this is also part of the helm deployment)
Yep, that checks, yet the most interesting part of the log is missing.
from helm-charts.
Pinging @kaiyou as apparently this was discussed on Matrix.
Background: SRS was added recently on master: Mailu/Mailu#1349
from helm-charts.
Hi There,
The Mailu
-Project is currently in a bit of a bind! We are short on man-power, and we need to judge if it is possible for us to put in some work on this issue.
To help with that, we are currently trying to find out which issues are actively keeping users from using Mailu
, which issues have someone who want to work on them — and which issues may be less important. These a less important ones could be discarded for the time being, until the project is in a more stable and regular state once again.
In order for us to better assess this, it would be helpful if you could put a reaction on this post (use the 😃 icon to the top-right).
- 👍️ if you need this to be able to use Mailu. Ideally, you’d also be able to test this on your installation, and provide feedback …
- 🎉 if you find it a nice bonus, but no deal-breaker
- 🚀 if you want to work on it yourself!
We want to keep this voting open for 2 weeks from now, so please help out!
from helm-charts.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from helm-charts.
Related Issues (20)
- [BUG] Default configuration disables outbound TLS of Postfix HOT 3
- fix(admin): relation "domain" does not exist for postgres HOT 1
- treafik support HOT 2
- [BUG] rspamd: DNS reply returned 'no error' for dwl.dnswl.org while 'no records with this name' was expected when querying for 'LkJBkdnhL-tpa.dwl.dnswl.org' (likely DNS spoofing or BL internal issues) HOT 3
- feat: providing existing certificate for `imaps`, `pop3s`, `smtps`(465), and `starttls`(587), etc HOT 4
- No rate limit internal email? HOT 3
- Error: failed to prepare subPath for volumeMount "data" of container HOT 2
- [BUG] global.storageClass is not applied to single_pvc HOT 2
- [BUG] externalRedis,No password attribute HOT 4
- mailu-front: using reloader on k8s HOT 4
- Whenever I restart my kubernetes cluster running mailu my user accounts are lost. HOT 1
- [BUG] Using an external MariaDB database causes admin pod to fail starting HOT 1
- Hostname Test fails for valid domain 123_123_123_123.example.org HOT 3
- Too many redirects HOT 2
- [BUG] Admin Pod restarting endlessly due to probes failing HOT 4
- How to control outgoing mails in a multi node cluster? HOT 2
- [BUG] Dovecot Pod does not have valid certs for lmtp when front is provided with ExistingSecret HOT 1
- Please add an option to disable rspamd HOT 4
- [BUG] Non-working parameters parameters in values.yaml "nodeSelector" and "affinity" HOT 6
- [BUG] dovecot data mount point HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-charts.