Configure SPF record for multiple email domains hosted on a single server

Posted on 2008-10-21
Last Modified: 2013-11-30
We use Kerio mail server for multiple email domains, with separate IPs for each domain. We also use Windows SMTP service for sending mails from an application(say, email domain is domain A with IP A). Kerio SMTP service is listens to IP B, and domain B in Kerio  is linked to IP B.

When I send mail from domain B, the source IP is displayed as IP A. I configured SPF record for domain B and when I tested that, I found this.

Would appreciate if anyone can advise me on what is the correct configuration
Question by:Rachelb
  • 2
LVL 26

Expert Comment

Comment Utility
When you send mail, it's going to come from the primary IP address, no matter what IP that domain is listening on. This isn't a big deal, and I would probably just add all the IPs to the SPF record for each of the domains.

"v=spf1 ip4: ip4: ip4: ip4: -all"

Author Comment

Comment Utility
Thank you.
It is not about SPF alone. I want the mails from different domains to go from different IPs.I think bacause of the volume of mails from a single IP, we get greylisted, our mails to Yahoo get dalayed, go into spam folder, sometimes don't get delivered at all.
Mail server has an option of binding the domain to a specific IP adress... will the mail go from the primary IP, even then?
LVL 26

Accepted Solution

jar3817 earned 500 total points
Comment Utility
I'm pretty sure even if you bind it to a specific IP, it'll use the primary for sending. I know with Sendmail on Linux you can create multiple instances of Sendmail on specific IP addresses, but it sounds like you're using windows; I don't know if you can do that.

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This short article will present "How to import ICS Calendar onto Office 365 Calendar". I was searching for free (or not free) tools to convert ICS to CSV without success. The only tools I found & working well were online tools...this was too hard to…
Microsoft has released various new features which are capable of handling various tasks. One of these tasks is ‘Migration from pop3 to Exchange Server’. Pop3 data stores various data along mailboxes like contacts, tasks, etc. So, it becomes the need…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now