Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-08, 01:18:08

Author Topic: Can't send email but can recieve  (Read 5416 times)

0 Members and 1 Guest are viewing this topic.

Offline triniwiz

  • Junior Member
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Fitcom
Can't send email but can recieve
« on: 2014-02-17, 09:57:31 »
Hi i'm having a problem where i'm not able to send out any emails. 

here are some tests i've done

open port test reports ports 25,465 and 587 are open

i can telnet locally to them

i can telnet out to ports 465 and 587 but the get errors lke this when ever i try to telnet out using port 25

Quote
telnet smtp.gmail.com 25
Trying 74.125.137.108...
Connected to smtp.gmail.com.
Escape character is '^]'.
Connection closed by foreign host.

i had a this exact problem before but after talking to my isp they told me i was using the wrong ip which was assigned to me then everything was working up until recently when a exploit was found and after the update (about a week or two) i noticed i wasn't able to send any emails .

this is the line im getting in my mail log

Quote
deferral: Connected_to_65.55.92.184_but_connection_died._(#4.4.2)/

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline triniwiz

  • Junior Member
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Fitcom
Re: Can't send email but can recieve
« Reply #2 on: 2014-02-17, 12:23:32 »
i can telnet to localhost 25 also if i telnet to my server from outside i works but i cant telnet from my server to any server out of my network on port 25 every other port works .. and like i said before telnet was working before then it stopped working . also my isp doesn't block any ports once you have a static ip

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Can't send email but can recieve
« Reply #3 on: 2014-02-17, 12:45:53 »
Send mail via smtp only need port 25 on your server. Not need port 25 open in your target server.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline triniwiz

  • Junior Member
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Fitcom
Re: Can't send email but can recieve
« Reply #4 on: 2014-02-17, 13:06:45 »
well everytime i try to telnet to any server to test out going connection on port 25 i get

Quote
telnet smtp.mail.yahoo.com 25                                   Trying 98.138.105.21...
Connected to smtp.mail.yahoo.com.
Escape character is '^]'.
Connection closed by foreign host.


and the last time i managed to get i working i had no problems using telnet on the server


this is what shows up in my mail log

Quote
Connected _but_connection_died._(#4.4.2)/


Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline triniwiz

  • Junior Member
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Fitcom
Re: Can't send email but can recieve
« Reply #6 on: 2014-02-17, 14:09:07 »
Yes i have read that also my ip isnt on a single blacklist

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Can't send email but can recieve
« Reply #7 on: 2014-02-17, 14:13:02 »
Try send to yahoo and gmail. And then check inside 'spam' box in yahoo and gmail.

Remember, you enable domainkeys and SPF for your domain in Kloxo-MR panel.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline triniwiz

  • Junior Member
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Fitcom
Re: Can't send email but can recieve
« Reply #8 on: 2014-02-18, 03:55:50 »
SPF and domainkeys are set up already my problem is the mail isnt even reaching the server



thats what i get when ever i try to telnet to a smtp server outside my isp network ..

but when i telnet to my isp smtp it works





another thing i noticed was when ever i try to telnet with another pc on my network that has a different public ip the telnet works. so for e.g if i change my servers static ip to another (dhcp) the telnet will work but the only problem is that ip isn't assigned to me

any suggests will help ..  my temporary way of getting around this is using mandrill as my smtp host but i want to use my own server their limit is 12000 free mails per month

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Can't send email but can recieve
« Reply #9 on: 2014-02-18, 04:17:56 »
Usually this happens if hostname and hosts not set well.

Inform here 'hostname -f; hostname -s; cat /etc/hosts; cat /etc/resolv.conf'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline triniwiz

  • Junior Member
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Fitcom
Re: Can't send email but can recieve
« Reply #10 on: 2014-02-18, 04:27:25 »


Code: [Select]
alpha.fitcom.co
alpha
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
### begin - add by Kloxo-MR
181.188.57.6 alpha.fitcom.co alpha
### end - add by Kloxo-MR


; generated by /sbin/dhclient-script
nameserver 8.8.8.8
nameserver 8.8.4.4
search google.com

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Can't send email but can recieve
« Reply #11 on: 2014-02-18, 04:43:23 »
I found alpha.fitcom.co using 181.188.57.6 but fitcom.co/webmail.fitcom.co.

If your fitcom.co not hosting in your vps, create domain dns for alpha.fitcom.co.

Better using hostname as alpha.yourdomain.com and yourdomain.com also hosting in your vps.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline triniwiz

  • Junior Member
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Fitcom
Re: Can't send email but can recieve
« Reply #12 on: 2014-02-18, 05:13:00 »
fitcom.co is hosted on server
but alpha.fitcom.co is hosted on the current server but im using cloudflares dns for the both of them

the thing is a while back (about 2-3 weeks)  everything was working great then after a while no emails where being sent out  .. and the ip isnt blacklisted no where ..

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Can't send email but can recieve
« Reply #13 on: 2014-02-18, 05:19:04 »
try 'sh /script/fixmail-all; sh /script/restart-all'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline triniwiz

  • Junior Member
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Fitcom
Re: Can't send email but can recieve
« Reply #14 on: 2014-02-18, 05:29:39 »
another test i tried was tcptraceroute which showed but if i tried to telnet i would just time out


 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.051 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM