I don't think there are any specific settings on Opnsense for emails. Did you put the Dahua NVR on a separate subnet or VLAN using Opnsense? If you created a separate subnet or VLAN on Opnsense, did you create a firewall rule to allow traffic to pass? If its anything like Pfsense, you have to...