[flalug] DNS and Postfix issues

From: Bob Newhart (floridalinux@gmail.com)
Date: Tue Apr 17 2007 - 16:28:20 EDT


Hello, I am trying to setup an e-mail with ISPConfig. All seemed to be
working until I say my deferred e-mail for Postfix. I am getting the
below error message in my mail.log. Mucho thanks for any help.

Apr 17 12:12:34 www postfix/qmgr[23125]: 22924411365:
to=<XXXXXX@juno.com>, relay=none, delay=66558, delays=66482/76/0/0,
dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or
domain name not found. Name service error for name=juno.com type=MX:
Host not found, try again)

I used the HOWTO for the perfect server setup on Ubuntu 6.10. Below
are some config files for Ubuntu.

I own the domain www.builderbulletins.com. I made the hostname for my
Ubuntu box www.builderbulletins.com. I made my MX record
www.builderbulletins.com.

My HOSTS file is

127.0.0.1 localhost.localdomain localhost
192.168.2.1 www.builderbulletins.com www

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

My resolv.conf is (Which are my ISP's name servers)

nameserver 216.199.XXX
nameserver 216.199.XXX.XXX

Here is my nsswitch.conf

passwd: compat
group: compat
shadow: compat

hosts: files dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis

Here is my main.cf (at least the part that matters)

myhostname = www.builderbulletins.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = builderbulletins.com
#mydestination = $myhostname, localhost.$mydomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 192.168.2.0/24
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names

Dig works about half the time also.

Here is my digg A output

; <<>> DiG 9.3.2 <<>> A builderbulletins.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32659
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;builderbulletins.com. IN A

;; ANSWER SECTION:
builderbulletins.com. 2401 IN A 216.199.187.234

;; AUTHORITY SECTION:
builderbulletins.com. 512 IN NS PARK15.SECURESERVER.NET.
builderbulletins.com. 512 IN NS PARK16.SECURESERVER.NET.

;; ADDITIONAL SECTION:
PARK15.SECURESERVER.NET. 229 IN A 64.202.165.118
PARK16.SECURESERVER.NET. 229 IN A 208.109.80.43

;; Query time: 75 msec
;; SERVER: 216.199.XXX.XXX#53(216.199.XXX.XXX)
;; WHEN: Tue Apr 17 12:17:24 2007
;; MSG SIZE rcvd: 144

Here is my dig MX output (well it is not working atm)
DNSStuff.com says...

builderbulletins.com. MX IN 3600 www.builderbulletins.com. [Preference = 10]

-- 
Jason Broyles

"Use Linux, it's free."



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:27:58 EDT