We installed Zammad on an UCS master. It start properly, but it can’t connect to external systems. It can neither connect to the UCS LDAP server (on the same machine), nor to an external mailserver. The error message is:
An error occurred: Can't connect to 'univention.foo.bar' on port '7389', getaddrinfo: Temporary failure in name resolution
For the mailserver it’s also getaddrinfo: Temporary failure in name resolution.
It is mentioned here that this may happen, but for us a restart of the app does not help.
No idea if this is the correct way to check it on the command line, but it also fails:
root@univention:~# docker exec zammad_zammad-railsserver_1 ping sz.de
ping: sz.de: Temporary failure in name resolution
We had two problems with our UCS / Zammad installation:
We chose a zone that is managed by another nameserver, disabled the nameserver on the UCS machine and deleted the zone (this UCS master is only for Apps and user management). The name resolution worked again after re-adding the zone and starting the nameserver.
Since Zammad is a multi-container App, it uses docker-compose and creates a new bridge for its networking. For some reason the bridge did not masquerade the source IP, so packets were only sent, but the recipient didn’t know the right IP address for replying. The following command fixes this until the next reboot: iptables -t nat -A POSTROUTING -s 172.18.0.0/16 ! -o br-dc172dbdd5ba -j SNAT --to-source 81.122.122.18
I think this is also fixed now via http://errata.software-univention.de/ucs/4.4/233.html.