tarickb / sasl-xoauth2

SASL plugin for XOAUTH2
Other
73 stars 21 forks source link

RedHat 9 and SELinux #85

Open miljw002 opened 5 months ago

miljw002 commented 5 months ago

Hi,

I'm hoping someone can help me, as I can't work it out.

Reading through the closed issues, I can see this is a known issue, but the closed issues doesn't have enough details to work out what to do.

I've got this installed on a RedHat 9 system, and I need to disable SELinux for it to work.

If I run the command "semanage permissive -a postfix_smtp_t", then the auth process is failing.

The tokens are being stored in /etc/tokens.

I've tried to follow a number of guide for how to create a custom SELinux policy, but I can't work it out.

Has someone else encountered this, and if so can they share the commands I need to use?

tarickb commented 5 months ago

Yeah I guess the brief note in the README could use some elaboration. Can you share audit logs and/or sasl-xoauth2 logs for when authentication is failing?