Weird Error - Permission Denied?

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
palinka
Senior user
Senior user
Posts: 1936
Joined: 2017-09-12 17:57

Weird Error - Permission Denied?

Post by palinka » 2020-03-18 14:34

I have this strange error I've never seen before.

Code: Select all

"ERROR"	12072	"2020-03-18 07:02:20.282"	"Script Error: Source: Microsoft VBScript runtime error - Error: 800A0046 - Description: Permission denied - Line: 1 Column: 0 - Code: (null)"
There's only one occurrance of it in the error log. Any idea what this is about?

Here is the log around the error.

Code: Select all

"DEBUG"	12072	"2020-03-18 07:02:20.235"	"Executing task DeliveryTask in work queue SMTP delivery queue"
"DEBUG"	12072	"2020-03-18 07:02:20.235"	"Delivering message..."
"DEBUG"	4212	"2020-03-18 07:02:20.235"	"Adding task DeliveryTask to work queue SMTP delivery queue"
"APPLICATION"	12072	"2020-03-18 07:02:20.235"	"SMTPDeliverer - Message 467814: Delivering message from notification@facebookmail.com to userone@domain.com. File: X:\HMS-DATA\Data\{C6D2CB3B-6DE4-4249-A65C-C863F619BFF0}.eml"
"DEBUG"	12072	"2020-03-18 07:02:20.235"	"Executing event OnDeliveryStart"
"DEBUG"	5516	"2020-03-18 07:02:20.251"	"Executing task DeliveryTask in work queue SMTP delivery queue"
"DEBUG"	5516	"2020-03-18 07:02:20.251"	"Delivering message..."
"APPLICATION"	5516	"2020-03-18 07:02:20.251"	"SMTPDeliverer - Message 467813: Delivering message from usertwo@domain.com to sameusertwo@gmail.com. File: X:\HMS-DATA\Data\{632D29C2-1C89-4BB3-83CD-9F5F9D0229FC}.eml"
"DEBUG"	5516	"2020-03-18 07:02:20.251"	"Executing event OnDeliveryStart"
"ERROR"	12072	"2020-03-18 07:02:20.282"	"Script Error: Source: Microsoft VBScript runtime error - Error: 800A0046 - Description: Permission denied - Line: 1 Column: 0 - Code: (null)"
"DEBUG"	12072	"2020-03-18 07:02:20.282"	"Event completed"
"DEBUG"	12072	"2020-03-18 07:02:20.298"	"Connecting to ClamAV virus scanner..."
"DEBUG"	12072	"2020-03-18 07:02:20.298"	"Connecting to ClamAV stream port..."
I think it has to do with the facebook notification. The other message is an autoforwarded one and its on a different threadID. The facebook message was delivered. The error didn't seem to hold anything up.

I do have some code at OnDeliveryStart related to the "enhanced distribution list" project.

User avatar
RvdH
Senior user
Senior user
Posts: 1053
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Weird Error - Permission Denied?

Post by RvdH » 2020-03-18 15:50

palinka wrote:
2020-03-18 14:34
I do have some code at OnDeliveryStart related to the "enhanced distribution list" project.
Much clearer it won't get....I would start debugging there :?
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

palinka
Senior user
Senior user
Posts: 1936
Joined: 2017-09-12 17:57

Re: Weird Error - Permission Denied?

Post by palinka » 2020-03-18 15:59

RvdH wrote:
2020-03-18 15:50
palinka wrote:
2020-03-18 14:34
I do have some code at OnDeliveryStart related to the "enhanced distribution list" project.
Much clearer it won't get....I would start debugging there :?
You're right, of course. Only trouble is this was the first and only time its happened and I have absolutely no idea how to reproduce it. :cry:

Post Reply