Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


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

Posted on 2008-10-21
Medium Priority
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

ID: 22775844
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

ID: 22777060
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 1500 total points
ID: 22777256
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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
Phishing emails are a popular malware delivery vehicle for attack.  While there are many ways for an attacker to increase the chances of success for their phishing emails, one of the most effective methods involves spoofing the message to appear to …
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

578 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