Mail server not working with Postfix Dovecot

W Scott Lockwood III vladinator at gmail.com
Mon Dec 7 16:15:12 UTC 2015


On 12/7/2015 9:59 AM, Mariano Jara Melagrani wrote:
> jaramelagrani.com.ar (G)	MX	10:mail.jaramelagrani.com.ar
> mail.jaramelagrani.com.ar (G)	A	181.230.43.12
Is this on a web page or something originally? I assume you're not 
editing a zone file directly in something like bind. If so, the (G) 
shouldn't be there, and the : between 10 and mail.jaramelagrani.com.ar 
is also a problem. Note also you should have a period at the end of the 
name if you are editing this in a bind zone file. Otherwise, it assumes 
the name is relative to the @ domain. so, mail.jaramelagrani.com.ar 
should be mail. jaramelagrani.com.ar. WITH that extra period at the end.

Note that performing a dig on jaramelagrani.com.ar requesting MX records 
shows that mail.jaramelagrani.com.ar is 181.230.43.12 and currently has 
a weight of 60 rather than 10:

[root at MOONUNIT ~]# nslookup jaramelagrani.com.ar
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   jaramelagrani.com.ar
Address: 181.230.43.12

[root at MOONUNIT ~]# dig jaramelagrani.com.ar MX

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-25.P1.el5_11.4 <<>> jaramelagrani.com.ar MX
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55754
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 8

;; QUESTION SECTION:
;jaramelagrani.com.ar.          IN      MX

;; ANSWER SECTION:
jaramelagrani.com.ar.   3600    IN      MX      10 
mail.jaramelagrani.com.ar.

;; AUTHORITY SECTION:
jaramelagrani.com.ar.   3584    IN      NS      ns1.afraid.org.
jaramelagrani.com.ar.   3584    IN      NS      ns2.afraid.org.
jaramelagrani.com.ar.   3584    IN      NS      ns3.afraid.org.
jaramelagrani.com.ar.   3584    IN      NS      ns4.afraid.org.

;; ADDITIONAL SECTION:
mail.jaramelagrani.com.ar. 60   IN      A       181.230.43.12
ns1.afraid.org.         284     IN      A       50.23.197.95
ns1.afraid.org.         284     IN      AAAA    2607:f0d0:1102:d5::2
ns2.afraid.org.         284     IN      A       208.43.71.243
ns2.afraid.org.         284     IN      AAAA    2607:f0d0:3001:92::2
ns3.afraid.org.         284     IN      A       69.197.18.162
ns4.afraid.org.         284     IN      A       70.39.97.253
ns4.afraid.org.         284     IN      AAAA 2610:150:bddb:d271::2

;; Query time: 78 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Dec  7 10:09:51 2015
;; MSG SIZE  rcvd: 305

-- 
W. Scott Lockwood III




More information about the ubuntu-users mailing list