Skip to content

Permission denied #137

@andre13794

Description

@andre13794

Hi all,

today I installed a new proxy - we already have multiple proxies running - but I am getting the following error:
2023-02-15 22:28:59: Returning authorisation request result for mail@domain.com
2023-02-15 22:28:59: Caught exception while requesting OAuth 2.0 credentials for mail@domain.com: PermissionError(13, 'Permission denied`)

The error message only appears after I did the login to authorize the account.
In the logfile in azure / m365 I am able to see that the login itself was successful.

Do you have any Ideas what I am doing wrong here?
(IDs are correct and were checked)

[SMTP-1587]
local_address = IP Address from Proxy
server_address = smtp.office365.com
server_port = 587
starttls = True

[mail@domain.com]
permission_url = https://login.microsoftonline.com/TENANT_ID/oauth2/v2.0/authorize
token_url = https://login.microsoftonline.com/TENANT_ID/oauth2/v2.0/token
oauth2_scope = https://outlook.office365.com/IMAP.AccessAsUser.All https://outlook.office365.com/POP.AccessAsUser.All https://outlook.office365.com/SMTP.Send offline_access
redirect_uri = http://localhost
client_id = Client_ID
client_secret = Client_SECRET

Thanks in advance!
Kind regard
André

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions