Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Permission Error #40

@PurpHatter

Description

@PurpHatter

I have SMTP2GRAPH running on Windows Server 2025 as a Service. With a local admin account running the service. And the local admin account has full control of the SMTP2GRAPH directories. And the relay is connected to M365 via Application Registration. So far this system has worked great and I am using it daily probably processing 100 emails.

I have an issue with one of my systems, when SMTP2GRAPH gets the emails for it. They get stuck in the temp folder and never move to queue. The logs show a permission error when attempting to rename and move the file to the queue folder. Attached are logs and eml files that failed. I did have a EDR running on the server and thought it may have been putting a file lock on the file. But I disabled the EDR and the issue still occurs. The system sending the email to SMT2GRAPH may be sending a batch of 5 emails at the same time. And it seems 1 always fails. No pattern to the sender besides they are always in BCC. I do not have a threshold configured on max emails sent out. Also below is my config file with the sensitive info removed.

config.yml
combined.log
xiulcwkfyjq73hjd.eml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions