YoRyan / mailrise

An SMTP gateway for Apprise notifications.
https://mailrise.xyz
MIT License
886 stars 39 forks source link

How to Debug ? #117

Open luckylinux opened 6 months ago

luckylinux commented 6 months ago

I'm a bit at a loss here.

I setup the mailrise Container using podman-compose and compose.yml, but nothing appears to work.

First I noticed that I had forgotten traefik.enable and traefik.docker.network=traefik in my Container Configuration.

Now at least traefik doesn't give Errors, but still postfix (on my test Device) is stuck in the Queue and nothing is being sent.

podman logs mailrise give absolutely nothing :disappointed:.

With the -vv Command Option I only get something when the Container Starts:

[2024-04-25 20:26:03] INFO:mailrise.skeleton:Loaded configuration with 3 recipient(s)
[2024-04-25 20:26:03] DEBUG:mailrise.skeleton:Arguments for aiosmtpd: authenticator=Basic(1), auth_required=True, auth_require_tls=False, tls_context=None, ssl_context=None, require_starttls=False
[2024-04-25 20:26:03] DEBUG:asyncio:Using selector: EpollSelector

compose.yml File:

version: '3'
services:
  mailrise:
    image: yoryan/mailrise:latest
    pull_policy: "missing"
    container_name: mailrise
    restart: "unless-stopped"
    command: ["-vv","/etc/mailrise.conf"]
    volumes:
      - ~/containers/config/mailrise/mailrise.conf:/etc/mailrise.conf:ro
    networks:
      - traefik
    labels:
      - "traefik.enable=true"
      - "traefik.tcp.routers.mailrise-router.rule=HostSNI(`*`)"
      - "traefik.tcp.routers.mailrise-router.tls=true"
      - "traefik.tcp.routers.mailrise-router.tls.domains[0].main=mailrise01.MYDOMAIN.TLD"
      - "traefik.tcp.routers.mailrise-router.tls.domains[0].sans="
      - "traefik.tcp.routers.mailrise-router.entryPoints=mailsecure"
      - "traefik.tcp.routers.mailrise-router.service=mailrise-service"
      - "traefik.tcp.services.mailrise-service.loadbalancer.server.port=8025"
      - "traefik.tcp.services.mailrise-service.loadbalancer.proxyProtocol.version=2"
      - "traefik.docker.network=traefik"

networks:
  traefik:
    external: true

My postfix configuration. /etc/postfix/main.cf

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

# Set Hostname & Domainname
myhostname = MYDESKTOP.MYDOMAIN.TLD
mydomain = MYDOMAIN.TLD

# Destination Dependent Relayhost
#sender_dependent_default_transport_maps = yes
transport_maps = hash:/etc/postfix/transport

# Use TLS
#smtp_use_tls = yes
smtpd_tls_security_level = may
smtpd_tls_loglevel = 3

# Enable SASL Authentication
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous

# https://forum.proxmox.com/threads/postfix-not-working-where-are-the-logs.132966/
smtp_sasl_mechanism_filter = login

# Configured Email Accounts
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

# Configured Aliases
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

# Limit Number of Postfix Processes
# https://www.postfix.org/TUNING_README.html
default_process_limit = 2

# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 3.6 on fresh installs.
compatibility_level=3.6

/etc/postfix/transport

local       relay:[mailrise01.MYDOMAIN.TLD]:587
remote      relay:[mailrise01.MYDOMAIN.TLD]:587
cloud       relay:[mailrise01.MYDOMAIN.TLD]:587
*       relay:[mailrise01.MYDOMAIN.TLD]:587

Some logs from /var/log/mail.log

2024-04-25T22:16:21.646549+02:00 MYDESKTOP postfix/qmgr[70718]: 37A731954: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:16:21.646681+02:00 MYDESKTOP postfix/qmgr[70718]: 06F1816AA: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=775, nrcpt=1 (queue active)
2024-04-25T22:16:21.646858+02:00 MYDESKTOP postfix/qmgr[70718]: 602B613A2: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:16:21.647018+02:00 MYDESKTOP postfix/qmgr[70718]: A871513DC: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:16:21.647170+02:00 MYDESKTOP postfix/qmgr[70718]: 302721736: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=775, nrcpt=1 (queue active)
2024-04-25T22:16:21.647317+02:00 MYDESKTOP postfix/qmgr[70718]: 5C9B81286: from=<MYDESKTOP@MYDOMAIN.TLD>, size=430, nrcpt=1 (queue active)
2024-04-25T22:16:21.656435+02:00 MYDESKTOP postfix/error[70720]: 0488015D8: to=<all@local>, relay=none, delay=877, delays=877/0.01/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.658133+02:00 MYDESKTOP postfix/error[70721]: 3668313DA: to=<all@local>, relay=none, delay=877, delays=877/0.01/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.659255+02:00 MYDESKTOP postfix/error[70720]: 0488015D8: to=<all@remote>, relay=none, delay=877, delays=877/0.01/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.660276+02:00 MYDESKTOP postfix/error[70721]: 3668313DA: to=<all@remote>, relay=none, delay=877, delays=877/0.01/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.661059+02:00 MYDESKTOP postfix/error[70720]: C2F64172A: to=<all@local>, relay=none, delay=1987, delays=1987/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.661877+02:00 MYDESKTOP postfix/error[70721]: EF1B6146C: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=1580, delays=1580/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.662526+02:00 MYDESKTOP postfix/error[70720]: C2F64172A: to=<all@remote>, relay=none, delay=1987, delays=1987/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.663316+02:00 MYDESKTOP postfix/error[70721]: B5D7A1858: to=<all@local>, relay=none, delay=734, delays=734/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.664053+02:00 MYDESKTOP postfix/error[70720]: 81374147C: to=<all@local>, relay=none, delay=592, delays=592/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.664823+02:00 MYDESKTOP postfix/error[70721]: B5D7A1858: to=<all@remote>, relay=none, delay=734, delays=734/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.665526+02:00 MYDESKTOP postfix/error[70720]: 81374147C: to=<all@remote>, relay=none, delay=592, delays=592/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.666252+02:00 MYDESKTOP postfix/error[70721]: A56051720: to=<all@local>, relay=none, delay=2075, delays=2075/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.667053+02:00 MYDESKTOP postfix/error[70720]: 433CE13A6: to=<all@local>, relay=none, delay=1058, delays=1058/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.667756+02:00 MYDESKTOP postfix/error[70721]: A56051720: to=<all@remote>, relay=none, delay=2075, delays=2075/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.668478+02:00 MYDESKTOP postfix/error[70720]: 433CE13A6: to=<all@remote>, relay=none, delay=1058, delays=1058/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.669189+02:00 MYDESKTOP postfix/error[70721]: B547417CA: to=<all@local>, relay=none, delay=1986, delays=1986/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.669992+02:00 MYDESKTOP postfix/error[70720]: 1AFD5139E: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=1280, delays=1280/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.670682+02:00 MYDESKTOP postfix/error[70721]: B547417CA: to=<all@remote>, relay=none, delay=1986, delays=1986/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.671462+02:00 MYDESKTOP postfix/error[70720]: 47B561294: to=<all@local>, relay=none, delay=2074, delays=2074/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.672201+02:00 MYDESKTOP postfix/error[70721]: 0F17A174C: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=380, delays=380/0.03/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.673028+02:00 MYDESKTOP postfix/error[70720]: 47B561294: to=<all@remote>, relay=none, delay=2074, delays=2074/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.673677+02:00 MYDESKTOP postfix/error[70721]: BCBD31724: to=<all@local>, relay=none, delay=2074, delays=2074/0.03/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.674461+02:00 MYDESKTOP postfix/error[70720]: 54D261296: to=<all@local>, relay=none, delay=1986, delays=1986/0.03/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.675225+02:00 MYDESKTOP postfix/error[70721]: BCBD31724: to=<all@remote>, relay=none, delay=2074, delays=2074/0.03/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.676146+02:00 MYDESKTOP postfix/error[70720]: 54D261296: to=<all@remote>, relay=none, delay=1986, delays=1986/0.03/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.677313+02:00 MYDESKTOP postfix/error[70721]: BAEE01174: to=<all@local>, relay=none, delay=3439, delays=3439/0.03/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.678457+02:00 MYDESKTOP postfix/error[70720]: 2C29F1C12: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=81, delays=80/0.03/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.679627+02:00 MYDESKTOP postfix/error[70721]: B71EB1A0A: to=<all@local>, relay=none, delay=192, delays=192/0.03/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.680800+02:00 MYDESKTOP postfix/error[70720]: 0DD16D68: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=3380, delays=3380/0.03/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.682058+02:00 MYDESKTOP postfix/error[70721]: B71EB1A0A: to=<all@remote>, relay=none, delay=192, delays=192/0.03/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.683288+02:00 MYDESKTOP postfix/error[70720]: 37A731954: to=<all@local>, relay=none, delay=453, delays=453/0.03/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.684537+02:00 MYDESKTOP postfix/error[70721]: 06F1816AA: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=2180, delays=2180/0.04/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.685718+02:00 MYDESKTOP postfix/error[70720]: 37A731954: to=<all@remote>, relay=none, delay=453, delays=453/0.03/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.686907+02:00 MYDESKTOP postfix/error[70721]: 602B613A2: to=<all@local>, relay=none, delay=1084, delays=1084/0.04/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.687624+02:00 MYDESKTOP postfix/error[70720]: A871513DC: to=<all@local>, relay=none, delay=877, delays=877/0.04/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.688441+02:00 MYDESKTOP postfix/error[70721]: 602B613A2: to=<all@remote>, relay=none, delay=1084, delays=1084/0.04/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.689126+02:00 MYDESKTOP postfix/error[70720]: A871513DC: to=<all@remote>, relay=none, delay=877, delays=877/0.04/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.689909+02:00 MYDESKTOP postfix/error[70721]: 302721736: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=980, delays=980/0.04/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:16:21.690657+02:00 MYDESKTOP postfix/error[70720]: 5C9B81286: to=<all@local>, relay=none, delay=3507, delays=3507/0.04/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
2024-04-25T22:17:59.435045+02:00 MYDESKTOP postfix/relay/smtp[2819]: 2B756D6A: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=mailrise01.MYDOMAIN.TLD[192.168.8.16]:587, delay=3178, delays=2878/0.01/300/0, dsn=4.4.2, status=deferred (conversation with mailrise01.MYDOMAIN.TLD[192.168.8.16] timed out while receiving the initial server greeting)
2024-04-25T22:17:59.454548+02:00 MYDESKTOP postfix/relay/smtp[2820]: E96891990: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=mailrise01.MYDOMAIN.TLD[192.168.8.16]:587, delay=778, delays=477/0.02/300/0, dsn=4.4.2, status=deferred (conversation with mailrise01.MYDOMAIN.TLD[192.168.8.16] timed out while receiving the initial server greeting)
2024-04-25T22:20:01.700174+02:00 MYDESKTOP postfix/pickup[70717]: AAD87176C: uid=0 from=<root>
2024-04-25T22:20:01.711460+02:00 MYDESKTOP postfix/cleanup[143269]: AAD87176C: message-id=<20240425202001.AAD87176C@MYDESKTOP.MYDOMAIN.TLD>
2024-04-25T22:20:01.713344+02:00 MYDESKTOP postfix/qmgr[70718]: 2B756D6A: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=773, nrcpt=1 (queue active)
2024-04-25T22:20:01.713478+02:00 MYDESKTOP postfix/qmgr[70718]: AAD87176C: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=775, nrcpt=1 (queue active)
2024-04-25T22:20:01.713554+02:00 MYDESKTOP postfix/qmgr[70718]: E96891990: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=775, nrcpt=1 (queue active)
2024-04-25T22:21:21.275187+02:00 MYDESKTOP postfix/qmgr[70718]: 4C9FD1584: from=<MYDESKTOP@MYDOMAIN.TLD>, size=430, nrcpt=1 (queue active)
2024-04-25T22:21:21.275421+02:00 MYDESKTOP postfix/qmgr[70718]: A2BDAC7A: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=773, nrcpt=1 (queue active)
2024-04-25T22:21:21.275783+02:00 MYDESKTOP postfix/qmgr[70718]: B71EB1A0A: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:21:21.276124+02:00 MYDESKTOP postfix/qmgr[70718]: 0A850171E: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:21:21.276421+02:00 MYDESKTOP postfix/qmgr[70718]: 2BDA8FE4: from=<MYDESKTOP@MYDOMAIN.TLD>, size=428, nrcpt=1 (queue active)
2024-04-25T22:21:21.276578+02:00 MYDESKTOP postfix/qmgr[70718]: 2C29F1C12: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=775, nrcpt=1 (queue active)
2024-04-25T22:21:21.276790+02:00 MYDESKTOP postfix/qmgr[70718]: 8B0051586: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:21:21.277124+02:00 MYDESKTOP postfix/qmgr[70718]: C5754E70: from=<MYDESKTOP@MYDOMAIN.TLD>, size=428, nrcpt=1 (queue active)
2024-04-25T22:21:21.277288+02:00 MYDESKTOP postfix/qmgr[70718]: C976ECF4: from=<MYDESKTOP@MYDOMAIN.TLD>, size=428, nrcpt=1 (queue active)
2024-04-25T22:21:21.277415+02:00 MYDESKTOP postfix/qmgr[70718]: DCB651084: from=<MYDESKTOP@MYDOMAIN.TLD>, size=430, nrcpt=1 (queue active)
2024-04-25T22:25:01.805170+02:00 MYDESKTOP postfix/pickup[70717]: C479E1A1A: uid=0 from=<root>
2024-04-25T22:25:01.810990+02:00 MYDESKTOP postfix/cleanup[242241]: C479E1A1A: message-id=<20240425202501.C479E1A1A@MYDESKTOP.MYDOMAIN.TLD>
2024-04-25T22:25:01.812198+02:00 MYDESKTOP postfix/qmgr[70718]: C479E1A1A: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=775, nrcpt=1 (queue active)
2024-04-25T22:25:01.829560+02:00 MYDESKTOP postfix/relay/smtp[143277]: 2B756D6A: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=mailrise01.MYDOMAIN.TLD[192.168.8.16]:587, delay=3601, delays=3301/0.01/300/0, dsn=4.4.2, status=deferred (conversation with mailrise01.MYDOMAIN.TLD[192.168.8.16] timed out while receiving the initial server greeting)
2024-04-25T22:25:01.831031+02:00 MYDESKTOP postfix/relay/smtp[143281]: AAD87176C: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=mailrise01.MYDOMAIN.TLD[192.168.8.16]:587, delay=300, delays=0.02/0.02/300/0, dsn=4.4.2, status=deferred (conversation with mailrise01.MYDOMAIN.TLD[192.168.8.16] timed out while receiving the initial server greeting)
2024-04-25T22:25:16.337625+02:00 MYDESKTOP postfix/relay/smtp[143277]: E96891990: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=mailrise01.MYDOMAIN.TLD[192.168.8.16]:587, delay=1214, delays=900/300/15/0, dsn=4.4.2, status=deferred (lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.338937+02:00 MYDESKTOP postfix/relay/smtp[143281]: 4C9FD1584: to=<all@local>, relay=mailrise01.MYDOMAIN.TLD[192.168.8.16]:587, delay=2946, delays=2711/221/15/0, dsn=4.4.2, status=deferred (lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.347053+02:00 MYDESKTOP postfix/error[247045]: A2BDAC7A: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=4215, delays=3980/235/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.348524+02:00 MYDESKTOP postfix/error[247045]: B71EB1A0A: to=<all@local>, relay=none, delay=727, delays=492/235/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.349783+02:00 MYDESKTOP postfix/error[247045]: B71EB1A0A: to=<all@remote>, relay=none, delay=727, delays=492/235/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.352700+02:00 MYDESKTOP postfix/error[247045]: 0A850171E: to=<all@local>, relay=none, delay=2755, delays=2520/235/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.353422+02:00 MYDESKTOP postfix/error[247045]: 0A850171E: to=<all@remote>, relay=none, delay=2755, delays=2520/235/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.354383+02:00 MYDESKTOP postfix/error[247046]: 2BDA8FE4: to=<all@local>, relay=none, delay=4232, delays=3997/235/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.354881+02:00 MYDESKTOP postfix/error[247045]: 2C29F1C12: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=615, delays=380/235/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.355573+02:00 MYDESKTOP postfix/error[247046]: 8B0051586: to=<all@local>, relay=none, delay=2907, delays=2672/235/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.357043+02:00 MYDESKTOP postfix/error[247045]: C5754E70: to=<all@local>, relay=none, delay=4275, delays=4039/235/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.358300+02:00 MYDESKTOP postfix/error[247046]: 8B0051586: to=<all@remote>, relay=none, delay=2907, delays=2672/235/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.359481+02:00 MYDESKTOP postfix/error[247045]: C976ECF4: to=<all@local>, relay=none, delay=4135, delays=3899/235/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.360715+02:00 MYDESKTOP postfix/error[247046]: DCB651084: to=<all@local>, relay=none, delay=4166, delays=3931/235/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:25:16.361892+02:00 MYDESKTOP postfix/error[247045]: C479E1A1A: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=15, delays=0.02/15/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.275964+02:00 MYDESKTOP postfix/qmgr[70718]: F070DE34: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=902, nrcpt=1 (queue active)
2024-04-25T22:26:21.276188+02:00 MYDESKTOP postfix/qmgr[70718]: F0FEACE8: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=902, nrcpt=1 (queue active)
2024-04-25T22:26:21.276371+02:00 MYDESKTOP postfix/qmgr[70718]: F1546CEA: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=902, nrcpt=1 (queue active)
2024-04-25T22:26:21.276580+02:00 MYDESKTOP postfix/qmgr[70718]: F20BFE38: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=902, nrcpt=1 (queue active)
2024-04-25T22:26:21.276746+02:00 MYDESKTOP postfix/qmgr[70718]: F1ADDCEC: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=902, nrcpt=1 (queue active)
2024-04-25T22:26:21.276966+02:00 MYDESKTOP postfix/qmgr[70718]: 37A731954: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:26:21.277302+02:00 MYDESKTOP postfix/qmgr[70718]: EE64BE30: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=902, nrcpt=1 (queue active)
2024-04-25T22:26:21.277493+02:00 MYDESKTOP postfix/qmgr[70718]: EEDEACE2: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=902, nrcpt=1 (queue active)
2024-04-25T22:26:21.277592+02:00 MYDESKTOP postfix/qmgr[70718]: EDF3AAE4: from=<MYDESKTOP@MYDOMAIN.TLD>, size=557, nrcpt=1 (queue active)
2024-04-25T22:26:21.277759+02:00 MYDESKTOP postfix/qmgr[70718]: EF553CE6: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=902, nrcpt=1 (queue active)
2024-04-25T22:26:21.277995+02:00 MYDESKTOP postfix/qmgr[70718]: ED8C9EF2: from=<MYDESKTOP@MYDOMAIN.TLD>, size=557, nrcpt=1 (queue active)
2024-04-25T22:26:21.278283+02:00 MYDESKTOP postfix/error[247046]: F070DE34: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=5179, delays=5179/0/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.278492+02:00 MYDESKTOP postfix/error[247045]: F0FEACE8: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=4580, delays=4580/0/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.278532+02:00 MYDESKTOP postfix/qmgr[70718]: EFE63E32: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=902, nrcpt=1 (queue active)
2024-04-25T22:26:21.278657+02:00 MYDESKTOP postfix/qmgr[70718]: ECD64C64: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=902, nrcpt=1 (queue active)
2024-04-25T22:26:21.278847+02:00 MYDESKTOP postfix/qmgr[70718]: 0F17A174C: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=775, nrcpt=1 (queue active)
2024-04-25T22:26:21.279079+02:00 MYDESKTOP postfix/qmgr[70718]: 81374147C: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:26:21.279343+02:00 MYDESKTOP postfix/qmgr[70718]: 1FA8F180A: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=775, nrcpt=1 (queue active)
2024-04-25T22:26:21.279574+02:00 MYDESKTOP postfix/error[247046]: F1546CEA: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=5780, delays=5780/0/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.280395+02:00 MYDESKTOP postfix/error[247045]: F20BFE38: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=6079, delays=6079/0/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.281851+02:00 MYDESKTOP postfix/error[247046]: F1ADDCEC: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=6980, delays=6980/0/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.283189+02:00 MYDESKTOP postfix/error[247045]: 37A731954: to=<all@local>, relay=none, delay=1053, delays=1053/0/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.283275+02:00 MYDESKTOP postfix/error[247046]: EE64BE30: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=6680, delays=6680/0/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.284669+02:00 MYDESKTOP postfix/error[247045]: 37A731954: to=<all@remote>, relay=none, delay=1053, delays=1053/0/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.286048+02:00 MYDESKTOP postfix/error[247046]: EEDEACE2: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=5480, delays=5480/0.01/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.287573+02:00 MYDESKTOP postfix/error[247045]: EDF3AAE4: to=<all@local>, relay=none, delay=7373, delays=7373/0.01/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.288386+02:00 MYDESKTOP postfix/error[247046]: EF553CE6: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=6379, delays=6379/0.01/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.289490+02:00 MYDESKTOP postfix/error[247045]: ED8C9EF2: to=<all@local>, relay=none, delay=4571, delays=4571/0.01/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.290837+02:00 MYDESKTOP postfix/error[247046]: EFE63E32: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=7279, delays=7279/0.01/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.291798+02:00 MYDESKTOP postfix/error[247045]: ECD64C64: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=4880, delays=4880/0.01/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.292619+02:00 MYDESKTOP postfix/error[247046]: 0F17A174C: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=979, delays=979/0.01/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.293359+02:00 MYDESKTOP postfix/error[247045]: 81374147C: to=<all@local>, relay=none, delay=1192, delays=1192/0.01/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.294113+02:00 MYDESKTOP postfix/error[247046]: 1FA8F180A: to=<root@MYDESKTOP.MYDOMAIN.TLD>, orig_to=<root>, relay=none, delay=2480, delays=2480/0.01/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:26:21.294843+02:00 MYDESKTOP postfix/error[247045]: 81374147C: to=<all@remote>, relay=none, delay=1192, delays=1192/0.01/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mailrise01.MYDOMAIN.TLD[192.168.8.16] while receiving the initial server greeting)
2024-04-25T22:27:30.592230+02:00 MYDESKTOP postfix/postfix-script[291392]: stopping the Postfix mail system
2024-04-25T22:27:30.593568+02:00 MYDESKTOP postfix/master[2811]: terminating on signal 15
2024-04-25T22:27:30.971571+02:00 MYDESKTOP postfix/postfix-script[291692]: starting the Postfix mail system
2024-04-25T22:27:30.980027+02:00 MYDESKTOP postfix/master[291694]: daemon started -- version 3.8.6, configuration /etc/postfix
2024-04-25T22:27:38.595311+02:00 MYDESKTOP postfix/pickup[291704]: 913CD1964: uid=0 from=<MYDESKTOP@MYDOMAIN.TLD>
2024-04-25T22:27:38.601061+02:00 MYDESKTOP postfix/cleanup[294213]: 913CD1964: message-id=<20240425202738.913CD1964@MYDESKTOP.MYDOMAIN.TLD>
2024-04-25T22:27:38.602791+02:00 MYDESKTOP postfix/qmgr[291705]: 913CD1964: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:27:56.655992+02:00 MYDESKTOP postfix/pickup[291704]: A00B31966: uid=0 from=<MYDESKTOP@MYDOMAIN.TLD>
2024-04-25T22:27:56.656232+02:00 MYDESKTOP postfix/cleanup[294213]: A00B31966: message-id=<20240425202756.A00B31966@MYDESKTOP.MYDOMAIN.TLD>
2024-04-25T22:27:56.657974+02:00 MYDESKTOP postfix/qmgr[291705]: A00B31966: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:30:01.939292+02:00 MYDESKTOP postfix/pickup[291704]: E53A81BA6: uid=0 from=<root>
2024-04-25T22:30:01.950993+02:00 MYDESKTOP postfix/cleanup[341596]: E53A81BA6: message-id=<20240425203001.E53A81BA6@MYDESKTOP.MYDOMAIN.TLD>
2024-04-25T22:30:01.952944+02:00 MYDESKTOP postfix/qmgr[291705]: E53A81BA6: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=775, nrcpt=1 (queue active)
2024-04-25T22:32:30.276332+02:00 MYDESKTOP postfix/qmgr[291705]: AAD87176C: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=775, nrcpt=1 (queue active)
2024-04-25T22:32:30.281919+02:00 MYDESKTOP postfix/qmgr[291705]: A871513DC: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:32:30.282327+02:00 MYDESKTOP postfix/qmgr[291705]: 3668313DA: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:32:30.282755+02:00 MYDESKTOP postfix/qmgr[291705]: B5D7A1858: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:32:30.283050+02:00 MYDESKTOP postfix/qmgr[291705]: 0488015D8: from=<MYDESKTOP@MYDOMAIN.TLD>, size=442, nrcpt=2 (queue active)
2024-04-25T22:32:30.283440+02:00 MYDESKTOP postfix/qmgr[291705]: C479E1A1A: from=<root@MYDESKTOP.MYDOMAIN.TLD>, size=775, nrcpt=1 (queue active)
2024-04-25T22:32:38.731521+02:00 MYDESKTOP postfix/relay/smtp[294215]: 913CD1964: to=<all@local>, relay=mailrise01.MYDOMAIN.TLD[192.168.8.16]:587, delay=300, delays=0.03/0.01/300/0, dsn=4.4.2, status=deferred (conversation with mailrise01.MYDOMAIN.TLD[192.168.8.16] timed out while receiving the initial server greeting)
2024-04-25T22:32:38.733021+02:00 MYDESKTOP postfix/relay/smtp[294215]: 913CD1964: to=<all@remote>, relay=mailrise01.MYDOMAIN.TLD[192.168.8.16]:587, delay=300, delays=0.03/0.01/300/0, dsn=4.4.2, status=deferred (conversation with mailrise01.MYDOMAIN.TLD[192.168.8.16] timed out while receiving the initial server greeting)
2024-04-25T22:32:56.772989+02:00 MYDESKTOP postfix/relay/smtp[300210]: A00B31966: to=<all@local>, relay=mailrise01.MYDOMAIN.TLD[192.168.8.16]:587, delay=300, delays=0.01/0.01/300/0, dsn=4.4.2, status=deferred (conversation with mailrise01.MYDOMAIN.TLD[192.168.8.16] timed out while receiving the initial server greeting)
2024-04-25T22:32:56.774038+02:00 MYDESKTOP postfix/relay/smtp[300210]: A00B31966: to=<all@remote>, relay=mailrise01.MYDOMAIN.TLD[192.168.8.16]:587, delay=300, delays=0.01/0.01/300/0, dsn=4.4.2, status=deferred (conversation with mailrise01.MYDOMAIN.TLD[192.168.8.16] timed out while receiving the initial server greeting)

The last lines might point to the issue ... But why isn't mailrise replying ?

I can telnet on the Port to the mailrise host but pretty much everything after the initial Connection (which takes a lot of time) fails:

root@MYDESKTOP:/home/USER# telnet mailrise01.MYDOMAIN.TLD 587
Trying 192.168.x.x...
Connected to mailrise01.MYDOMAIN.TLD.
Escape character is '^]'.
help
;
HTTP/1.1 400 Bad Request
Content-Type: text/plain; charset=utf-8
Connection: close

400 Bad RequestConnection closed by foreign host.

Any idea what could be going on ?

Thanks for this great piece of Software. I am really looking forward to integrate it in my homelab :+1: .

luckylinux commented 6 months ago

I made some progress with setting everything to STARTTLS and feeding the Letsencrypt Certificates to Mailrise directly. So traefik is out of the loop now.