I’m having a problem with my Zammad setup and mail sending. When I originally installed the system, I only had IMAP based incoming mail. With that, everything worked fine, both incoming mails and outgoing notifications as well as mails written inside of Zammad.
As we use MS365 as mail service (not my choice), I configured MS Graph API for mail retrieval. I have a central shared mailbox which is correctly queried, and incoming mails are received and show up as ticket. Anyway, now neither notifications for new tickets, nor email replies work anymore, as Zammad tries to send those mails through MS365, instead of the configured SMTP server.
Everything I could find and try didn’t change the behavior. Is there any way to enforce using our SMTP server instead of the MS API?
You don’t understand - I don’t WANT TO use MS365 for sending mail. I have an SMTP Server configured, but Zammad tries to send through MS365, resulting in this error:
MicrosoftGraphOutbound: Microsoft Graph API: The user account which was used to submit this request does not have the right to send mail on behalf of the specified sending account., Cannot submit message. (ErrorSendAsDenied) (no error code present) (MicrosoftGraph::ApiError)
Even removing the email address from the MS365 account in Zammad config doesn’t seem to help.