SendAsDeniedException

Moderator: crythias

Post Reply
Ilario
Znuny newbie
Posts: 1
Joined: 22 Feb 2024, 20:16
Znuny Version: 6.4
Real Name: Ilario Valdelli
Company: Wikimedia CH

SendAsDeniedException

Post by Ilario »

I have Znuny 6.4 and after the upgrade to this version the connection with Oauth2 to Exchange has been lost and recreated, but now I have this error:

Could not send message to server: ****** SendAsDenied; ***** not allowed to send as ******; STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied;

Basically the main user cannot use SMTP to send messages as "sendas" for the other queues.

I tried to give rights in Exchange to the main user "send As permissions" or "send on behalf of" but notthing happens.
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: SendAsDeniedException

Post by root »

Hi,

This error is not related to Znuny. You have to check this with Exchange/Exchange Online. Znuny uses only SMTP with authentication. Make sure the user who authenticates has all required permissions.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply