Jump to content
Froxlor Forum
  • 0

system.dns_createmailentry


Question

Hello

I have the following setup : 
One server with two IP's. 
On IP 1, i have the webserver running with froxlor handling everything (dns,apache,etc..)
On IP 2, i have apache manually configured to point to roundcube, and i have postfix/dovecot running (handled by froxlor again). (So it's basically my mail server). (actually postfix is running in a multi-postfix with in/out servers with different spam-assasin and log settings)

Been running syscp, then froxlor, so maybe with the new options there might be a better way to do this.

How should i set-up my froxlor so that i can have this set-up the best way possible ? 
As i'd like to have mail/smtp/imap subdomains for all domains pointing to IP2 and not IP1 :)
I tried turning on the option "system.dns_createmailentry" but it points to my IP1  and looking at the code i can't see any way to have it point to IP2, or maybe i'm missing something ? 

 

Right now i've only got IP1 (80 and 443) in the panel IP's and PORTS

Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Here is a copy of my Nameserver settings.

mail.electrobel.net resolves to IP2.
I don't see any other place where i can specify the MX.

And when i check "create mail...." it adds entries pointing to IP1

 

image.thumb.png.7db73b8f00c408f13f37d0d818508558.png

Link to post
Share on other sites
  • 0
1 hour ago, d00p said:

Please nopaste the Domains DNS zone

I'm sorry, what info do you need ? One of the froxlor generated zone files with the "create mail ..." option turned on ? 

Link to post
Share on other sites
  • 0
$TTL 604800
$ORIGIN electrobel.be.
@       18000   IN      SOA     ns1.electrobel.net. zark.zark.be. 2018061900 3600 900 604800 1200
@       18000   IN      A       195.189.203.15
imap    18000   IN      A       195.189.203.15
pop3    18000   IN      A       195.189.203.15
mail    18000   IN      A       195.189.203.15
smtp    18000   IN      A       195.189.203.15
www     18000   IN      A       195.189.203.15
busy    18000   IN      A       195.189.203.15
www.busy        18000   IN      A       195.189.203.15
@       18000   IN      NS      ns1.electrobel.net.
@       18000   IN      NS      ns2.electrobel.net.
@       18000   IN      MX      10      mail.electrobel.net.
@       18000   IN      TXT     ("v=spf1 a ip4:195.189.203.14 ip4:195.189.203.15 ip4:195.189.203"
                                ".16 ~all")
<CUT>._domainkey      18000   IN      TXT     ("v=DKIM1;k=rsa;p=<CUT>;t=s")
_adsp._domainkey        18000   IN      TXT     "dkim=all"

 

Link to post
Share on other sites
  • 0

Easiest way: do not create Mail entry via settings and enter either a globally valid MX in the settings or specify domain-specific in DNS Editor

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...