Koozali.org formerly Contribs.org

what priority must have my server to send and recieve

Offline Stefano

  • *
  • 10,800
  • Skype account: maghissimo
    • Smeserver italian community
Re: what priority must have my server to send and recieve
« Reply #60 on: December 01, 2015, 11:16:59 AM »
i call isp to open port 25 it is now opened in public ip 78.93.244.61
after this it work send and receiving emails for one day
and disconnect again

you keep telling us that "it doesn't work"
if it works for a while and then it stops working, there must be a reason and you likely will find it in the logs
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Re: what priority must have my server to send and recieve
« Reply #61 on: December 01, 2015, 06:15:32 PM »
Despite all the advice given here, you *still* don't have the internet connected to port 25 of your SME server. There is a different mail server at altawi.com.au:


-bash-3.00$ telnet altawi.com.sa. 25
Trying 78.46.81.166...
Connected to altawi.com.sa..
Escape character is '^]'.
220-server.tl4s11.com ESMTP Exim 4.86 #2 Tue, 01 Dec 2015 18:08:48 +0100
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.

The system which is hosting your website is not running SME server software.

-bash-3.00$ lynx -head -source http://altawi.com.sa/
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 01 Dec 2015 17:14:39 GMT
Content-Type: text/html; charset=utf-8
Connection: close
X-Powered-By: PHP/5.3.29
Expires: Tue, 01 Dec 2015 20:14:39 GMT
Cache-Control: public, max-age=10800
Set-Cookie: PHPSESSID=d4fbe94234986c7af019db390c325b7e; path=/
Last-Modified: Sat, 17 Sep 2011 18:33:29 GMT
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Pragma: no-cache



You currently don't have any MX records in DNS, which would direct mail to a different IP address than the A record for altawi.com.sa, which is the server hosting your web pages.

As we have told you multiple times, you need to find a mentor who understands basic IP technology, preferable one who understands your native language.

Offline janet

  • ****
  • 4,812
Re: what priority must have my server to send and recieve
« Reply #62 on: December 02, 2015, 03:31:08 AM »
Ahmedsa

The missing part of the external DNS settings is what Charlie has advised in the previous post.
For altawi.com.sa DNS records, you need to add a MX record that points to mserver.altawi.com.sa on IP 78.93.244.61

If you add that MX record (without changing anything else as shown below), then mail for user@altawi.com.sa will be delivered to the SME server mail server at mserver.altawi.com.sa, which I understand is what you are trying to achieve.

Here are the testing results to confirm the above conclusion.

I gather the web server is at altawi.com.sa
Checking records just now for altawi.com.sa,
There is an A record which points at 78.46.81.166
There is no MX record, but as there is an A record then mail (sent to user@altawi.com.sa) should get delivered to the server at altawi.com.sa.
The problem is that this server is not accepting mail, & you want mail delivered to a different server.
A port scan shows the following ports open, 21, 22, 25, 53, 80, 110, 143, 443, 587.
Checking SMTP functionality there is something wrong, the SMTP server does not respond, I get
Connecting to 78.46.81.166
SendSMTPCommand: Timeout waiting for response after 15 seconds.
PWS3v2 17348ms

There are other warnings too, but as this is not really meant to be used as your mail server, then I assume these errors are not of significance.
Reverse DNS does not match SMTP Banner
SMTP TLS    Warning - Does not support TLS


Now, regarding the SME server that you want to act as a mail server for altawi.com.sa

I gather the SME mail server is at
mserver.altawi.com.sa

Checking records just now for mserver.altawi.com.sa,
There is an A record which points at 78.93.244.61 so that looks OK
There is no MX record, but as there is an A record then mail (sent to user@mserver.altawi.com.sa) should get delivered, so this looks OK.
(Note that mail sent to user@altawi.com.sa will not get delivered to mserver@altawi.com.sa at present as there is no MX record at altawi.com.sa).

A port scan shows only port 25 open.
Checking SMTP functionality I get

Connecting to 78.93.244.61
220 mserver.altawi.com.sa ESMTP [1922 ms]
EHLO PWS3.mxtoolbox.com
250-altawi.com.sa Hi pws3.mxtoolbox.com [64.20.227.134]
250-PIPELINING
250-8BITMIME
250-SIZE 15000000
250 STARTTLS [875 ms]
MAIL FROM:<supertool@mxtoolbox.com>
250 <supertool@mxtoolbox.com>, sender OK - how exciting to get mail from you! [875 ms]
RCPT TO:<test@example.com>
550 relaying denied test@example.com [891 ms]
PWS3v2 7078ms


So please add the MX record to altawi.com.sa & mail receipt should be resolved.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
Re: what priority must have my server to send and recieve
« Reply #63 on: December 03, 2015, 05:20:53 PM »
Ahmedsa

Hooray you have finally configured only the one mx record for altawi.com.sa just like you were advised as far back as May 2015.
mx:altawi.com.sa    
0  mserver.altawi.com.sa  78.93.244.61

So is incoming mail working OK now ?


Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Re: what priority must have my server to send and recieve
« Reply #64 on: December 06, 2015, 02:07:55 PM »
Thank you
yes already now my email working
i do as following
open port 25 in router
i leave only   0 mserver.altawi.com.sa
and in simple dns record i add
mserver.altawi.com.sa   A  78.93.244.61
mail.altawi.com.sa   cname altawi.com.sa
and now i can send and receive
Are there are any thing remaining in my settings of mx record
because i do this only
« Last Edit: December 06, 2015, 02:31:39 PM by ahmedsa »