I have a zammad instance, where i want to forward local mails (root, user etc.) to a smarthost to fetch them with my support mail account. On the zammad instance there is sendmail installed, and i dont know why this is so.
Can i safely remove the sendmail package and install exim for instance? Smarthost and alias configuration seems a lot easier with exim.
sendmail might be used by Zammads notification channel so you’ll have to be aware of that and swap it to SMTP if that’s the case. Other than that, sendmail is technically not a dependency of Zammad and thus usually gets installed by other MTA packages like Postfix. That’s not the case for Ubuntu, that’s a little bit different.
So sure, removing and “replacing” sendmail is no big deal.