Koozali.org: home of the SME Server

what priority must have my server to send and recieve

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: what priority must have my server to send and recieve
« Reply #15 on: November 15, 2015, 02:42:51 PM »
Thank you for reply
No i not deleted
what i need is to understand two points
1-how to refer altawi.com.sa to ip 78.93.244.61
2-If i make one entry altawi.com.sa refer to 78.93.244.61
in this time what relation between my server mserver and altawi.com.sa
meaning i receive emails in mserver.altawi.com.sa why i change to altawi.com.sa
suppose i receive emails in altawi.com.sa
what is link between mail server mserver and altawi.com.sa
I need to apply what above if possible show me points i mention
to apply

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: what priority must have my server to send and recieve
« Reply #16 on: November 15, 2015, 03:00:12 PM »
ahmedsa

Your question has already been answered in the 5th, 10th & 14th posts in this thread ie
make your mx record look like this (which will be achieved by deleting the second entry referred to previously)

(Edited to correct, I copy & pasted in error)
mx:altawi.com.sa
0 altawi.com.sa 78.93.244.61
0 mserver.altawi.com.sa 78.93.244.61

What this will achieve is that all mail for altawi.com.sa will be delivered to mserver mail server, which is what you want AFAICT
« Last Edit: November 16, 2015, 12:27:47 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: what priority must have my server to send and recieve
« Reply #17 on: November 15, 2015, 03:09:25 PM »
OK Thank you for reply
i know that you already tell me more about that
how to make altawi.com.sa represent 78.93.244.61
in mx entry

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: what priority must have my server to send and recieve
« Reply #18 on: November 15, 2015, 03:17:52 PM »
Meaning
if i need to make as below
0 altawi.com.sa 78.93.244.61
add this entry as  record typr CNAME or A

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: what priority must have my server to send and recieve
« Reply #19 on: November 15, 2015, 03:43:54 PM »
ahmedsa

You already have the first mx record configured.
So leave this unchanged
0 mserver.altawi.com.sa 78.93.244.61

What you need to do is delete the second mx record
ie delete this
1 altawi.com.sa 212.93.222.10

« Last Edit: November 15, 2015, 03:48:05 PM by janet »
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
  • +0/-0
Re: what priority must have my server to send and recieve
« Reply #20 on: November 16, 2015, 12:34:44 AM »
ahmedsa

I corrected my post of a few posts back, due to copy & paste error.
My last post before this one is correct.

If you had done this change months ago, then we would not still be here wasting our time telling you what to do for many repeated times.

Delete the second mx record & please do not post any more questions until you have done that. We want to see the change in external DNS records that shows the updated mx records.
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
  • +0/-0
Re: what priority must have my server to send and recieve
« Reply #21 on: November 16, 2015, 12:41:20 AM »
Ahmedsa

It is still not changed (deleted). It is only 4 hours to Live so the sooner you do it the sooner it will be Live

Extract from mx lookup for altawi.com.sa

mx:altawi.com.sa  

Pref Hostname IP Address TTL
0 mserver.altawi.com.sa 78.93.244.61  4 hrs
1 altawi.com.sa 212.93.222.10  4 hrs

dns lookupdns checkwhois lookupspf lookupdns propagationReported by ns2.awalnet.net.sa on 11/15/2015 at 11:35:24 PM (UTC 0),
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: what priority must have my server to send and recieve
« Reply #22 on: November 18, 2015, 02:34:31 PM »
I remove already second entry
1 altawi.com.sa
Now mx record as following
0  mserver.altawi.com.sa 
and no sending or recieving any email
what i do
i do as you tell me

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: what priority must have my server to send and recieve
« Reply #23 on: November 18, 2015, 02:36:34 PM »
only one mx record found
0 mserver.altawi.com.sa

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: what priority must have my server to send and recieve
« Reply #24 on: November 18, 2015, 03:11:23 PM »
...and your firewall is blocking access to port 25, as well as just about everything else:
Code: [Select]
[root@e-smith ~]# nmap -O 78.93.244.61

Starting Nmap 6.25 ( http://nmap.org ) at 2015-11-18 09:07 EST
Nmap scan report for mserver.altawi.com.sa (78.93.244.61)
Host is up (0.27s latency).
Not shown: 990 closed ports
PORT      STATE    SERVICE
23/tcp    filtered telnet
113/tcp   filtered ident
135/tcp   filtered msrpc
139/tcp   filtered netbios-ssn
445/tcp   filtered microsoft-ds
593/tcp   filtered http-rpc-epmap
4444/tcp  filtered krb524
6667/tcp  filtered irc
6881/tcp  filtered bittorrent-tracker
12345/tcp filtered netbus
Device type: router|switch
Running: Cisco IOS 12.X
OS CPE: cpe:/h:cisco:2500_router cpe:/o:cisco:ios:12.1 cpe:/h:cisco:catalyst_2950 cpe:/h:cisco:catalyst_2960 cpe:/h:cisco:catalyst_3550 cpe:/h:cisco:catalyst_3560 cpe:/h:cisco:catalyst_3750 cpe:/o:cisco:ios:12
Too many fingerprints match this host to give specific OS details

OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 158.45 seconds

How do you expect to receive mail if your firewall is blocking the mail port?
......

guest22

Re: what priority must have my server to send and recieve
« Reply #25 on: November 18, 2015, 03:21:10 PM »

In what mode is this server, Server gateway mode or stand alone mode?

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: what priority must have my server to send and recieve
« Reply #26 on: November 18, 2015, 03:38:05 PM »
ahmedsa

As I & others have said, changing the mx record is only part of your problem, you have other problems.

I tested your smtp server & you have a problem.

SMTP Connect    Failed To Connect     More Info
Session Transcript:
Connecting to 78.93.244.61
11/18/2015 7:44:45 AM Connection attempt #1 - Unable to connect after 15 seconds. [15.05 sec]
11/18/2015 7:45:05 AM Connection attempt #2 - Unable to connect after 15 seconds. [15.00 sec]
PWS3v2 35069ms

Also if I open a web browser at
http://mserver.altawi.com.sa/
I get

ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: http://mserver.altawi.com.sa/
Connection to 78.93.244.61 failed.
The system returned: (111) Connection refused
The remote host or network may be down. Please try the request again.

Also if I open a web browser at
http://78.93.244.61/
I get
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: http://78.93.244.61/
Connection to 78.93.244.61 failed.
The system returned: (111) Connection refused
The remote host or network may be down. Please try the request again.


DanB35's test on your open ports is suggestive that you do not have required ports open & forwarded to your SME server eg 25, 80 for starters, & more depending what services you run etc.
Something appears to be changing this situation/setup, as you say sometimes "it" works & sometimes "it" does not work.

You can do a test from a workstation that is behind your SME server
ie
a workstation on the LAN that is using your SME server as a gateway,
go to
http://www.grc.com
& run a port scan to see what ports are open.

I think you previously said your SME server is in server only mode & you have a Cisco firewall in front of it, is that correct ?
Check the Cisco firewall to see what ports are open & see if they are forwarded to your SME server.

If you do not know how to do this then you need to get an IT professional to help you.

« Last Edit: November 18, 2015, 03:40:56 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: what priority must have my server to send and recieve
« Reply #27 on: November 18, 2015, 03:45:22 PM »
I run this command
nmap -O 78.93.244.61
it give me
-bash :nmap:command not found

guest22

Re: what priority must have my server to send and recieve
« Reply #28 on: November 18, 2015, 03:56:09 PM »
I run this command
nmap -O 78.93.244.61
it give me
-bash :nmap:command not found


namp is not part of SME Server. It is a tool that can be installed separately on any linux machine. Please focus on the questions and suggestions.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: what priority must have my server to send and recieve
« Reply #29 on: November 18, 2015, 04:24:39 PM »
ahmedsa

Quote
bash :nmap:command not found

for me this worked
yum install nmap

RequestedDeletion is correct though, you need to focus on identifying & fixing the problem.
The issue is that ports do not appear to be open, why not, how come ?

I said
".... you do not have required ports open & forwarded to your SME server eg 25, 80 for starters, & more depending what services you run etc.
Something appears to be changing this situation/setup, as you say sometimes "it" works & sometimes "it" does not work.
Check the Cisco firewall to see what ports are open & see if they are forwarded to your SME server."
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.