I am the new system administrator for a company who recently rebranded one of its products. We seem to be having some trouble with our messages being marked as SPAM and from the research I have done, it looks like setting an SPF record might help alleviate this problem.
However, I'm fairly confused as to how this needs to work as we have recently set up a new server which will eventually take over the operations of the old server. I would greatly appreciate an example for the setup below and/or any advice that you can give.
The new server sits at newbranding.com and sends e-mail from www-data@newbranding.com. The old server sits at both newbranding.com and old-branding.com but only sends e-mail from apache@old-branding.com. To complicate the matter, the From address on each e-mail sent is set to the e-mail address of the logged-in user who initiated the e-mail by their actions.
Also, I'm not sure if it makes any difference, but the message id is set to <<SemiRandomNumber>>@client.old-branding.com on the old server and <<SemiRandomNumber>>@client.newbranding.com on the new server.
To top it all off, I am at some point in the near future going to be rewriting the software from scratch on a new server that will need to send e-mail as newbranding.com.
Again, I appreciate any help that you can provide. Thank you very much for your time.