Results 1 to 2 of 2
I am trying to setup Postfix on a Fedora Core 4 box and am having some problems. All local mail delivery tests seem to work fine but the box is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-05-2006 #1
- Join Date
- Mar 2006
However, if I telnet to server1.example.com (same machine) it works. I suspect that something is wrong with my BIND config. These telnet tests were run from the local machine.
[root@server1 ]# telnet mail.example.com 25
telnet: connect to address 126.96.36.199: Connection refused
[root@server1 named]# telnet server1.example.com 25
Connected to server1.example.com.
Escape character is '^]'.
220 server1.example.com ESMTP Postfix
[root@server1 named]# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 server1.example.com:smtp *:* LISTEN
Here is what I have for the BIND config. Any assistance or pointers would be greatly appreciated.
@ IN SOA ns1.example.com. admin.example.com. (
10800 ;Refresh after 3 hours
3600 ;Retry after 1 hour
604800 ;Expire after 1 week
86400 ) ;Minimum TTL of 1 day
; Name Servers
IN NS ns1.example.com.
IN NS ns2.example.com.
; Mail Servers
IN MX 10 mail.example.com.
IN A 188.8.131.52
; Addresses for canonical names
localhost IN A 127.0.0.1
server1 IN A 184.108.40.206
ns1 IN A 220.127.116.11
ns2 IN A 18.104.22.168
mail IN A 22.214.171.124
ftp IN CNAME server1
- 03-06-2006 #2
You can use a CNAME for 'mail', e.g.:
mail IN CNAME mail.example.com.
Your bind config does point to this config file for the right domains, doesn't it? Does the machine that you're trying to telnet from look to this DNS server? It can resolve the name 'mail.example.com' cant it? (try with nslookup or dig mail.example.com).Linux user #126863 - see http://linuxcounter.net/