Mailu: Open Relay / 502 Bad Gateway

Created on 14 Jun 2020  ยท  5Comments  ยท  Source: Mailu/Mailu

Hi,

I will try to describe my problem .....

Basics:
Server running with CentOS 8, public IPv4, public IPv6, Docker version 19.03.11, build 42e35e61f3

I have installed a MailU setup using the config tool on https://setup.mailu.io/1.7/

fine so far....

After starting the containers .... I got a 502 Bad Gateway error on the Admin and Webmail IF.

I found out that when I activate masquerading (_firewall-cmd --zone=public --add-masquerade --permanent_) it works. Admin, Webmail, etc. are working, also sending and recieving Mails is working fine.
But now it looks like that all Mails are comming from the internal Docker IP range, and the Server works as an "Open Relay".

Has anybody an idea to solv that problem?

Thanks

staturesponse_needed typquestion

Most helpful comment

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 :smiley: 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!

All 5 comments

Hello,
I would recommend to you start disabling ipv6 (in your front section, comment out all ipv6 stuff in the port section)
Are you using any other reverse proxy on your server ? or only the one provided by mailu ?

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 :smiley: 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!

@TyphoonSB do you still have this issue ? I had this problem some weeks ago on Fedora 32.

Since I personally switched from docker-ce to moby-engine, my issue disappeared .
Hope it'll help ๐Ÿ‘

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.

This issue has not seen activity since as it has become stale. It will now be automatically closed. Please note that this is an automatic action, and not meant in any offensive way.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

styxlab picture styxlab  ยท  4Comments

v1ru535 picture v1ru535  ยท  4Comments

SJS28092018 picture SJS28092018  ยท  3Comments

kaiyou picture kaiyou  ยท  4Comments

Diman0 picture Diman0  ยท  3Comments