View previous topic :: View next topic |
Author |
Message |
MoonWalker Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/TV Stars/geordi1.jpg)
Joined: 04 Jul 2002 Posts: 511
|
Posted: Wed Apr 30, 2003 10:10 pm Post subject: Need help with strange mx problem - please |
|
|
I have tried to search board on MX but returns nada, possibly becasue it's only 2 chars, anyhow.
I can't get mail delivered to my domain, setup according to the VMHG on site, the problem seam to be with my domain though and the mx record as when I use a tool to make a mx check on the address 'josch@posthost.biz' it retuns Code: | Checking: josch@posthost.biz
Format Test: Passed
Online Host verification Test ...
MX Record for: josch@posthost.biz
Unable to determine MX Host for posthost.biz
Bad DNS Response - Make sure you have a valid DNS Server configuration |
This is my zone file Code: | $ttl 38400
posthost.biz. IN SOA merc.astrocalc.net. hostmaster (
2003043002
10800
3600
604800
38400 )
posthost.biz. IN NS merc.astrocalc.net.
IN NS ns1.astrocalc.net.
cms.posthost.biz. A 195.128.199.28
www.posthost.biz. CNAME cms.posthost.biz.
mail.posthost.biz. CNAME cms.posthost.biz.
posthost.biz. MX 10 cms.posthost.biz. | I can't see what's wrong with it? also a dig looks fine to me Code: | ns1 root # dig posthost.biz mx
; <<>> DiG 9.2.2 <<>> posthost.biz mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37672
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; QUESTION SECTION:
;posthost.biz. IN MX
;; ANSWER SECTION:
posthost.biz. 38400 IN MX 10 cms.posthost.biz.
;; AUTHORITY SECTION:
posthost.biz. 38400 IN NS merc.astrocalc.net.
posthost.biz. 38400 IN NS ns1.astrocalc.net.
;; ADDITIONAL SECTION:
cms.posthost.biz. 38400 IN A 195.128.199.28
ns1.astrocalc.net. 38400 IN A 212.3.10.145
merc.astrocalc.net. 38400 IN A 195.128.199.25
;; Query time: 3 msec
;; SERVER: 212.3.10.145#53(212.3.10.145)
;; WHEN: Wed Apr 30 22:25:19 2003
;; MSG SIZE rcvd: 148 | posthost.biz live on the same box as merc.astrocalc.net and have an aliased ip of it's own. The dig is done from ns1.astrocalc.net which are an other box located on an other net, even an other country... I can ping cms.posthost from my workstation, which are a complete separate connection... ??? I don't get it whats wrong, possibly something with Postfix, but I been trugh the settings over and over again and can't find what. I'm suspisious though as I don't even have a mail log in /var/log/ here is postconf -n
Code: | merc root # postconf -n
alias_database = hash:/etc/mail/aliases
alias_maps = mysql:/etc/postfix/mysql-aliases.cf
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
home_mailbox = .maildir/
inet_interfaces = all
local_destination_concurrency_limit = 2
local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
local_transport = local
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain $mydomain
mydomain = astrocalc.net
myhostname = merc.astrocalc.net
mynetworks = 195.128.199.25, 195.128.199.26, 195.128.199.27, 195.128.199.28, 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.0.9-r1
relocated_maps = mysql:/etc/postfix/mysql-relocated.cf
sample_directory = /etc/postfix/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_cert_file = /etc/postfix/newcert.pem
smtpd_tls_key_file = /etc/postfix/newreq.pem
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 450
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
virtual_gid_maps = static:1059
virtual_mailbox_base = /
virtual_mailbox_domains = posthost.biz, astrocalc.co.uk
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
virtual_minimum_uid = 1000
virtual_transport = virtual
virtual_uid_maps = static:1059 | If anyone can see what wrong I'm very grateful. _________________ /Joakim
Living on earth is expensive, but it includes a free trip around the sun
every year. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MoonWalker Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/TV Stars/geordi1.jpg)
Joined: 04 Jul 2002 Posts: 511
|
Posted: Thu May 01, 2003 6:22 am Post subject: |
|
|
I can use Mutt as root on box to send mail to josch@posthost.biz and I can pick it up from outside with any client, but when I try to send from outside it just bounce with a message like Code: | <josch@posthost.biz>: Name service error for domain posthost.biz: Host
not
found
|
_________________ /Joakim
Living on earth is expensive, but it includes a free trip around the sun
every year. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
s1th n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/52990176742fc508ebb3db.gif)
Joined: 30 Mar 2003 Posts: 31 Location: Almere, Netherlands
|
Posted: Thu May 01, 2003 8:39 pm Post subject: |
|
|
a whois query shows the folllowing info:
Code: | Domain Name: POSTHOST.BIZ
Domain ID: D2067173-BIZ
Sponsoring Registrar: EASYSPACE LTD.
Domain Status: inactive
Interesting: -> ^^^^^^
<snip other data>
Name Server: MERC.ASTROCALC.NET
Created by Registrar: EASYSPACE LTD.
Last Updated by Registrar: EASYSPACE LTD.
Domain Registration Date: Wed Dec 12 02:13:12 GMT 2001
Domain Expiration Date: Thu Dec 11 23:59:59 GMT 2003
Domain Last Updated Date: Thu Apr 24 23:28:45 GMT 2003
</snip> |
The posthost.biz domain simply is not delegated, only merc.astrocalc.net (nameserver) responds with cms.posthost.biz as its primary (and only) MX:
Code: | /usr/local/bin/dig MX posthost.biz @merc.astrocalc.net
; <<>> DiG 9.2.2rc1 <<>> MX posthost.biz @merc.astrocalc.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28790
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; QUESTION SECTION:
;posthost.biz. IN MX
;; ANSWER SECTION:
posthost.biz. 38400 IN MX 10 cms.posthost.biz. |
_________________ Why did it happen ? BOFH Excuse:
Zombie processes haunting the computer |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MoonWalker Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/TV Stars/geordi1.jpg)
Joined: 04 Jul 2002 Posts: 511
|
Posted: Thu May 01, 2003 11:25 pm Post subject: |
|
|
Hmmm,
thanks for pointing this out to me guess I need to have a word with easyspace and ask why they sell me a domain and then deactivate it... maybe it's due to me removing one of the ns... _________________ /Joakim
Living on earth is expensive, but it includes a free trip around the sun
every year. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|