OAuth2 smtp senden Fehler

Allgemein Fragen, deutsche News, Ankündigungen & Events zum OTRS
Post Reply
beastmoar
Znuny expert
Posts: 163
Joined: 02 Jul 2008, 08:37

OAuth2 smtp senden Fehler

Post by beastmoar »

Hallo Zusammen,

ich habe OAuth eingerichtet, hab ein Token generiert und kann per POP und Oauth die Emails abholen aber sobald ich oauth für smtp aktiviere bekomme ich Fehlermeldungen beim Versand. Woran kann das liegen?
SMTP authentication failed (SMTP code: 535, ErrorMessage: 535, 5.7.3 Authentication unsuccessful [AS9PR06CA0034.eurprd06.prod.outlook.com] ).
Version ist 6.4.2

Viele Grüße
Alex
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OAuth2 smtp senden Fehler

Post by root »

Hallo,

schicke doch mal bitte Deine Konfigurationen dazu aus der Sysconfig, exklusive dem Anmeldenamen im Klartext.

Zusatzfrage: ist den SMTP für den Account/die Mailbox aktiviert?

Findet man in der Verwaltung hinter diesem Menüpunkt:
SCR-20220928-cs9.png
- Roy
You do not have the required permissions to view the files attached to this post.
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 ?
beastmoar
Znuny expert
Posts: 163
Joined: 02 Jul 2008, 08:37

Re: OAuth2 smtp senden Fehler

Post by beastmoar »

Hi Roy,

ich hab jetzt das Token in einem neuen Browser-Fenster nicht mit meinem Login geholt sondern mit dem Helpdesk-Login und schon klappt es ;-) (obwohl ich Vollzugriff hab auf das Helpdesk-Postfach)
Das war anscheinend das Problem...

Grüße
Alex
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OAuth2 smtp senden Fehler

Post by root »

beastmoar wrote: 28 Sep 2022, 09:16 obwohl ich Vollzugriff hab auf das Helpdesk-Postfach
Hi,

meine Erfahrung ist, das Berechtigungen die in OWA/Outlook funktionieren und "irgendwie" benanntn sind nicht unbedingt auf API-Ebene passen.

- 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 ?
beastmoar
Znuny expert
Posts: 163
Joined: 02 Jul 2008, 08:37

Re: OAuth2 smtp senden Fehler

Post by beastmoar »

Hi Roy,

danke nochmal für die Hilfe ;-) Jetzt hat auch alles immer sehr gut funktioninert aber seit Gestern auf einmal läuft die smtp-queue voll und es wird nichts mehr rausgeschickt.... Woran kann das liegen? Bzw. was kann ich da tun?

Viele Grüße
Alex
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OAuth2 smtp senden Fehler

Post by root »

beastmoar wrote: 27 Oct 2022, 07:47 Woran kann das liegen? Bzw. was kann ich da tun?
Hi,

Was steht denn im .... Log?

- 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 ?
beastmoar
Znuny expert
Posts: 163
Joined: 02 Jul 2008, 08:37

Re: OAuth2 smtp senden Fehler

Post by beastmoar »

Hab mich an den anderen post dran gehängt... ;-)
bobshop
Znuny newbie
Posts: 1
Joined: 01 Dec 2022, 13:02
Znuny Version: 6.4.3
Real Name: Rainer

Re: OAuth2 smtp senden Fehler

Post by bobshop »

Hallo,

ich hänge mich hier mal rein/ran.

Habe das selbe Problem.
Wir nutzen aktuell Znuny 6.4.3.
Eingerichtet das Microsoft 365 (Azure App), als auch Znuny OAuth2 nach: https://www.znuny.org/de/blog/modern-au ... -microsoft

Der Empfang klappt auch wunderbar, aber beim versenden bekommen wir die gleiche Fehlermeldung:
SMTP authentication failed (SMTP code: 535, ErrorMessage: 535, 5.7.3 Authentication unsuccessful


Ist das das Problem mit SMTPTLS? Oder habe ich irgendwie/irgendwo was anderes falsch gemacht?
Vielleicht kann ja jemand helfen. :)
Post Reply