I was thinking about "/usr/bin/pdftotext ix,"
maybe we need "ux" instead? because the location of the attachments is not in the apparmor profile. Also there is another programm who needs to be executed from kopano-search: "/usr/bin/iconv ux," Aug 11 12:23:27 kernel: [26100.280300] audit: type=1400 audit(1565519007.806:257): apparmor="DENIED" operation="exec" profile="/usr/sbin/kopano-search" name="/usr/bin/iconv" pid=12423 comm="sh" requested_mask="x" denied_mask="x" fsuid=110 ouid=0