How to have multiple SMTP servers in ServiceNow? (Workaround)

peterraeves
Mega Guru
I know the straightforward answer is "You cannot. You can have multiple POP/IMAP accounts, but only a single SMTP account". Though, what is the workaround, since the customers really requires it.
 
 
The approach I have been thinking is to create Java code that uses libraries to build MimeMessages and transport them to the customer's mail server. Then to deploy this code on the Mid Server. Events could then fill up the ECC Queue to trigger this Java code running on the MID Server.
 
Though, before I start with this implementation, I was wondering if there was a better approach? Or if someone has already done something similar, since I cannot imagine our customer is the first to have such a requirement?
15 REPLIES 15

Community Alums
Not applicable

Hi, we are looking to do this so that SN can send on behalf of our domain.  However the SPF record doesn't seem to be working and we're getting the following error when running the SPF validation tool on https://www.kitterman.com/spf/validate.html  

PermError SPF Permanent Error: No valid SPF record for included domain: b.spf.service-now.com: include:b.spf.service-now.com

For testing purposes we are using v=spf1 include:b.spf.service-now.com

but we have also tried v=spf1 include:c.spf.service-now.com

The only SPF entry that validates on the test site is v=spf1 include:service-now.com

I have run the dig command and it came back with:

"v=spf1 a:b.spf.service-now.com a:c.spf.service-now.com a:d.spf.service-now.com"

without the MX like it says in KB00535456

We have added include SPF records for other domains without a problem and without specifying IP addresses.

Any information or advise is welcome

Thanks

Michele