tarickb / sasl-xoauth2

SASL plugin for XOAUTH2
Other
73 stars 21 forks source link

Desired location of libsasl-xoauth2.so #6

Closed jamenlang closed 3 years ago

jamenlang commented 3 years ago

Hello, I'm trying to make another relay server using Ubuntu 20.04.1,

I installed this from the PPA.

I'm getting the No worthy mechs found message, but before that I'm seeing Exception during init: * Line 5, Column 3#012 Missing ',' or '}' in object declaration.

You mentioned in the readme that the libsasl-xoauth2.so might have been placed in the wrong directory, but it looks like it's in the same place as my last test server.

/usr/lib/x86_64-linux-gnu/sasl2/libsasl-xoauth2.so

tarickb commented 3 years ago

That error message you're seeing ("Exception during init: ...") is where the problem lies, I believe. Can you double-check that your config file (/etc/sasl-xoauth2.conf) is valid JSON? From the error it looks like you might be missing a comma somewhere.

jamenlang commented 3 years ago

I don't think I changed the /etc/sasl-xoauth2.conf file at all since I opened the issue, but it's working today. Is that the right directory for libsasl-xoauth2.so?

tarickb commented 3 years ago

Yeah, it's the right directory. If Postfix hadn't found the library, you wouldn't have seen that "Exception during init" message. Are you no longer seeing that message?

jamenlang commented 3 years ago

No the message is still there, but now I only when testing issue #7.