You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... I understand that not following the below instructions will result in immediate closure and/or deletion of my issue.
... I have understood that this bug report is dedicated for bugs, and not for support-related inquiries.
... I have understood that answers are voluntary and community-driven, and not commercial support.
... I have verified that my issue has not been already answered in the past. I also checked previous issues.
Description
When a client is using the Exchange API (EAS) on a mailbox that has two or more domains assigned to it, the mail is always signed with the DKIM key of the primary domain assigned to the mailbox, not the one assigned to the sender. Using IMAP/SMTP connection instead doesn't show this problem
Logs:
/
Steps to reproduce:
1. create a mailbox with an email-address of domain A
2. assign an alias to this mailbox using domain B
3. configure for both domains DKIM
4. connect to the mailbox with a client using EAS (MS Outlook App, Nine Mail app under Android etc)
5. send an email using the alias from domain B as sender's address to an external recipient
The mail is send using the DKIM key of domain A instead of domain B which is the domain of the sender
Using IMAP+SMTP in step 3 results in a correctly signed mail (using domain B's DKIM key)
Which branch are you using?
master
Which architecture are you using?
x86
Operating System:
official docker images of mailcow
Server/VM specifications:
8 MB, 4 cores
Is Apparmor, SELinux or similar active?
no
Virtualization technology:
KVM
Docker version:
27.3.1
docker-compose version or docker compose version:
27.3.1
mailcow version:
2024-08a
Reverse proxy:
Nginx
Logs of git diff:
none
Logs of iptables -L -vn:
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
2701K 1716M MAILCOW all -- any any anywhere anywhere /* mailcow */
982K 122M f2b-sshd tcp -- any any anywhere anywhere multiport dports ssh
Chain FORWARD (policy DROP 3 packets, 156 bytes)
pkts bytes target prot opt in out source destination
20M 19G MAILCOW all -- any any anywhere anywhere /* mailcow */
32M 27G DOCKER-USER all -- any any anywhere anywhere
32M 27G DOCKER-ISOLATION-STAGE-1 all -- any any anywhere anywhere
10663 85M ACCEPT all -- any docker0 anywhere anywhere ctstate RELATED,ESTABLISHED
0 0 DOCKER all -- any docker0 anywhere anywhere
7197 438K ACCEPT all -- docker0 !docker0 anywhere anywhere
0 0 ACCEPT all -- docker0 docker0 anywhere anywhere
29M 33G ACCEPT all -- any br-nextcloud anywhere anywhere ctstate RELATED,ESTABLISHED
138K 8283K DOCKER all -- any br-nextcloud anywhere anywhere
23861 1352K ACCEPT all -- br-nextcloud !br-nextcloud anywhere anywhere
138K 8282K ACCEPT all -- br-nextcloud br-nextcloud anywhere anywhere
7857K 28G ACCEPT all -- any br-drupal anywhere anywhere ctstate RELATED,ESTABLISHED
86898 5214K DOCKER all -- any br-drupal anywhere anywhere
11402 1138K ACCEPT all -- br-drupal !br-drupal anywhere anywhere
86889 5213K ACCEPT all -- br-drupal br-drupal anywhere anywhere
52M 25G ACCEPT all -- any br-mailcow anywhere anywhere ctstate RELATED,ESTABLISHED
4977K 307M DOCKER all -- any br-mailcow anywhere anywhere
8477K 2981M ACCEPT all -- br-mailcow !br-mailcow anywhere anywhere
4305K 270M ACCEPT all -- br-mailcow br-mailcow anywhere anywhere
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain DOCKER (4 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- !br-drupal br-drupal anywhere 172.24.0.2 tcp dpt:mysql
0 0 ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.249 tcp dpt:redis
0 0 ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.5 tcp dpt:8983
0 0 ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.6 tcp dpt:mysql
806 47720 ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.250 tcp dpt:pop3
1857 110K ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.250 tcp dpt:imap2
1738 104K ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.250 tcp dpt:imaps
0 0 ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.8 tcp dpt:18080
285 16376 ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.250 tcp dpt:pop3s
0 0 ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.8 tcp dpt:18443
59 3108 ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.250 tcp dpt:sieve
0 0 ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.250 tcp dpt:12345
8696 476K ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.253 tcp dpt:smtp
3162 189K ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.253 tcp dpt:submissions
524 29412 ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.253 tcp dpt:submission
0 0 ACCEPT tcp -- !br-nextcloud br-nextcloud anywhere 172.25.0.2 tcp dpt:mysql
3554 181K ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.14 tcp dpt:http-alt
4613 247K ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.14 tcp dpt:8443
1 1378 ACCEPT udp -- !br-mailcow br-mailcow anywhere 172.22.1.14 udp dpt:8443
17 748 ACCEPT tcp -- !br-mailcow br-mailcow anywhere 172.22.1.14 tcp dpt:9443
Chain DOCKER-ISOLATION-STAGE-1 (1 references)
pkts bytes target prot opt in out source destination
7197 438K DOCKER-ISOLATION-STAGE-2 all -- docker0 !docker0 anywhere anywhere
3372 330K DOCKER-ISOLATION-STAGE-2 all -- br-drupal !br-drupal anywhere anywhere
3258K 700M DOCKER-ISOLATION-STAGE-2 all -- br-mailcow !br-mailcow anywhere anywhere
8899 491K DOCKER-ISOLATION-STAGE-2 all -- br-nextcloud !br-nextcloud anywhere anywhere
32M 27G RETURN all -- any any anywhere anywhere
Chain DOCKER-ISOLATION-STAGE-2 (4 references)
pkts bytes target prot opt in out source destination
0 0 DROP all -- any docker0 anywhere anywhere
0 0 DROP all -- any br-drupal anywhere anywhere
0 0 DROP all -- any br-mailcow anywhere anywhere
0 0 DROP all -- any br-nextcloud anywhere anywhere
3278K 701M RETURN all -- any any anywhere anywhere
Chain DOCKER-USER (1 references)
pkts bytes target prot opt in out source destination
103M 89G RETURN all -- any any anywhere anywhere
Chain MAILCOW (2 references)
pkts bytes target prot opt in out source destination
30 1224 DROP all -- any any minchernes.com/26 anywhere
0 0 DROP all -- any any epikwire.net/24 anywhere
0 0 DROP all -- any any 194.169.175.47 anywhere
0 0 DROP all -- any any 46.148.40.0/24 anywhere
6 240 DROP all -- any any 141.98.10.0/24 anywhere
0 0 DROP all -- any any 194.169.175.33 anywhere
0 0 DROP all -- any any 194.169.175.65 anywhere
0 0 DROP all -- any any 193.42.32.168/29 anywhere
0 0 DROP all -- any any 194.169.175.10 anywhere
0 0 DROP tcp -- !br-mailcow br-mailcow anywhere anywhere /* mailcow isolation */
Chain f2b-sshd (1 references)
pkts bytes target prot opt in out source destination
767K 108M RETURN all -- any any anywhere anywhere
Contribution guidelines
I've found a bug and checked that ...
Description
Logs:
Steps to reproduce:
Which branch are you using?
master
Which architecture are you using?
x86
Operating System:
official docker images of mailcow
Server/VM specifications:
8 MB, 4 cores
Is Apparmor, SELinux or similar active?
no
Virtualization technology:
KVM
Docker version:
27.3.1
docker-compose version or docker compose version:
27.3.1
mailcow version:
2024-08a
Reverse proxy:
Nginx
Logs of git diff:
Logs of iptables -L -vn:
Logs of ip6tables -L -vn:
Logs of iptables -L -vn -t nat:
Logs of ip6tables -L -vn -t nat:
DNS check:
The text was updated successfully, but these errors were encountered: