What a mission this was!
Oracle netsuite just flat out refuse to give you a list of IP Address’ for their sending servers
“Support will not provide a list of NetSuite IP addresses” https://docs.oracle.com/cloud/latest/netsuitecs_gs/NSADM/NSADM.pdf
Ontop of this there’s no way to use an internal domain name to send emails like [email protected] , so there is no clear way to whitelist your spamfilter ……
After back and forth with their support , they finally gave us sent-via.netsuite.com which you can do a DNS lookup of to get the IPs ( You will have to monitor this for updates ) . Mimecast allows you to whitelist via SPF record so we could add this
Name: sent-via.netsuite.com
> set type=txt
> sent-via.netsuite.com
Server: dns.google
Address: 8.8.8.8
Non-authoritative answer:
sent-via.netsuite.com text =
“google-site-verification=MgKgRWwbn2QifDQBVdRu-IQLvbiR8GFB1hNDz_fmzPU”
sent-via.netsuite.com text =
“v=spf1 include:mailsenders.netsuite.com include:_spf.sparkpostmail.com -all”
> mailsenders.netsuite.com
Server: dns.google
Address: 8.8.8.8
Non-authoritative answer:
mailsenders.netsuite.com text =
“v=spf1 ip4:167.216.129.180/32 ip4:167.216.129.182/31 ip4:167.216.129.184/29 ip4:167.216.129.192/29 ip4:167.216.129.200/32 ip4:167.216.129.210/32 ip4:64.89.45.192/30 “
“ip4:64.89.45.196/32 ip4:208.46.212.208/31 ip4:208.46.212.210/32 ip4:185.72.128.75/32 ip4:185.72.128.76/32 ip4:212.25.240.83/32 ip4:212.25.240.84/31 ip4:72.34.168.76/32 “
“ip4:130.61.9.72/32 ip4:130.61.68.235/32 ip4:132.145.13.209/32 ip4:132.145.11.129/32 ip4:152.67.105.195/32 ip4:140.238.193.139/32 ip4:152.67.105.20/32 ip4:72.34.168.86/32 ip4:72.34.168.85/32 “
“ip4:64.89.44.85/32 -all”
> _spf.sparkpostmail.com
Server: dns.google
Address: 8.8.8.8
Non-authoritative answer:
_spf.sparkpostmail.com text =
“v=spf1 exists:%{i}._spf.sparkpostmail.com ~all”
>
I also recommend you change the From address to a generic [email protected] so easy to monitor
Dkim
https://www.proteloinc.com/blog/compliant-messaging-in-netsuite/