LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Problem mail relay with centos Server and Kloxo CP (https://www.linuxquestions.org/questions/linux-server-73/problem-mail-relay-with-centos-server-and-kloxo-cp-934905/)

golden_boy615 03-17-2012 03:55 AM

Problem mail relay with centos Server and Kloxo CP
 
hello
I have a VPS with CentOS and Kloxo CP and I want to use Mozilla Thunderbird for mail client relaying I made my emails in Kloxo but Mozilla can not connect to it. I did some tests wich described bellow:
I telnet to my vps from my PC but got this:
Quote:

telnet X.Y.X.Y 25
Trying X.Y.X.Y...
telnet: Unable to connect to remote host: No route to host
but telnet within my VPS works:
Quote:

telnet X.Y.X.Y 25
Trying X.Y.X.Y ...
Connected to X.Y.X.Y (X.Y.X.Y ).
Escape character is '^]'.
220 mail.mydomain.com - Welcome to Qmail ESMTP
I checked my iptable but found no related rule to port 25:
Quote:

iptables -L --line-numbers
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT udp -- anywhere anywhere udp dpt:domain
2 ACCEPT tcp -- anywhere anywhere tcp dpt:domain
3 ACCEPT udp -- anywhere anywhere udp dpt:bootps
4 ACCEPT tcp -- anywhere anywhere tcp dpt:bootps
5 RH-Firewall-1-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
num target prot opt source destination
1 ACCEPT all -- anywhere 192.168.122.0/24 state RELATED,ESTABLISHED
2 ACCEPT all -- 192.168.122.0/24 anywhere
3 ACCEPT all -- anywhere anywhere
4 RH-Firewall-1-INPUT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
num target prot opt source destination
1 ACCEPT all -- anywhere anywhere
2 ACCEPT icmp -- anywhere anywhere icmp any
3 ACCEPT esp -- anywhere anywhere
4 ACCEPT ah -- anywhere anywhere
5 ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
6 ACCEPT udp -- anywhere anywhere udp dpt:ipp
7 ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
8 ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
9 ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
I checked my qmail package and it is installed:
Quote:

rpm -qa | grep qmail
qmail-1.03-1.5.15
my mozilla say:
Quote:

Thunderbird failed to find the settings for your email account.
nslookup say:
Quote:

nslookup www.mydomain.com

Server: 85.15.1.10

Address: 85.15.1.10#53



Non-authoritative answer:

Name: www.mydomain.com

Address: X.Y.X.Y



nslookup mail.mydomain.com

Server: 10.1.1.1

Address: 10.1.1.1#53



Name: mail.mydomain.com

Address: X.Y.X.Y

what should I do ? what is the problem?


All times are GMT -5. The time now is 12:31 PM.