DNS and Postfix problem
Having configured DNS for my home network, postfix stopped working. I've obviously missed something.
All I'm trying to do right now is send an email within my own network - e.g. from the command line on the mail server to my own user account (i.e. to my Linux user account on the server on which Postfix is running, rather than forwarding it onto another mail server or anything like that).
If I put an MX record in DNS, it comes back with the error
Oct 13 18:39:16 willow postfix/smtp[13532]: F0F25C263: to=<iain@mail.cl-office.co.uk>, relay=none, delay=0, status=bounced (mail for mail.cl-office.co.uk loops back to myself)
If I take the MX record out I get
Oct 13 18:42:22 willow postfix/smtp[13551]: 77D1C4018: to=<iain@cl-office.co.uk>, orig_to=<iain>, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=cl-office.co.uk type=A: Host found but no data record of requested type)
Other than this, bind9 seems to be working fine.
[root@willow postfix]# postconf -n
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
delay_warning_time = 4h
disable_dns_lookups = no
html_directory = /usr/share/doc/postfix-2.1.1/html
inet_interfaces = localhost $myhostname
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
myhostname = willow.cl-office.co.uk
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
owner_request_special = no
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.1/README_FILES
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix-2.1.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
unknown_local_recipient_reject_code = 450
Here's the zone file (without MX entry in this case)
[root@willow pz]# cat cl*
$TTL 3D
@ IN SOA ns.cl-office.co.uk. willow.cl-office.co.uk. (
199802151; Serial
8H; Refresh
2H; Retry
4W; Expire
1D); Minimum TTL
;
NS ns;
;
localhost A 127.0.0.1
ns A 192.168.1.11
willow CNAME ns
spike A 192.168.1.10
tiny A 192.168.1.20
router A 192.168.1.1
mail CNAME ns
Last edited by iainr; 10-13-2004 at 03:04 PM.
|