Anyone using Hmailserver with Windows Defender?

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
C.I.
New user
New user
Posts: 5
Joined: 2019-12-24 23:07

Anyone using Hmailserver with Windows Defender?

Post by C.I. » 2020-10-27 00:51

Anyone using Hmailserver with Windows Defender on Windows Server 2019?
(instead of ClamAV as virus scanner of email files)

mikedibella
Normal user
Normal user
Posts: 230
Joined: 2016-12-08 02:21

Re: Anyone using Hmailserver with Windows Defender?

Post by mikedibella » 2020-10-27 02:52

I'm using it on my backup mx, which is configured as a standby with manual DNS failover. My active primary has never failed, so I've never stressed it beyond simple configuration proof with a few test emails.

Here's the config:

Windows Server 2016 Version 1607
Scanner executable: "C:\Program Files\Windows Defender\MpCmdRun.exe" -scan -scantype 3 -file "%FILE%" -disableremediation
Return value: 2

C.I.
New user
New user
Posts: 5
Joined: 2019-12-24 23:07

Re: Anyone using Hmailserver with Windows Defender?

Post by C.I. » 2020-10-27 06:13

Thank you.
I'd guess your platform is 64-bit?
Has anyone used it on an active Hmailserver?

User avatar
mattg
Moderator
Moderator
Posts: 21103
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Anyone using Hmailserver with Windows Defender?

Post by mattg » 2020-10-27 08:18

https://www.hmailserver.com/forum/viewt ... 45#p218838

https://answers.microsoft.com/en-us/pro ... bfc2657ff6

Gives the same answer for failed to scan, as it does for virus found - makes it hard to sort the real emails from the fake ones
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

C.I.
New user
New user
Posts: 5
Joined: 2019-12-24 23:07

Re: Anyone using Hmailserver with Windows Defender?

Post by C.I. » 2020-10-27 09:08

Thank you.
The return code was an issue many years ago (or so it seems to me).
Hasn't Microsoft fixed it in the meanwhile?

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

Re: Anyone using Hmailserver with Windows Defender?

Post by RvdH » 2020-10-27 12:34

C.I. wrote:
2020-10-27 09:08
Thank you.
The return code was an issue many years ago (or so it seems to me).
Hasn't Microsoft fixed it in the meanwhile?
Try it and let us know :wink:
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

C.I.
New user
New user
Posts: 5
Joined: 2019-12-24 23:07

Re: Anyone using Hmailserver with Windows Defender?

Post by C.I. » 2020-10-27 12:54

I have no experience... I'm not sure I know how to do that...

Post Reply