azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
3.13k stars 112 forks source link

[BUG]: When installing Docker-Mailserver a corresponding proxy URL is created even though the serverapp does not include a web frontend #80

Closed hlovdal closed 5 months ago

hlovdal commented 1 year ago

What happened?

I installed Docker-Mailserver, and as part of the installation a corresponding URL was created, proxying for http:/Docker-Mailserver:80. Attempting to access https://mymailserver.example.com resulted in 502 Bad Gateway.

What should have happened?

So I started troubleshooting why the url was not working, until I came to the conclusion that this particular server app should not have such a proxy url since it only talks mail related protocols. E.g. upstream compose file:

    ports:
      - "25:25"    # SMTP  (explicit TLS => STARTTLS)
      - "143:143"  # IMAP4 (explicit TLS => STARTTLS)
      - "465:465"  # ESMTP (implicit TLS)
      - "587:587"  # ESMTP (explicit TLS => STARTTLS)
      - "993:993"  # IMAP4 (implicit TLS)

and the cosmos servapp configuration also lists the exact same ports.

How to reproduce the bug?

  1. Install Docker-Mailserver

Relevant log output

No response

Other details

Apparently Postfix Admin is a nice web frontend for dovecot, but probably cosmos should not add one until upstream does.

System details

Cosmos version 0.9.19

REPOSITORY                                    TAG       IMAGE ID       CREATED        SIZE
azukaar/cosmos-server                         latest    735ac1c83335   2 days ago     362MB
azukaar commented 5 months ago

Closing as this is not related directly to COsmos but to the market apps