MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: ItzJustinN on 2015-05-08, 20:09:32
-
not sure if this is kloxo issue or linux issue
but i cannot send mail after my hdd failure and reinstall everything
can receive mail no problem
but maillog saying cannot establish smtp connection for outgoing mail
all ports are open in my firewall and i can telnet to any smtp server on port 25
-
What's about telnet port 25 from outside. Possible port 25 blocked by provider (ask to your provider).
-
its not blocked, i just had to send outbound email to smtp server
but not able to send email direct or with relay,
error is same that connection couldnt be established
also telnet from outside is working
-
Try 'yum reinstall *-toaster; sh /script/fixmail-all; sh /script/restart-mail'.
-
still the same error after running the above commands
-
Did you read http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-setup-qmail-on-kloxo-mr/ before?
-
i double checked, and that info is set in my server properly.
-
Are you using Kloxo-MR 6.5 or 7.0?
-
7.0
-
Inform here 'dir -l /var/qmail/control'.
-
Also 'hostname; hostname -f; hostname -s'
-
-rw-r--r-- 1 root qmail 32 May 2 20:32 badloadertypes
-rw-r--r-- 1 root root 2048 May 8 14:24 badloadertypes.cdb
-rw-r--r-- 1 root qmail 25 May 2 20:32 badmailfrom
-rw-r--r-- 1 root qmail 29 May 2 20:32 badmailto
-rw-r--r-- 1 root qmail 360 May 2 20:32 badmimetypes
-rw-r--r-- 1 root root 2048 May 8 14:24 badmimetypes.cdb
-rw-r--r-- 1 root qmail 20 May 2 20:32 blacklists
lrwxrwxrwx 1 root qmail 14 May 8 14:21 clientcert.pem -> servercert.pem
-rw-r--r--. 1 root qmail 2 May 9 00:08 concurrencyincoming
-rw-r--r-- 1 root qmail 3 May 2 20:32 concurrencyremote
-rw-r--r--. 1 root qmail 8 May 9 00:08 databytes
-rw-r--r-- 1 root qmail 10 May 2 20:32 defaultdelivery
-rw-r--r--. 1 root qmail 23 May 9 00:08 defaultdomain
-rw-r--r--. 1 root qmail 23 May 9 00:08 defaulthost
-rw-r--r-- 1 root qmail 245 May 8 14:23 dh1024.pem
-rw-r--r-- 1 root qmail 156 May 8 14:21 dh512.pem
drwxr-xr-x. 13 root qmail 4096 May 2 20:32 domainkeys
-rw-r--r-- 1 root qmail 10 May 8 14:24 locals
-rw------- 1 root root 0 May 3 14:54 locals.lock
-rw-r--r-- 1 root qmail 4 May 2 20:32 logcount
-rw-r--r-- 1 root qmail 8 May 2 20:32 logsize
-rw-r--r--. 1 root qmail 23 May 9 00:08 me
-rw-rw-r-- 1 root root 40 May 8 14:24 morercpthosts
-rw-r--r-- 1 root root 2133 May 8 14:24 morercpthosts.cdb
-rw-r--r-- 1 root root 380 May 8 14:24 outgoingips
-rw-r--r--. 1 root qmail 24 May 1 19:26 plusdomain
-rw-r--r-- 1 root qmail 0 May 2 20:32 policy
-rw-r--r--. 1 root qmail 6 May 9 00:08 queuelifetime
-rw-r--r--. 1 root root 18 May 9 00:08 rblsmtpd
-rw-rw-r-- 1 root root 1 May 8 14:24 rcpthosts
-rw------- 1 root root 0 May 3 14:54 rcpthosts.lock
-rw-r--r-- 1 root qmail 497 May 8 14:21 rsa512.pem
-rw-r--r-- 1 root qmail 1689 May 2 20:32 servercert.pem
-rw-r--r--. 1 root root 42 May 9 00:08 simcontrol
-rw-r--r-- 1 root root 2112 May 9 00:08 simcontrol.cdb
-rw-r--r-- 1 root root 2143 May 9 00:08 simversions.cdb
-rw-r--r--. 1 root qmail 42 May 9 00:08 smtpgreeting
-rw-r--r-- 1 root qmail 17 May 9 00:08 smtproutes
-rw-r--r--. 1 root root 40 May 9 00:08 spamdyke
-rw-r--r-- 1 root qmail 2 May 2 20:32 spfbehavior
lrwxrwxrwx 1 root root 35 May 8 14:21 tlsclientciphers -> /var/qmail/control/tlsserverciphers
drwxr-xr-x. 3 root qmail 4096 May 2 20:32 tlshosts
-rw-r--r--. 1 root qmail 1542 May 8 14:21 tlsserverciphers
-rw-rw-r-- 1 root root 79 May 8 14:24 virtualdomains
-rw------- 1 root root 0 May 3 14:54 virtualdomains.lock
-
root@services:/var/log# hostname -s
services
root@services:/var/log# hostname -f
services.sunderfall.com
root@services:/var/log# hostname
services.sunderfall.com
-
Nothing wrong with 'default' setting. It's weird.
Are you sure your sending mail not declaring as 'spam' by receipient?.
-
yes im sure its not a spam issue.
my ip by default listed in spamhaus and other lists
(if spam i get back message saying that email was rejected by remote server)
need send my mail to my isp smtp server, which i set in kloxo already
in smtp relay " :smtp.isp.net " ,,an can telnet to isp smtp server too on port 25
if i remove smtp relay info, and try to send message, i should get spam error
but message is same: cannot establish smtp connection
-
Send and received mail always use spamhaus (and others) for detecting IP blacklisted. If your IP is blacklisted, your send mail always failed.
-
its only failed if i dont use smtp relay of my isp.
i was sending mail without problem before my drive failed and i reinstall kloxo.
-
Check your IP to http://mxtoolbox.com/
-
hi again,
i tried those tests before posting here.
mxtoolbox found no problem with my servers
btw, my error is the same as the other guy having mail problems, but mine is 7.0
May 9 15:04:41 services send: delivery 15: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
-
I found sunderfall.com have 'bad' record in mxtoolbox. Blacklist by Spamhaus ZEN and SORBS DUHL. Also no SPF record, DKIM/DomainKeys and DMARC.
-
again i will tell you its listed because i have to send mail to ISP mail server
and those records are no reason i cannot open an SMTP connection in MY OWN server.
-
Domain sunderfall.com using cloudflare and look like dns records uncompletely.
-
again i will tell you its listed because i have to send mail to ISP mail server
But, no SPF record, DKIM/DomainKeys and DMARC.
-
i dont know how to explain to you that NOTHING has changed for DNS or the Firewall.
email server was working fine before my hard drive crashed.
and i never set those records you speak of.
-
I am just talking about facts. Testing with mxtoolbox.com, your domain isn't pass.
Other possibility is your dns setting in cloudflare not good (missing some records like SPF).
-
This is different between our domain:
[root@op1 /]# telnet njbck.potissima.com 25
Trying 108.61.191.40...
Connected to njbck.potissima.com.
Escape character is '^]'.
220 njbck.potissima.com - Welcome to Qmail ESMTP
^C^]
telnet> quit
Connection closed.
[root@op1 /]# telnet sunderfall.com 25
Trying 104.18.51.221...
telnet: connect to address 104.18.51.221: Connection timed out
Trying 104.18.50.221...
telnet: connect to address 104.18.50.221: Connection timed out
Trying 2400:cb00:2048:1::6812:32dd...
telnet: connect to address 2400:cb00:2048:1::6812:32dd: Network is unreachable
Trying 2400:cb00:2048:1::6812:33dd...
telnet: connect to address 2400:cb00:2048:1::6812:33dd: Network is unreachable
[root@op1 /]#
-
you cant connect to my server at that address, because "sunderfall.com"
go through cloudflare, and cloudflare blocking many ports.
only possible direct connect to : "services.sunderfall.com"
this address not routed through cloudflare network.
anyways i created a new vps on the same network
installed kloxo 7 and setup routeable domain
but i had same problem with mail server could not connect.
-
Try add 'services' in 'A record' for sunderfall.com