Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOGo calendar email notification #4754

Closed
5 tasks done
Schnuecks opened this issue Sep 11, 2022 · 37 comments · Fixed by #6128
Closed
5 tasks done

SOGo calendar email notification #4754

Schnuecks opened this issue Sep 11, 2022 · 37 comments · Fixed by #6128

Comments

@Schnuecks
Copy link

Contribution guidelines

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

  • ... 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

If an event happens in SOGo calendar an email notification isn't sent. the problem seems to be the authentication.
If authentication in SOGo is disabled the notification is send as unknown user. If reactivated nothing happens and a postfix error occurs.

Logs

#postfix log sogo auth off
mailcow-postfix-mailcow-1  | Sep  9 19:50:47 1a9fe461b655 postfix/sogo/smtpd[3058]: connect from mailcow-sogo-mailcow-1.mailcow_mailcow-network[172.21.0.248]
mailcow-postfix-mailcow-1  | Sep  9 19:50:47 1a9fe461b655 postfix/sogo/smtpd[3058]: 83179326C86: client=mailcow-sogo-mailcow-1.mailcow_mailcow-network[172.21.0.248]
mailcow-postfix-mailcow-1  | Sep  9 19:50:47 1a9fe461b655 postfix/cleanup[3060]: 83179326C86: message-id=<b2-631b7cf7-1-28c3803b@160401706>
mailcow-postfix-mailcow-1  | Sep  9 19:50:48 1a9fe461b655 postfix/qmgr[372]: 83179326C86: from=<[email protected]>, size=1971, nrcpt=1 (queue active)
mailcow-postfix-mailcow-1  | Sep  9 19:50:48 1a9fe461b655 postfix/sogo/smtpd[3058]: disconnect from mailcow-sogo-mailcow-1.mailcow_mailcow-network[172.21.0.248] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
mailcow-postfix-mailcow-1  | Sep  9 19:50:48 1a9fe461b655 postfix/lmtp[3062]: 83179326C86: to=<[email protected]>, relay=dovecot[fd4d:6169:6c63:6f77::6]:24, delay=0.7, delays=0.64/0.01/0/0.04, dsn=2.0.0, status=sent (250 2.0.0 <[email protected]> eB1CBfh8G2NpdAAAbvg3pQ Saved)
mailcow-postfix-mailcow-1  | Sep  9 19:50:48 1a9fe461b655 postfix/qmgr[372]: 83179326C86: removed

#postfix log sogo auth on
mailcow-postfix-mailcow-1  | Sep  9 19:58:47 1a9fe461b655 postfix/sogo/smtpd[3089]: connect from mailcow-sogo-mailcow-1.mailcow_mailcow-network[172.21.0.248]
mailcow-postfix-mailcow-1  | Sep  9 19:58:49 1a9fe461b655 postfix/sogo/smtpd[3089]: warning: mailcow-sogo-mailcow-1.mailcow_mailcow-network[172.21.0.248]: SASL PLAIN authentication failed: 
mailcow-postfix-mailcow-1  | Sep  9 19:58:49 1a9fe461b655 postfix/sogo/smtpd[3089]: disconnect from mailcow-sogo-mailcow-1.mailcow_mailcow-network[172.21.0.248] ehlo=1 auth=0/1 quit=1 commands=2/3

Steps to reproduce

/opt/mailcow-dockerized/data/conf/sogo/sogo.conf
// SOGoSMTPAuthenticationType = plain;
restart sogo
send works but with unknown user

/opt/mailcow-dockerized/data/conf/sogo/sogo.conf
SOGoSMTPAuthenticationType = plain;
restart sogo
send doesn't work

System information

Question Answer
My operating system Arch Linux
Is Apparmor, SELinux or similar active? No
Virtualization technology (KVM, VMware, Xen, etc - LXC and OpenVZ are not supported KVM
Server/VM specifications (Memory, CPU Cores) 32GB, 8
Docker version (docker version) 20.10.17
docker-compose version (docker-compose version) 2.10.2
mailcow version (git describe --tags `git rev-list --tags --max-count=1` ) 2022-08b
Reverse proxy (custom solution) Nginx

All third-party firewalls and custom iptables rules are unsupported. Please check the Docker docs about how to use Docker with your own ruleset. Nevertheless, iptabels output can help us to help you:
iptables -L -vn:

Chain INPUT (policy ACCEPT 674K packets, 686M bytes)
 pkts bytes target     prot opt in     out     source               destination         
 679K  688M MAILCOW    all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
4735K 2078M MAILCOW    all  --  *      *       0.0.0.0/0            0.0.0.0/0           
4734K 2079M DOCKER-ISOLATION-STAGE-1  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 235K   35M ACCEPT     all  --  *      br-3624f2241516  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
 3713  223K DOCKER     all  --  *      br-3624f2241516  0.0.0.0/0            0.0.0.0/0           
   15  1547 ACCEPT     all  --  br-3624f2241516 !br-3624f2241516  0.0.0.0/0            0.0.0.0/0           
 3713  223K ACCEPT     all  --  br-3624f2241516 br-3624f2241516  0.0.0.0/0            0.0.0.0/0           
4496K 2044M DOCKER-USER  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
   14  5924 ACCEPT     all  --  *      br-1a98b97e375e  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
    0     0 DOCKER     all  --  *      br-1a98b97e375e  0.0.0.0/0            0.0.0.0/0           
   14  1393 ACCEPT     all  --  br-1a98b97e375e !br-1a98b97e375e  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  br-1a98b97e375e br-1a98b97e375e  0.0.0.0/0            0.0.0.0/0           
 123K  101M ACCEPT     all  --  *      br-0cf302d197f3  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
 1696  102K DOCKER     all  --  *      br-0cf302d197f3  0.0.0.0/0            0.0.0.0/0           
  174 54342 ACCEPT     all  --  br-0cf302d197f3 !br-0cf302d197f3  0.0.0.0/0            0.0.0.0/0           
 1696  102K ACCEPT     all  --  br-0cf302d197f3 br-0cf302d197f3  0.0.0.0/0            0.0.0.0/0           
 357K  171M ACCEPT     all  --  *      br-9ec5470b9fb0  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
 1412 84720 DOCKER     all  --  *      br-9ec5470b9fb0  0.0.0.0/0            0.0.0.0/0           
   95 36826 ACCEPT     all  --  br-9ec5470b9fb0 !br-9ec5470b9fb0  0.0.0.0/0            0.0.0.0/0           
 1412 84720 ACCEPT     all  --  br-9ec5470b9fb0 br-9ec5470b9fb0  0.0.0.0/0            0.0.0.0/0           
  866  508K ACCEPT     all  --  *      br-512a5ab0e432  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
    0     0 DOCKER     all  --  *      br-512a5ab0e432  0.0.0.0/0            0.0.0.0/0           
 1017  157K ACCEPT     all  --  br-512a5ab0e432 !br-512a5ab0e432  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  br-512a5ab0e432 br-512a5ab0e432  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  *      docker0  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
    0     0 DOCKER     all  --  *      docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  docker0 docker0  0.0.0.0/0            0.0.0.0/0           
 209K  318M ACCEPT     all  --  *      br-6cfe3964a30a  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
 2297  138K DOCKER     all  --  *      br-6cfe3964a30a  0.0.0.0/0            0.0.0.0/0           
  173 58886 ACCEPT     all  --  br-6cfe3964a30a !br-6cfe3964a30a  0.0.0.0/0            0.0.0.0/0           
 2297  138K ACCEPT     all  --  br-6cfe3964a30a br-6cfe3964a30a  0.0.0.0/0            0.0.0.0/0           
1397K  293M ACCEPT     all  --  *      br-08f939f9c103  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
 7242  435K DOCKER     all  --  *      br-08f939f9c103  0.0.0.0/0            0.0.0.0/0           
52309 5079K ACCEPT     all  --  br-08f939f9c103 !br-08f939f9c103  0.0.0.0/0            0.0.0.0/0           
 7242  435K ACCEPT     all  --  br-08f939f9c103 br-08f939f9c103  0.0.0.0/0            0.0.0.0/0           
 182K  158M ACCEPT     all  --  *      br-ed34bf67e52d  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
 1659 99540 DOCKER     all  --  *      br-ed34bf67e52d  0.0.0.0/0            0.0.0.0/0           
  216 50930 ACCEPT     all  --  br-ed34bf67e52d !br-ed34bf67e52d  0.0.0.0/0            0.0.0.0/0           
 1659 99540 ACCEPT     all  --  br-ed34bf67e52d br-ed34bf67e52d  0.0.0.0/0            0.0.0.0/0           
18694 1645K ACCEPT     all  --  *      br-e2718727495e  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
 1395 83700 DOCKER     all  --  *      br-e2718727495e  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  br-e2718727495e !br-e2718727495e  0.0.0.0/0            0.0.0.0/0           
 1395 83700 ACCEPT     all  --  br-e2718727495e br-e2718727495e  0.0.0.0/0            0.0.0.0/0           
 174K  347M ACCEPT     all  --  *      br-e0a10c9ab335  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
 1707  102K DOCKER     all  --  *      br-e0a10c9ab335  0.0.0.0/0            0.0.0.0/0           
  236  130K ACCEPT     all  --  br-e0a10c9ab335 !br-e0a10c9ab335  0.0.0.0/0            0.0.0.0/0           
 1707  102K ACCEPT     all  --  br-e0a10c9ab335 br-e0a10c9ab335  0.0.0.0/0            0.0.0.0/0           
 244K  145M ACCEPT     all  --  *      br-603f4f133b89  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
 3115  187K DOCKER     all  --  *      br-603f4f133b89  0.0.0.0/0            0.0.0.0/0           
  132 42673 ACCEPT     all  --  br-603f4f133b89 !br-603f4f133b89  0.0.0.0/0            0.0.0.0/0           
 3115  187K ACCEPT     all  --  br-603f4f133b89 br-603f4f133b89  0.0.0.0/0            0.0.0.0/0           
  371 16204 ACCEPT     all  --  *      br-4f972ada92f6  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
   19   932 DOCKER     all  --  *      br-4f972ada92f6  0.0.0.0/0            0.0.0.0/0           
  390 12540 ACCEPT     all  --  br-4f972ada92f6 !br-4f972ada92f6  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  br-4f972ada92f6 br-4f972ada92f6  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  *      br-c9af2b7bd1d4  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
    0     0 DOCKER     all  --  *      br-c9af2b7bd1d4  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  br-c9af2b7bd1d4 !br-c9af2b7bd1d4  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  br-c9af2b7bd1d4 br-c9af2b7bd1d4  0.0.0.0/0            0.0.0.0/0           
16717 6702K ACCEPT     all  --  *      br-6e155eeed108  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
 1559 93540 DOCKER     all  --  *      br-6e155eeed108  0.0.0.0/0            0.0.0.0/0           
   72  8956 ACCEPT     all  --  br-6e155eeed108 !br-6e155eeed108  0.0.0.0/0            0.0.0.0/0           
 1559 93540 ACCEPT     all  --  br-6e155eeed108 br-6e155eeed108  0.0.0.0/0            0.0.0.0/0           
1436K  477M ACCEPT     all  --  *      br-mailcow  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
 151K 9411K DOCKER     all  --  *      br-mailcow  0.0.0.0/0            0.0.0.0/0           
84176 8655K ACCEPT     all  --  br-mailcow !br-mailcow  0.0.0.0/0            0.0.0.0/0           
 148K 9245K ACCEPT     all  --  br-mailcow br-mailcow  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  *      br-186b49c99db8  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
    0     0 DOCKER     all  --  *      br-186b49c99db8  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  br-186b49c99db8 !br-186b49c99db8  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  br-186b49c99db8 br-186b49c99db8  0.0.0.0/0            0.0.0.0/0           
23791 1708K ACCEPT     all  --  *      br-89dae3f04209  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
   23  1380 DOCKER     all  --  *      br-89dae3f04209  0.0.0.0/0            0.0.0.0/0           
  143  9145 ACCEPT     all  --  br-89dae3f04209 !br-89dae3f04209  0.0.0.0/0            0.0.0.0/0           
   23  1380 ACCEPT     all  --  br-89dae3f04209 br-89dae3f04209  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  *      br-5c79b74feace  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
    0     0 DOCKER     all  --  *      br-5c79b74feace  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  br-5c79b74feace !br-5c79b74feace  0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  br-5c79b74feace br-5c79b74feace  0.0.0.0/0            0.0.0.0/0           

Chain OUTPUT (policy ACCEPT 718K packets, 405M bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain DOCKER (19 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     tcp  --  !br-89dae3f04209 br-89dae3f04209  0.0.0.0/0            172.20.8.3           tcp dpt:80
    0     0 ACCEPT     tcp  --  !br-6e155eeed108 br-6e155eeed108  0.0.0.0/0            172.20.1.8           tcp dpt:8080
    0     0 ACCEPT     tcp  --  !br-4f972ada92f6 br-4f972ada92f6  0.0.0.0/0            172.20.5.3           tcp dpt:21119
    0     0 ACCEPT     tcp  --  !br-4f972ada92f6 br-4f972ada92f6  0.0.0.0/0            172.20.5.3           tcp dpt:21117
    0     0 ACCEPT     tcp  --  !br-4f972ada92f6 br-4f972ada92f6  0.0.0.0/0            172.20.5.2           tcp dpt:21118
    6   312 ACCEPT     tcp  --  !br-4f972ada92f6 br-4f972ada92f6  0.0.0.0/0            172.20.5.2           tcp dpt:21116
    7   308 ACCEPT     udp  --  !br-4f972ada92f6 br-4f972ada92f6  0.0.0.0/0            172.20.5.2           udp dpt:21116
    6   312 ACCEPT     tcp  --  !br-4f972ada92f6 br-4f972ada92f6  0.0.0.0/0            172.20.5.2           tcp dpt:21115
    0     0 ACCEPT     tcp  --  !br-603f4f133b89 br-603f4f133b89  0.0.0.0/0            172.20.19.2          tcp dpt:80
    0     0 ACCEPT     tcp  --  !br-e0a10c9ab335 br-e0a10c9ab335  0.0.0.0/0            172.20.13.3          tcp dpt:80
    0     0 ACCEPT     tcp  --  !br-e2718727495e br-e2718727495e  0.0.0.0/0            172.20.0.2           tcp dpt:80
    0     0 ACCEPT     tcp  --  !br-ed34bf67e52d br-ed34bf67e52d  0.0.0.0/0            172.20.12.2          tcp dpt:80
    0     0 ACCEPT     tcp  --  !br-08f939f9c103 br-08f939f9c103  0.0.0.0/0            172.20.6.6           tcp dpt:80
    0     0 ACCEPT     tcp  --  !br-6cfe3964a30a br-6cfe3964a30a  0.0.0.0/0            172.20.10.3          tcp dpt:80
    0     0 ACCEPT     tcp  --  !br-9ec5470b9fb0 br-9ec5470b9fb0  0.0.0.0/0            172.20.9.3           tcp dpt:80
    0     0 ACCEPT     tcp  --  !br-0cf302d197f3 br-0cf302d197f3  0.0.0.0/0            172.20.11.3          tcp dpt:80
    0     0 ACCEPT     tcp  --  !br-1a98b97e375e br-1a98b97e375e  0.0.0.0/0            172.20.4.2           tcp dpt:9000
    0     0 ACCEPT     tcp  --  !br-3624f2241516 br-3624f2241516  0.0.0.0/0            172.20.7.6           tcp dpt:8080
    0     0 ACCEPT     tcp  --  !br-3624f2241516 br-3624f2241516  0.0.0.0/0            172.20.7.6           tcp dpt:80
    0     0 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.249         tcp dpt:6379
    0     0 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.8           tcp dpt:3306
   41  2332 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.250         tcp dpt:110
   19   936 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.253         tcp dpt:25
    0     0 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.5           tcp dpt:8983
    0     0 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.10          tcp dpt:3001
    0     0 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.250         tcp dpt:12345
   41  2332 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.253         tcp dpt:465
   32  1744 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.250         tcp dpt:993
    0     0 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.250         tcp dpt:4190
 2981  155K ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.253         tcp dpt:587
   29  1644 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.250         tcp dpt:995
   32  1848 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.250         tcp dpt:143
    0     0 ACCEPT     tcp  --  !br-mailcow br-mailcow  0.0.0.0/0            172.21.0.10          tcp dpt:3000

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
 pkts bytes target     prot opt in     out     source               destination         
4734K 2079M RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain DOCKER-ISOLATION-STAGE-2 (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain DOCKER-USER (1 references)
 pkts bytes target     prot opt in     out     source               destination         
4496K 2044M RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain MAILCOW (2 references)
 pkts bytes target     prot opt in     out     source               destination         
 2515  151K REJECT     all  --  *      *       5.34.207.0/24        0.0.0.0/0            reject-with icmp-port-unreachable

ip6tables -L -vn:

Chain INPUT (policy ACCEPT 492K packets, 352M bytes)
 pkts bytes target     prot opt in     out     source               destination         
 492K  352M MAILCOW    all      *      *       ::/0                 ::/0                

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
 352K  463M MAILCOW    all      *      *       ::/0                 ::/0                
 352K  464M DOCKER-ISOLATION-STAGE-1  all      *      *       ::/0                 ::/0                
    0     0 ACCEPT     all      *      docker0  ::/0                 ::/0                 ctstate RELATED,ESTABLISHED
    0     0 DOCKER     all      *      docker0  ::/0                 ::/0                
    0     0 ACCEPT     all      docker0 !docker0  ::/0                 ::/0                
    0     0 ACCEPT     all      docker0 docker0  ::/0                 ::/0                
 294K  459M ACCEPT     all      *      br-mailcow  ::/0                 ::/0                 ctstate RELATED,ESTABLISHED
52109 3696K DOCKER     all      *      br-mailcow  ::/0                 ::/0                
 5731  647K ACCEPT     all      br-mailcow !br-mailcow  ::/0                 ::/0                
52101 3695K ACCEPT     all      br-mailcow br-mailcow  ::/0                 ::/0                

Chain OUTPUT (policy ACCEPT 482K packets, 479M bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain DOCKER (2 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::e  tcp dpt:110
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::e  tcp dpt:4190
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::f  tcp dpt:587
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::e  tcp dpt:995
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::f  tcp dpt:465
    5   420 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::e  tcp dpt:993
    3   208 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::f  tcp dpt:25
    0     0 ACCEPT     tcp      !br-mailcow br-mailcow  ::/0                 fd4d:6169:6c63:6f77::e  tcp dpt:143

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
 pkts bytes target     prot opt in     out     source               destination         
 352K  464M RETURN     all      *      *       ::/0                 ::/0                

Chain DOCKER-ISOLATION-STAGE-2 (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 RETURN     all      *      *       ::/0                 ::/0                

Chain MAILCOW (2 references)
 pkts bytes target     prot opt in     out     source               destination         

iptables -L -vn -t nat:

Chain PREROUTING (policy ACCEPT 222K packets, 14M bytes)
 pkts bytes target     prot opt in     out     source               destination         
20632 1092K DOCKER     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type LOCAL

Chain INPUT (policy ACCEPT 6576 packets, 366K bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 67462 packets, 4180K bytes)
 pkts bytes target     prot opt in     out     source               destination         
   17  1020 DOCKER     all  --  *      *       0.0.0.0/0           !127.0.0.0/8          ADDRTYPE match dst-type LOCAL

Chain POSTROUTING (policy ACCEPT 236K packets, 15M bytes)
 pkts bytes target     prot opt in     out     source               destination         
    1    60 MASQUERADE  all  --  *      !br-3624f2241516  172.20.7.0/24        0.0.0.0/0           
    1    60 MASQUERADE  all  --  *      !br-1a98b97e375e  172.20.4.0/24        0.0.0.0/0           
   14   840 MASQUERADE  all  --  *      !br-0cf302d197f3  172.20.11.0/24       0.0.0.0/0           
    8   480 MASQUERADE  all  --  *      !br-9ec5470b9fb0  172.20.9.0/24        0.0.0.0/0           
   57  3420 MASQUERADE  all  --  *      !br-512a5ab0e432  172.20.15.0/24       0.0.0.0/0           
    0     0 MASQUERADE  all  --  *      !docker0  172.17.0.0/16        0.0.0.0/0           
   14   840 MASQUERADE  all  --  *      !br-6cfe3964a30a  172.20.10.0/24       0.0.0.0/0           
 3280  197K MASQUERADE  all  --  *      !br-08f939f9c103  172.20.6.0/24        0.0.0.0/0           
   18  1080 MASQUERADE  all  --  *      !br-ed34bf67e52d  172.20.12.0/24       0.0.0.0/0           
    0     0 MASQUERADE  all  --  *      !br-e2718727495e  172.20.0.0/24        0.0.0.0/0           
   18  1080 MASQUERADE  all  --  *      !br-e0a10c9ab335  172.20.13.0/24       0.0.0.0/0           
   11   660 MASQUERADE  all  --  *      !br-603f4f133b89  172.20.19.0/24       0.0.0.0/0           
    0     0 MASQUERADE  all  --  *      !br-4f972ada92f6  172.20.5.0/24        0.0.0.0/0           
    0     0 MASQUERADE  all  --  *      !br-c9af2b7bd1d4  172.20.3.0/24        0.0.0.0/0           
    5   300 MASQUERADE  all  --  *      !br-6e155eeed108  172.20.1.0/24        0.0.0.0/0           
29667 2200K MASQUERADE  all  --  *      !br-mailcow  172.21.0.0/24        0.0.0.0/0           
    0     0 MASQUERADE  all  --  *      !br-186b49c99db8  172.20.2.0/24        0.0.0.0/0           
    4   267 MASQUERADE  all  --  *      !br-89dae3f04209  172.20.8.0/24        0.0.0.0/0           
 8548  513K MASQUERADE  all  --  *      !br-5c79b74feace  172.20.7.0/24        0.0.0.0/0           
    0     0 MASQUERADE  tcp  --  *      *       172.20.8.3           172.20.8.3           tcp dpt:80
    0     0 MASQUERADE  tcp  --  *      *       172.20.1.8           172.20.1.8           tcp dpt:8080
    0     0 MASQUERADE  tcp  --  *      *       172.20.5.3           172.20.5.3           tcp dpt:21119
    0     0 MASQUERADE  tcp  --  *      *       172.20.5.3           172.20.5.3           tcp dpt:21117
    0     0 MASQUERADE  tcp  --  *      *       172.20.5.2           172.20.5.2           tcp dpt:21118
    0     0 MASQUERADE  tcp  --  *      *       172.20.5.2           172.20.5.2           tcp dpt:21116
    0     0 MASQUERADE  udp  --  *      *       172.20.5.2           172.20.5.2           udp dpt:21116
    0     0 MASQUERADE  tcp  --  *      *       172.20.5.2           172.20.5.2           tcp dpt:21115
    0     0 MASQUERADE  tcp  --  *      *       172.20.19.2          172.20.19.2          tcp dpt:80
    0     0 MASQUERADE  tcp  --  *      *       172.20.13.3          172.20.13.3          tcp dpt:80
    0     0 MASQUERADE  tcp  --  *      *       172.20.0.2           172.20.0.2           tcp dpt:80
    0     0 MASQUERADE  tcp  --  *      *       172.20.12.2          172.20.12.2          tcp dpt:80
    0     0 MASQUERADE  tcp  --  *      *       172.20.6.6           172.20.6.6           tcp dpt:80
    0     0 MASQUERADE  tcp  --  *      *       172.20.10.3          172.20.10.3          tcp dpt:80
    0     0 MASQUERADE  tcp  --  *      *       172.20.9.3           172.20.9.3           tcp dpt:80
    0     0 MASQUERADE  tcp  --  *      *       172.20.11.3          172.20.11.3          tcp dpt:80
    0     0 MASQUERADE  tcp  --  *      *       172.20.4.2           172.20.4.2           tcp dpt:9000
    0     0 MASQUERADE  tcp  --  *      *       172.20.7.6           172.20.7.6           tcp dpt:8080
    0     0 MASQUERADE  tcp  --  *      *       172.20.7.6           172.20.7.6           tcp dpt:80
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.249         172.21.0.249         tcp dpt:6379
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.8           172.21.0.8           tcp dpt:3306
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.250         172.21.0.250         tcp dpt:110
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.253         172.21.0.253         tcp dpt:25
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.5           172.21.0.5           tcp dpt:8983
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.10          172.21.0.10          tcp dpt:3001
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.250         172.21.0.250         tcp dpt:12345
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.253         172.21.0.253         tcp dpt:465
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.250         172.21.0.250         tcp dpt:993
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.250         172.21.0.250         tcp dpt:4190
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.253         172.21.0.253         tcp dpt:587
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.250         172.21.0.250         tcp dpt:995
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.250         172.21.0.250         tcp dpt:143
    0     0 MASQUERADE  tcp  --  *      *       172.21.0.10          172.21.0.10          tcp dpt:3000

Chain DOCKER (2 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 RETURN     all  --  br-3624f2241516 *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  br-1a98b97e375e *       0.0.0.0/0            0.0.0.0/0           
   36  2160 RETURN     all  --  br-0cf302d197f3 *       0.0.0.0/0            0.0.0.0/0           
   51  3060 RETURN     all  --  br-9ec5470b9fb0 *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  br-512a5ab0e432 *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  docker0 *       0.0.0.0/0            0.0.0.0/0           
   39  2340 RETURN     all  --  br-6cfe3964a30a *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  br-08f939f9c103 *       0.0.0.0/0            0.0.0.0/0           
   35  2100 RETURN     all  --  br-ed34bf67e52d *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  br-e2718727495e *       0.0.0.0/0            0.0.0.0/0           
   39  2340 RETURN     all  --  br-e0a10c9ab335 *       0.0.0.0/0            0.0.0.0/0           
   25  1500 RETURN     all  --  br-603f4f133b89 *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  br-4f972ada92f6 *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  br-c9af2b7bd1d4 *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  br-6e155eeed108 *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  br-mailcow *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  br-186b49c99db8 *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  br-89dae3f04209 *       0.0.0.0/0            0.0.0.0/0           
    0     0 RETURN     all  --  br-5c79b74feace *       0.0.0.0/0            0.0.0.0/0           
    0     0 DNAT       tcp  --  !br-89dae3f04209 *       0.0.0.0/0            127.0.0.1            tcp dpt:3004 to:172.20.8.3:80
    0     0 DNAT       tcp  --  !br-6e155eeed108 *       0.0.0.0/0            127.0.0.1            tcp dpt:3005 to:172.20.1.8:8080
    0     0 DNAT       tcp  --  !br-4f972ada92f6 *       0.0.0.0/0            0.0.0.0/0            tcp dpt:21119 to:172.20.5.3:21119
    0     0 DNAT       tcp  --  !br-4f972ada92f6 *       0.0.0.0/0            0.0.0.0/0            tcp dpt:21117 to:172.20.5.3:21117
    0     0 DNAT       tcp  --  !br-4f972ada92f6 *       0.0.0.0/0            0.0.0.0/0            tcp dpt:21118 to:172.20.5.2:21118
    6   312 DNAT       tcp  --  !br-4f972ada92f6 *       0.0.0.0/0            0.0.0.0/0            tcp dpt:21116 to:172.20.5.2:21116
    7   308 DNAT       udp  --  !br-4f972ada92f6 *       0.0.0.0/0            0.0.0.0/0            udp dpt:21116 to:172.20.5.2:21116
    6   312 DNAT       tcp  --  !br-4f972ada92f6 *       0.0.0.0/0            0.0.0.0/0            tcp dpt:21115 to:172.20.5.2:21115
    0     0 DNAT       tcp  --  !br-603f4f133b89 *       0.0.0.0/0            127.0.0.1            tcp dpt:3055 to:172.20.19.2:80
    0     0 DNAT       tcp  --  !br-e0a10c9ab335 *       0.0.0.0/0            127.0.0.1            tcp dpt:3054 to:172.20.13.3:80
    0     0 DNAT       tcp  --  !br-e2718727495e *       0.0.0.0/0            127.0.0.1            tcp dpt:3007 to:172.20.0.2:80
    0     0 DNAT       tcp  --  !br-ed34bf67e52d *       0.0.0.0/0            127.0.0.1            tcp dpt:3053 to:172.20.12.2:80
    0     0 DNAT       tcp  --  !br-08f939f9c103 *       0.0.0.0/0            127.0.0.1            tcp dpt:3006 to:172.20.6.6:80
    0     0 DNAT       tcp  --  !br-6cfe3964a30a *       0.0.0.0/0            127.0.0.1            tcp dpt:3051 to:172.20.10.3:80
    0     0 DNAT       tcp  --  !br-9ec5470b9fb0 *       0.0.0.0/0            127.0.0.1            tcp dpt:3050 to:172.20.9.3:80
    0     0 DNAT       tcp  --  !br-0cf302d197f3 *       0.0.0.0/0            127.0.0.1            tcp dpt:3052 to:172.20.11.3:80
    0     0 DNAT       tcp  --  !br-1a98b97e375e *       0.0.0.0/0            127.0.0.1            tcp dpt:3008 to:172.20.4.2:9000
    0     0 DNAT       tcp  --  !br-3624f2241516 *       0.0.0.0/0            127.0.0.1            tcp dpt:3003 to:172.20.7.6:8080
    0     0 DNAT       tcp  --  !br-3624f2241516 *       0.0.0.0/0            127.0.0.1            tcp dpt:3002 to:172.20.7.6:80
    0     0 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            127.0.0.1            tcp dpt:7654 to:172.21.0.249:6379
    0     0 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            127.0.0.1            tcp dpt:13306 to:172.21.0.8:3306
   41  2332 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:110 to:172.21.0.250:110
   20   996 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:25 to:172.21.0.253:25
    0     0 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            127.0.0.1            tcp dpt:18983 to:172.21.0.5:8983
    0     0 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            127.0.0.1            tcp dpt:3001 to:172.21.0.10:3001
    0     0 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            127.0.0.1            tcp dpt:19991 to:172.21.0.250:12345
 2534  152K DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:465 to:172.21.0.253:465
   32  1744 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:993 to:172.21.0.250:993
    0     0 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:4190 to:172.21.0.250:4190
 2981  155K DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:587 to:172.21.0.253:587
   29  1644 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:995 to:172.21.0.250:995
   32  1848 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            0.0.0.0/0            tcp dpt:143 to:172.21.0.250:143
    0     0 DNAT       tcp  --  !br-mailcow *       0.0.0.0/0            127.0.0.1            tcp dpt:3000 to:172.21.0.10:3000

ip6tables -L -vn -t nat:

Chain PREROUTING (policy ACCEPT 23180 packets, 1881K bytes)
 pkts bytes target     prot opt in     out     source               destination         
 1195 88053 DOCKER     all      *      *       ::/0                 ::/0                 ADDRTYPE match dst-type LOCAL

Chain INPUT (policy ACCEPT 1136 packets, 84337 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 19579 packets, 1567K bytes)
 pkts bytes target     prot opt in     out     source               destination         
19080 1526K DOCKER     all      *      *       ::/0                !::1                  ADDRTYPE match dst-type LOCAL

Chain POSTROUTING (policy ACCEPT 38411 packets, 3074K bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 MASQUERADE  all      *      !docker0  fd00:dead:beef:c0::/80  ::/0                
 3210  291K MASQUERADE  all      *      !br-mailcow  fd4d:6169:6c63:6f77::/64  ::/0                
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::e  fd4d:6169:6c63:6f77::e  tcp dpt:110
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::e  fd4d:6169:6c63:6f77::e  tcp dpt:4190
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::f  fd4d:6169:6c63:6f77::f  tcp dpt:587
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::e  fd4d:6169:6c63:6f77::e  tcp dpt:995
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::f  fd4d:6169:6c63:6f77::f  tcp dpt:465
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::e  fd4d:6169:6c63:6f77::e  tcp dpt:993
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::f  fd4d:6169:6c63:6f77::f  tcp dpt:25
    0     0 MASQUERADE  tcp      *      *       fd4d:6169:6c63:6f77::e  fd4d:6169:6c63:6f77::e  tcp dpt:143

Chain DOCKER (2 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 RETURN     all      docker0 *       ::/0                 ::/0                
    0     0 RETURN     all      br-mailcow *       ::/0                 ::/0                
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:110 to:[fd4d:6169:6c63:6f77::e]:110
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:4190 to:[fd4d:6169:6c63:6f77::e]:4190
   41  3280 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:587 to:[fd4d:6169:6c63:6f77::f]:587
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:995 to:[fd4d:6169:6c63:6f77::e]:995
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:465 to:[fd4d:6169:6c63:6f77::f]:465
    5   420 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:993 to:[fd4d:6169:6c63:6f77::e]:993
    3   208 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:25 to:[fd4d:6169:6c63:6f77::f]:25
    0     0 DNAT       tcp      !br-mailcow *       ::/0                 ::/0                 tcp dpt:143 to:[fd4d:6169:6c63:6f77::e]:143

@Schnuecks Schnuecks added the bug label Sep 11, 2022
@omexlu
Copy link

omexlu commented Sep 11, 2022

I think there is somewhere an issue with sending, same as here:
#4752

@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Nov 11, 2022
@Schnuecks
Copy link
Author

Problem still exists.

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label Nov 11, 2022
@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Jan 10, 2023
@Schnuecks
Copy link
Author

And again, problem still exists.

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label Jan 10, 2023
@marrobHD
Copy link

@Schnuecks could you please share the config at /opt/mailcow-dockerized/data/conf/sogo/sogo.conf?

@Schnuecks
Copy link
Author

Hi, @marrobHD here it is.

{
    SOGoCalendarDefaultRoles = (
        PublicViewer,
        ConfidentialDAndTViewer,
        PrivateDAndTViewer
    );

    WOWorkersCount = "20";
    SOGoACLsSendEMailNotifications = YES;
    SOGoAppointmentSendEMailNotifications = YES;
    SOGoDraftsFolderName = "Drafts";
    SOGoJunkFolderName= "Junk";
    SOGoMailDomain = "sogo.local";
    SOGoEnableEMailAlarms = YES;
    SOGoFoldersSendEMailNotifications = YES;
    SOGoForwardEnabled = YES;

    SOGoUIAdditionalJSFiles = (
      js/theme.js,
      js/custom-sogo.js
    );

    SOGoEnablePublicAccess = YES;

    // Multi-domain setup
    // Domains are isolated, you can define visibility options here.
    // Example:

    // SOGoDomainsVisibility = (
    //  (domain1.tld, domain5.tld),
    //  (domain3.tld, domain2.tld)
    // );

    // self-signed is not trusted anymore
    WOPort = "0.0.0.0:20000";
    SOGoMemcachedHost = "memcached";

    SOGoLanguage = English;
    SOGoMailAuxiliaryUserAccountsEnabled = YES;
    SOGoMailCustomFromEnabled = YES;
    SOGoMailingMechanism = smtp;
    SOGoSMTPAuthenticationType = plain;

    SxVMemLimit = 384;

    SOGoMaximumPingInterval = 3540;

    SOGoInternalSyncInterval = 45;
    SOGoMaximumSyncInterval = 3540;

    // 100 seems to break some Android clients
    //SOGoMaximumSyncWindowSize = 99;
    // This should do the trick for Outlook 2016
    SOGoMaximumSyncResponseSize = 512;

    WOWatchDogRequestTimeout = 30;
    WOListenQueueSize = 16;
    WONoDetach = YES;

    SOGoIMAPAclConformsToIMAPExt = Yes;
    SOGoPageTitle = "SOGo Groupware";
    SOGoFirstDayOfWeek = "1";

    SOGoSieveFolderEncoding = "UTF-8";
    SOGoPasswordChangeEnabled = YES;
    SOGoSentFolderName = "Sent";
    SOGoMailShowSubscribedFoldersOnly = NO;
    NGImap4ConnectionStringSeparator = "/";
    SOGoSieveScriptsEnabled = YES;
    SOGoTrashFolderName = "Trash";
    SOGoVacationEnabled = YES;

    SOGoCacheCleanupInterval = 900;
    SOGoMaximumFailedLoginCount = 10;
    SOGoMaximumFailedLoginInterval = 900;
    SOGoFailedLoginBlockInterval = 900;

    GCSChannelCollectionTimer = 60;
    GCSChannelExpireAge = 60;

    MySQL4Encoding = "utf8mb4";
  //SOGoDebugRequests = YES;
  //SoDebugBaseURL = YES;
  //ImapDebugEnabled = YES;
  //SOGoEASDebugEnabled = YES;
  //LDAPDebugEnabled = YES;
  //PGDebugEnabled = YES;
  //MySQL4DebugEnabled = YES;
  //SOGoUIxDebugEnabled = YES;
  //WODontZipResponse = YES;
    WOLogFile = "/dev/sogo_log";
}

@Schnuecks
Copy link
Author

See steps to reproduce

@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Mar 11, 2023
@Schnuecks
Copy link
Author

Still not resolved.

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label Mar 13, 2023
@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label May 13, 2023
@Schnuecks
Copy link
Author

Not solved until disable SOGo Authentication

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label May 16, 2023
@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Jul 16, 2023
@mcdax
Copy link

mcdax commented Jul 16, 2023

Still not resolved.

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label Jul 16, 2023
@cyberdust2k
Copy link

Issue happening on my end too with a almost completely default install.

logs:

20.07.2023, 00:17:50 | info | disconnect  from  mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.22.1.248]  ehlo=1 auth=0/1 quit=1 commands=2/3
20.07.2023, 00:17:50 | warning | warning: mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.22.1.248]: SASL PLAIN authentication failed:
20.07.2023, 00:17:48 | info | connect from mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.22.1.248]

sogo.conf attached here:

    SOGoCalendarDefaultRoles = (
        PublicViewer,
        ConfidentialDAndTViewer,
        PrivateDAndTViewer
    );

    WOWorkersCount = "20";
    SOGoACLsSendEMailNotifications = YES;
    SOGoAppointmentSendEMailNotifications = YES;
    SOGoDraftsFolderName = "Drafts";
    SOGoJunkFolderName= "Junk";
    SOGoMailDomain = "sogo.local";
    SOGoEnableEMailAlarms = YES;
    SOGoFoldersSendEMailNotifications = YES;
    SOGoForwardEnabled = YES;

    SOGoUIAdditionalJSFiles = (
      js/theme.js,
      js/custom-sogo.js
    );

    SOGoEnablePublicAccess = YES;

    // Multi-domain setup
    // Domains are isolated, you can define visibility options here.
    // Example:

    // SOGoDomainsVisibility = (
    //  (domain1.tld, domain5.tld),
    //  (domain3.tld, domain2.tld)
    // );

    // self-signed is not trusted anymore
    WOPort = "0.0.0.0:20000";
    SOGoMemcachedHost = "memcached";

    SOGoLanguage = English;
    SOGoMailAuxiliaryUserAccountsEnabled = YES;
    SOGoMailCustomFromEnabled = YES;
    SOGoMailingMechanism = smtp;
    SOGoSMTPAuthenticationType = plain;

    SxVMemLimit = 384;

    SOGoMaximumPingInterval = 3540;

    SOGoInternalSyncInterval = 45;
    SOGoMaximumSyncInterval = 3540;

    // 100 seems to break some Android clients
    //SOGoMaximumSyncWindowSize = 99;
    // This should do the trick for Outlook 2016
    SOGoMaximumSyncResponseSize = 512;

    WOWatchDogRequestTimeout = 30;
    WOListenQueueSize = 16;
    WONoDetach = YES;

    SOGoIMAPAclConformsToIMAPExt = Yes;
    SOGoPageTitle = "SOGo Groupware";
    SOGoFirstDayOfWeek = "1";

    SOGoSieveFolderEncoding = "UTF-8";
    SOGoPasswordChangeEnabled = NO;
    SOGoSentFolderName = "Sent";
    SOGoMailShowSubscribedFoldersOnly = NO;
    NGImap4ConnectionStringSeparator = "/";
    SOGoSieveScriptsEnabled = YES;
    SOGoTrashFolderName = "Trash";
    SOGoVacationEnabled = YES;

    SOGoCacheCleanupInterval = 900;
    SOGoMaximumFailedLoginCount = 10;
    SOGoMaximumFailedLoginInterval = 900;
    SOGoFailedLoginBlockInterval = 900;

    GCSChannelCollectionTimer = 60;
    GCSChannelExpireAge = 60;

    MySQL4Encoding = "utf8mb4";
  //SOGoDebugRequests = YES;
  //SoDebugBaseURL = YES;
  //ImapDebugEnabled = YES;
  //SOGoEASDebugEnabled = YES;
  //LDAPDebugEnabled = YES;
  //PGDebugEnabled = YES;
  //MySQL4DebugEnabled = YES;
  //SOGoUIxDebugEnabled = YES;
  //WODontZipResponse = YES;
    WOLogFile = "/dev/sogo_log";
}

@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Sep 18, 2023
@Schnuecks
Copy link
Author

Still a problem.

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label Sep 18, 2023
@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Mar 7, 2024
@cyberdust2k
Copy link

Do not close.

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label Mar 7, 2024
@cyberdust2k
Copy link

On another note: it would be nice if there was any feedback in that matter: Is there insufficient information? Does it work for anyone else? Even a simple wontfix comment would be greatly appreciated.

@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label May 6, 2024
@cyberdust2k
Copy link

Not stale.

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label May 6, 2024
@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Jul 6, 2024
@Schnuecks
Copy link
Author

Not State

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label Jul 6, 2024
@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Sep 4, 2024
@marrobHD
Copy link

marrobHD commented Sep 4, 2024

Not stale

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label Sep 4, 2024
@SimplyCorbett
Copy link

I'm running into the same issue.

I've observed a secondary bug as well.

When enforced TLS authentication is enabled for the mailbox postfix doesn't even log an error/connection when sending an email.

And when someone disables forced TLS authentication it does log an error and says SASL PLAIN authentication failed (reason unavailable).

I may end up buying a support package just to get this issue resolved (it is that important for me).

@DerLinkman DerLinkman added the investigating Still under investigation label Oct 30, 2024
@DerLinkman
Copy link
Member

DerLinkman commented Oct 30, 2024

What did you want to achieve? It works for me.

Do you want to change a shared calendars appointment and then there is no mail send?

Because if so, you need to allow the mail account you modify the shared calendar with to send as the calendar owner:

Example:

You have [email protected] Calendar as a share, where you can edit appointments in. You ([email protected]) is now setting up a new appointment in [email protected] Calendar and invite yourself and external dudes. You know see, that no mail is send, because you are not allowed to send as [email protected]. If you change that permission by editing the mailbox of [email protected] and add your account there, you'll see that the appointments you, in the name of test2 creates, are now properly send out via Mail.

@SimplyCorbett
Copy link

Hello,

Relevant setup attached. Basically, I want the calendar to send email alerts to my email address when appointments are 2 hours from start.

When TLS is not force-enabled I also get the following error in the mailcow postfix logs:

warning: mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.22.1.248]: SASL PLAIN authentication failed: (reason unavailable), [email protected]

When TLS is not enabled there are no errors, but also no emails.

Screenshot 2024-10-30 at 5 20 44 AM Screenshot 2024-10-30 at 5 21 52 AM Screenshot 2024-10-30 at 5 22 32 AM Screenshot 2024-10-30 at 5 24 00 AM Screenshot 2024-10-30 at 5 26 24 AM Screenshot 2024-10-30 at 5 28 48 AM

@DerLinkman
Copy link
Member

Ah ok, now i get it.

Yes i need to analyse this and see if we can fix it.

@DerLinkman
Copy link
Member

Will be fixed just in time next week :)

@DerLinkman DerLinkman linked a pull request Oct 31, 2024 that will close this issue
1 task
@SimplyCorbett
Copy link

It occurred to me that if the calendar didn’t send emails the mail filters in sogo reject response might not as well.

I’ll test that later today or tomorrow but if that doesn’t work does this pull request fix that?

@DerLinkman
Copy link
Member

That's what it's made for

@DerLinkman
Copy link
Member

Will be fixed in 2024-11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants