MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: fossxplorer on 2014-04-25, 03:38:46

Title: Mail server using random IPs
Post by: fossxplorer 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.
Title: Re: Mail server using random IPs
Post by: chrisf 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.
Title: Re: Mail server using random IPs
Post by: Kloxo-DR 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.
Title: Re: Mail server using random IPs
Post by: fossxplorer 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.