anonaddy / docker

AnonAddy Docker image
MIT License
468 stars 51 forks source link

Verification Mails are not being delivered #289

Open FuckingToasters opened 5 days ago

FuckingToasters commented 5 days ago

Support guidelines

I've found a bug and checked that ...

Description

I run addy inside an internal docker network and bound the service to a domain via Nginx Proxy Manager.

I created 2 DNS Records:

  1. A mail
  2. MX @ mail.vbucksgenerator.zip

Cloudflare proxy is enabled on both so it won'tleak the true vps ip.

Expected behaviour

I expected it that mails are sent correctly

Actual behaviour

When requiesting a verification mail, it says something around the lines of "success, check your inbox" but no actual mail appears in my inbox afterwards.

Steps to reproduce

  1. setup addy, mariadb-addy, redis containers
  2. add the mentioned DNS Records
  3. make an account on the selfhosted instance and request a mail verify link
  4. don't see any mail being sent to your inbox.

Docker info

Client: Docker Engine - Community
 Version:    26.1.4
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.14.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.27.1
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 18
  Running: 18
  Paused: 0
  Stopped: 0
 Images: 18
 Server Version: 26.1.4
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: d2d58213f83a351ca8f528a95fbd145f5654e957
 runc version: v1.1.12-0-g51d5e94
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.4.203-1-pve
 Operating System: Debian GNU/Linux 11 (bullseye)
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 8GiB
 Name: system
 ID: 6048071d-c712-4144-93b2-13383c766da4
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
WARNING: No cpu shares support
WARNING: No cpuset support
WARNING: No io.weight support
WARNING: No io.weight (per device) support
WARNING: No io.max (rbps) support
WARNING: No io.max (wbps) support
WARNING: No io.max (riops) support
WARNING: No io.max (wiops) support

Docker Compose config

no configuration file provided: not found

Logs

[services.d] starting services
crond: crond (busybox 1.36.1) started, log level 8
2024/06/28 13:42:33 [notice] 720#720: using the "epoll" event method
2024/06/28 13:42:33 [notice] 720#720: nginx/1.24.0
2024/06/28 13:42:33 [notice] 720#720: OS: Linux 5.4.203-1-pve
2024/06/28 13:42:33 [notice] 720#720: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2024/06/28 13:42:33 [notice] 720#720: start worker processes
2024/06/28 13:42:33 [notice] 720#720: start worker process 735
2024/06/28 13:42:33 [notice] 720#720: start worker process 736
[28-Jun-2024 13:42:33] NOTICE: fpm is running, pid 724
[28-Jun-2024 13:42:33] NOTICE: ready to handle connections
[services.d] done.
postfix/postlog: starting the Postfix mail system
Jun 28 13:42:33 mail postfix/postfix-script[908]: starting the Postfix mail system
Jun 28 13:42:33 mail postfix/master[909]: daemon started -- version 3.8.6, configuration /etc/postfix
Jun 28 13:42:45 mail postfix/smtpd[915]: connect from localhost[127.0.0.1]
Jun 28 13:42:45 mail postfix/smtpd[915]: 4513FBC8F: client=localhost[127.0.0.1]
Jun 28 13:42:45 mail postfix/cleanup[917]: 4513FBC8F: message-id=<309d892e36ef8a452e5394132fec886b@vbucksgenerator.zip>
Jun 28 13:42:45 mail postfix/qmgr[911]: 4513FBC8F: from=<b_njzts6bsmm4ginbqnvwq_mqyteobxg43tg@addy.vbucksgenerator.zip>, size=14219, nrcpt=1 (queue active)
172.18.0.3 - - [28/Jun/2024:13:42:45 +0200] "POST /email/resend HTTP/1.1" 302 438 "https://addy.vbucksgenerator.zip/email/verify" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0"
2024/06/28 13:42:45 [info] 736#736: *1 client 172.18.0.3 closed keepalive connection
Jun 28 13:42:45 mail postfix/smtpd[915]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 28 13:42:45 mail postfix/smtp[918]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4004:c17::1a]:25: Network unreachable
172.18.0.3 - - [28/Jun/2024:13:42:45 +0200] "GET /email/verify HTTP/1.1" 200 318 "https://addy.vbucksgenerator.zip/email/verify" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0"
2024/06/28 13:42:45 [info] 736#736: *3 client 172.18.0.3 closed keepalive connection
Jun 28 13:42:45 mail postfix/smtp[918]: 4513FBC8F: to=<CENSORED@gmail.com>, relay=gmail-smtp-in.l.google.com[142.251.16.27]:25, delay=0.33, delays=0.06/0.02/0.07/0.18, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[142.251.16.27] said: 550-5.7.26 Unauthenticated email from vbucksgenerator.zip is not accepted due to 550-5.7.26 domain's DMARC policy. Please contact the administrator of 550-5.7.26 vbucksgenerator.zip domain if this was a legitimate mail. To learn 550-5.7.26 about the DMARC initiative, go to 550 5.7.26  https://support.google.com/mail/?p=DmarcRejection af79cd13be357-79d6934d207si168259385a.718 - gsmtp (in reply to end of DATA command))
Jun 28 13:42:45 mail postfix/cleanup[917]: 9538FBC97: message-id=<20240628114245.9538FBC97@mail.vbucksgenerator.zip>
Jun 28 13:42:45 mail postfix/qmgr[911]: 9538FBC97: from=<>, size=17211, nrcpt=1 (queue active)
Jun 28 13:42:45 mail postfix/bounce[919]: 4513FBC8F: sender non-delivery notification: 9538FBC97
Jun 28 13:42:45 mail postfix/qmgr[911]: 4513FBC8F: removed
Jun 28 13:42:46 mail postfix/pipe[921]: 9538FBC97: to=<b_njzts6bsmm4ginbqnvwq_mqyteobxg43tg@addy.vbucksgenerator.zip>, relay=anonaddy, delay=0.48, delays=0/0.01/0/0.47, dsn=2.0.0, status=sent (delivered via anonaddy service)
Jun 28 13:42:46 mail postfix/qmgr[911]: 9538FBC97: removed

Additional info

No response