13 Oct 2024 |
| Mark glants joined the room. | 03:12:55 |
| Dimitri banned @saucerr:matrix.org (placing spam). | 16:37:00 |
Dimitri | Same as in the past. It is only used for the documentation website and setup website. Would the .io domain really go away (which i doubt), then we can simply move to a different domain.
It does not affect any running Mailu installation. | 16:39:57 |
15 Oct 2024 |
| pager changed their display name from triazo to pager. | 04:07:59 |
| Oleg Artene joined the room. | 21:05:35 |
Oleg Artene | Hi,
On docker compose setup, are there optional containers?
I am running my own, one account, email server on the cheapest VPS and need only minimal setup (as less RAM as possible).
For example I don't need spam filter and web UI (I connect via mail clients), but I am not sure how interdependent are the containers (I haven't tried to just blindly stop them).
P.S. I couldn't find info about this in FAQ
https://mailu.io/2024.06/faq.html | 21:12:19 |
| Asghar Ahmed joined the room. | 21:23:47 |
Asghar Ahmed | hi working on mailu config on k8 cluster | 21:24:15 |
16 Oct 2024 |
Haley | Oleg Artene Yes, you can reduce the containers that are required. The one requiring most resources being rspamd IMHO. | 07:25:48 |
Oleg Artene | In reply to @neo:shdw.fr Oleg Artene Yes, you can reduce the containers that are required. The one requiring most resources being rspamd IMHO. Just stop them, or I also have to go into docker volumes to find and change the config file that may reference the stopped containers? | 08:10:23 |
metal6 | In reply to @neo:shdw.fr Oleg Artene Yes, you can reduce the containers that are required. The one requiring most resources being rspamd IMHO. From my experience, most resources consuming would be clamav | 08:10:32 |
Oleg Artene | * Just stop them, or I also have to go into docker volumes to find and change the config files that may reference the stopped containers? | 08:10:40 |
Haley | no, you can disable these in the configuration file | 08:11:26 |
Oleg Artene | There is no tutorial, I have to investigate and figure out which one can be stopped and what configs to change? | 08:12:40 |
Haley | the Web-UI and the spamd stuff can be removed. You can also use the option notmto use a database (mysql or postgres) and go straoght fornthe builtin DB stuff. | 08:18:48 |
Haley | Check out: https://setup.mailu.io/2024.06/ | 08:18:50 |
Oleg Artene | In reply to @neo:shdw.fr the Web-UI and the spamd stuff can be removed. You can also use the option notmto use a database (mysql or postgres) and go straoght fornthe builtin DB stuff. Thanks! I used the setup only once (many months ago) and forgot that there are checkboxes to remove services/containers. | 08:26:24 |
Haley | yep :) | 08:27:35 |
| Levon Israyelyan joined the room. | 13:13:00 |
Oleg Artene | Redacted or Malformed Event | 16:47:31 |
Oleg Artene | In reply to @01e9:matrix.org
Hi, On docker compose setup, are there optional containers?
I am running my own, one account, email server on the cheapest VPS and need only minimal setup (as less RAM as possible).
For example I don't need spam filter and web UI (I connect via mail clients), but I am not sure how interdependent are the containers (I haven't tried to just blindly stop them).
P.S. I couldn't find info about this in FAQ https://mailu.io/2024.06/faq.html Done
Stopped/commented containers: fetchmail, oletools, antispam. Disabled what's possible in env.
But email sending was not working. The fix was to disable antispam in SMTP: https://github.com/Mailu/Mailu/issues/3615#issuecomment-2417566732
"admin" container is required, and has highest memory usage ~200MB | 18:19:35 |
17 Oct 2024 |
@ayaash_:matrix.org | Hey there. I have an issue with my mailu config, using traefik as a reverse-proxy: when an e-mail is sent to the server, it is not delivered, and the front service dumps logs ending by: requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='spinoza.ayaash.me', port=80): Max retries exceeded with url: /.well-known/acme-challenge/testing (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f2a7c48f4d0>, 'Connection to spinoza.ayaash.me timed out. (connect timeout=None)')) | 11:21:02 |
@ayaash_:matrix.org | * Hey there. I have an issue with my mailu config, using traefik as a reverse-proxy: when an e-mail is sent to the server, it is not delivered, and the front service dumps logs ending by: requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='<hostname>', port=80): Max retries exceeded with url: /.well-known/acme-challenge/testing (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f2a7c48f4d0>, 'Connection to <hostname> timed out. (connect timeout=None)')) | 11:22:47 |
@ayaash_:matrix.org | * Hey there. I have an issue with my mailu config, using traefik as a reverse-proxy: when an e-mail is sent to the server, it is not delivered, and the front service dumps logs ending by: requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='<hostname>', port=80): Max retries exceeded with url: /.well-known/acme-challenge/testing (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f2a7c48f4d0>, 'Connection to <hostname> timed out. (connect timeout=None)'))
From what I understand, the problem comes from the fact that when trying to access to the acme challenge at http://<hostname>/.well-known/acme-challenge/testing, the request is redirected to https:/ and ends up with a 502 error. I have no redirection from http to https in traefik, or anywhere as far as I can see. Does anybody know where could be the problem?
| 11:26:13 |
Haley | acme-challenge is usually used for the certificate creation (cert-bot). So I don't think this error message has anything to do with the mail-sending issue. | 11:55:21 |
Haley | Guess the redirections are broken in your traefik config | 11:55:35 |
@ayaash_:matrix.org | The problem occurs when receiving an email, not sending one. I guess that the sender try to check the cert, and the server try to generate one?
The problem is that as far as I knows, there is no rule for redirecting http to https in my traefik config, I checked it on traefik dashboard. | 12:13:24 |
Haley | The cert-manager renews the certificates once every 3 months usually, and stores them locally until the next renewal. | 12:56:08 |
@ayaash_:matrix.org | Ok, got it fixed. I had setup a tls-passthrough rule on my smtp and submissions rules that was the problem. And this caused smtp to be unable to provide a valid cert, and to try to generate one i guess, and fail, and therefore not deliver mail | 13:32:21 |
@ayaash_:matrix.org | Thanks | 13:32:26 |