Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-10, 21:16:17

Author Topic: Mail server using random IPs  (Read 3277 times)

0 Members and 1 Guest are viewing this topic.

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Mail server using random IPs
« on: 2014-04-25, 03:38:46 »
I need to bind the mail server to use one specific IP, how can i do that with Kloxo-MR?
As i've added around 10 IPs on the server, it's switched to another IP and i'm getting softerror for SPF in gmail.
Kloxo-MR!

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Mail server using random IPs
« Reply #1 on: 2014-04-25, 05:39:04 »
Qmail uses the server main IP.  Your website DNS probably needs updated to reflect these changes.

Unless you have made drastic changes, qmail will not rotate IPs.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline Kloxo-DR

  • Senior Member
  • *
  • Posts: 239
  • Karma: +3/-9
    • View Profile
Re: Mail server using random IPs
« Reply #2 on: 2014-04-25, 07:33:01 »
Hi,

Before ten years, I did something similar, not with qmail though, when Red Hat was a baby.

I think, although I am not sure, that you may achieve this with qmail by using the function of smtproutes.

You need to map IPs to MX domains and then use Domain Routing in Qmail.

That is a function that always existed and is an important function.

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Mail server using random IPs
« Reply #3 on: 2014-04-26, 23:58:16 »
What's the definition of "server's main ip" or how do set it?
My main IP is eth0 in my system,  but i have eth0:1, eth0:2 etc using only one physical network card on the server (inside a VM)
Right now, i see 2 green ticks for eth0:1 and eth0 in the used field. See the pic.

When i add new ips qmail seems to pick another one :(


Qmail uses the server main IP.  Your website DNS probably needs updated to reflect these changes.

Unless you have made drastic changes, qmail will not rotate IPs.
Kloxo-MR!

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.031 seconds with 21 queries.

web stats analysis