brunus
6th March 2008, 20:27
Hi,
I've a Perfect Ubuntu 6.06 configuration. The mailserver is perfectly working in my LAN, meaning that I can also send and receive emails from from all email accounts, even other than my domain's one.
When I try to use my domain's email address from outside the LAN, to receive or send, the mailserver mail.ecolefrancaise.bi is not reacheable.
I paste here below the output of the dig command, from inside the lan...
; <<>> DiG 9.4.1-P1 <<>> mail.ecolefrancaise.bi
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6743
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;mail.ecolefrancaise.bi. IN A
;; ANSWER SECTION:
mail.ecolefrancaise.bi. 86400 IN A 192.168.1.1
mail.ecolefrancaise.bi. 86400 IN A 84.254.187.34
;; AUTHORITY SECTION:
ecolefrancaise.bi. 86400 IN NS efbujagateway.ecolefrancaise.bi.
ecolefrancaise.bi. 86400 IN NS dns1.nic.bi.
;; Query time: 1 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Mar 6 20:19:42 2008
;; MSG SIZE rcvd: 123
...and from outside of it
; <<>> DiG 9.4.1-P1 <<>> mail.ecolefrancaise.bi
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 33088
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mail.ecolefrancaise.bi. IN A
;; Query time: 829 msec
;; SERVER: 193.219.193.190#53(193.219.193.190)
;; WHEN: Thu Mar 6 20:18:08 2008
;; MSG SIZE rcvd: 40
In the DNS control panel I've set a A Record for mail.ecolefrancaise.bi for both the private IP 192.168.1.1 and the public one 84.254.187.34
and a MX record mail.ecolefrancaise.bi
efbujagateway.ecolefrancaise.bi is my hostname in postfix's main.cf file
I need a configuration that allows me to use my domain's email addresses outside the LAN as well as within the LAN, in case internet connection is down.
What's wrong?
thanks,
Paolo
I've a Perfect Ubuntu 6.06 configuration. The mailserver is perfectly working in my LAN, meaning that I can also send and receive emails from from all email accounts, even other than my domain's one.
When I try to use my domain's email address from outside the LAN, to receive or send, the mailserver mail.ecolefrancaise.bi is not reacheable.
I paste here below the output of the dig command, from inside the lan...
; <<>> DiG 9.4.1-P1 <<>> mail.ecolefrancaise.bi
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6743
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;mail.ecolefrancaise.bi. IN A
;; ANSWER SECTION:
mail.ecolefrancaise.bi. 86400 IN A 192.168.1.1
mail.ecolefrancaise.bi. 86400 IN A 84.254.187.34
;; AUTHORITY SECTION:
ecolefrancaise.bi. 86400 IN NS efbujagateway.ecolefrancaise.bi.
ecolefrancaise.bi. 86400 IN NS dns1.nic.bi.
;; Query time: 1 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Mar 6 20:19:42 2008
;; MSG SIZE rcvd: 123
...and from outside of it
; <<>> DiG 9.4.1-P1 <<>> mail.ecolefrancaise.bi
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 33088
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mail.ecolefrancaise.bi. IN A
;; Query time: 829 msec
;; SERVER: 193.219.193.190#53(193.219.193.190)
;; WHEN: Thu Mar 6 20:18:08 2008
;; MSG SIZE rcvd: 40
In the DNS control panel I've set a A Record for mail.ecolefrancaise.bi for both the private IP 192.168.1.1 and the public one 84.254.187.34
and a MX record mail.ecolefrancaise.bi
efbujagateway.ecolefrancaise.bi is my hostname in postfix's main.cf file
I need a configuration that allows me to use my domain's email addresses outside the LAN as well as within the LAN, in case internet connection is down.
What's wrong?
thanks,
Paolo