Commit 3dd08f80 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Limpia basura y entrecomilla puertos

No se estaba parseando correctamente la configuración, y quedaba
ignorado el puerto 25 de mailserver.
parent 45db42d5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -4,4 +4,3 @@ ADD_DOMAINS=redmic.net
REDIS_HOST=mail-redis
DBHOST=mail-mariadb
RSPAMD_PORT=11334
RSPAMD_PASSWORD=rspamd
+6 −9
Original line number Diff line number Diff line
@@ -5,15 +5,12 @@ services:
    container_name: mail-mailserver
    restart: on-failure:3
    ports:
      - 25:25 # SMTP - Required
    # - 110:110 # POP3 STARTTLS - Optional - For webmails/desktop clients
      - 143:143 # IMAP STARTTLS - Optional - For webmails/desktop clients
    # - 465:465 # SMTPS SSL/TLS - Optional - Enabled for compatibility reason, otherwise disabled
      - 587:587 # Submission STARTTLS - Optional - For webmails/desktop clients
      - 993:993 # IMAPS SSL/TLS - Optional - For webmails/desktop clients
    # - 995:995 # POP3S SSL/TLS - Optional - For webmails/desktop clients
      - 4190:4190 # SIEVE STARTTLS - Optional - Recommended for mail filtering
      - ${RSPAMD_PORT}:${RSPAMD_PORT}
      - "25:25"
      - "143:143"
      - "587:587"
      - "993:993"
      - "4190:4190"
      - "${RSPAMD_PORT}:${RSPAMD_PORT}"

volumes:
  mail-mailserver-vol:
+4 −13
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ version: '3.5'
services:
  mail-mailserver:
    image: hardware/mailserver:${IMAGE_TAG:-latest}
    domainname: ${DOMAIN_NAME} # Mail server A/MX/FQDN & reverse PTR = mail.domain.tld.
    domainname: ${DOMAIN_NAME}
    hostname: ${HOST_NAME}
    networks:
      - mail-net
@@ -12,18 +12,9 @@ services:
    environment:
      - REDIS_HOST
      - DBHOST
      - DBPASS # MariaDB database password (required)
      - RSPAMD_PASSWORD # Rspamd WebUI password (required)
      - ADD_DOMAINS # Add additional domains separated by commas (needed for dkim keys etc.)
    # - ENABLE_POP3=true # Enable POP3 protocol
    # - ENABLE_FETCHMAIL=true # Enable fetchmail forwarding
    # - DISABLE_CLAMAV=true # Disable virus scanning
    # - DISABLE_SIGNING=true # Disable DKIM/ARC signing
    # - DISABLE_GREYLISTING=true # Disable greylisting policy
    # - DISABLE_RATELIMITING=true # Disable ratelimiting policy
    #
    # Full list : https://github.com/hardware/mailserver#environment-variables
    #
      - DBPASS
      - RSPAMD_PASSWORD
      - ADD_DOMAINS

networks:
  mail-net:
+1 −1
Original line number Diff line number Diff line
@@ -5,4 +5,4 @@ services:
    container_name: mail-postfixadmin
    restart: on-failure:3
    ports:
      - ${POSTFIXADMIN_PORT}:8888
      - "${POSTFIXADMIN_PORT}:8888"
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ services:
    container_name: mail-rainloop
    restart: on-failure:3
    ports:
      - ${RAINLOOP_PORT}:8888
      - "${RAINLOOP_PORT}:8888"

volumes:
  mail-rainloop-vol: