Koozali.org: home of the SME Server

Remote host said: 451 Upstream SMTP server not available/

Offline jonson

  • *
  • 34
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #15 on: April 24, 2015, 10:53:48 PM »
Thank you for reply
i search for ip i found this ip in PBL
I removed but still problem exist
what i do

Offline jonson

  • *
  • 34
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #16 on: April 24, 2015, 10:57:29 PM »
The problem when i call isp sometimes it tell me
problem in limit of email sending
some times tell me problem in you ip in blacklist
what id to solve
really i don't know
i search i found my ip in pbl
i removed but still problem exist

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #17 on: April 25, 2015, 01:35:58 AM »
jonson

1)
Quote
The problem when i call isp sometimes it tell me
problem in limit of email sending
and
2)
Quote
some times tell me problem in you ip in blacklist....i search i found my ip in pbl, i removed but still problem exist

So you have two problems & you need to troubleshoot them both, although the cause of one of those problems could result in the second problem happening.

You need to tell us your servers external IP so we can check.
You need to tell us your ISP name & smtp mail server address so we can check/test.

Have you ran a antivirus scan on all connected workstations & made sure none of them is infected (note that an infected workstation could be sending huge amounts of spam & virus infected email messages) ?

Have you physically disconnected each workstation (ie the LAN cable) & leaving it disconnected, then do the same on the next workstation & so on. Eventually all workstations will be disconnected. At some point you should (may) observe outward bound mail flow stops, if so you may have found the source of the problem.

Even if you have done the above & cleared all workstations as not being infected, it is possible that workstations can become infected again, & therefore start sending spam messages again.

So if your problems keep recurring (which you say they are), then you need to do a antivirus scan on your workstations again & run through the LAN cable disconnection procedure again.

If someone (either inadvertantly or deliberately) is sending large amounts of messages, then your mail sending limits at your ISP will quickly become exceeded, thus blocking you from sending any email at all.

One answer to that is to request your ISP to increase your sending limit.

It is also possible that your server has been hacked or compromised, & is sending large amounts of "rubbish" mail, which results in you being blacklisted.

Note that removing your server IP from a blacklist does not instantly mean your blacklisting is instantly non effective. It can take many hours to propagate throughout the Internet & for your ISPs rejection filters to no longer see your IP as being blacklisted. It is also possible & highly probable that your server IP is on other blacklists, & mail will still be blocked. You have to search for other lists & request removal of your IP.

Ultimately you MUST stop your server from being blacklisted repeatedly, as regularly having to remove your IP is NOT the best answer, you are effectively "chasing your own tail" getting nowhere.

Are you sending mail via your ISPs smtp server ?
Check this in server manager Email panel & if blank you should enter their details eg smtp.isp.com
Mail will always go via your ISP & then be sent to other mail servers, they will see the mail coming from a trusted IP (the IP of your ISP) rather than coming directly from your sme mail server IP (which is blacklisted). This will prevent mail being rejected by recipients mail servers, assuming your ISP is a good quality one & reputable.

What version of sme server are you running ?
Is it fully updated, ie have you ran these commands in the last few days ?
yum update
followed by
signal-event post-upgrade
signal-event reboot

Also do you have antivirus scanning enabled on the server (in server manager) ?

You can use software tools like
iptraf
to look at your server activity
Also you can look at log files like

qpsmtpd/current
and
qmail

Look in server manager View log files panel for easy to read format log files, these should show the source of email messages eg IP of workstation(s) or maybe the server itself as the sender.

Also please describe to us how your sme server is being used, is it a file server, how many connected workstations, is it a web server hosting web sites, do these websites have interactive pages where users can post or upload data, do these websites use CMS apps or similar (eg Joomla, Wordpress, Drupal or other PHP apps etc), how many other contribs are installed, are there any other special applications installed etc ?

Do you keep these apps/contribs updated ?

It is possible that a web application hosted on your server is compromised or hacked & is using your server as a mail relay to send spam etc, thus resulting in your IP being blacklisted & mail limits exceeded.

You can disable the web application(s) one by one by disabling the ibay Internet access & see if the mail flow suddenly stops. If so, then have the site updated to get rid of any security issues or reinstall or restore from a known good backup (before the hack occurred).

There is a lot more that can be said, but the above is enough for one reply, so go through what I have said, answer ALL questions asked, & check ALL things suggested. Something should be discovered that will give a clue. If not keep looking.

Report back here your answers & results. Please do not skip or miss questions or hurriedly supply us with insufficiently detailed information.

If you do not know how to do the above, then you need to hire a expert consultant.


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: Remote host said: 451 Upstream SMTP server not available/
« Reply #18 on: April 26, 2015, 07:11:23 AM »
Thank you for reply
External ip is 78.93.244.61
domain altawi.com.sa
isp name awal

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #19 on: April 26, 2015, 05:15:51 PM »
ahmedsa

Show output of following command
config show SMTPSmartHost
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline jonson

  • *
  • 34
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #20 on: April 26, 2015, 07:27:41 PM »
Thank you for reply
when i run this command
config show SMTPSmartHost
IT SHOW
SMTPSmartHost altawi.com.sa

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #21 on: April 26, 2015, 08:23:40 PM »
jonson

Are you the same person as ahmedsa ?

Quote
SMTPSmartHost altawi.com.sa

According to what you said earlier in this thread, your domain name (on your sme server) is
altawi.com.sa
& your ISP name is
awal

I assume the ISP is awalnet.com/en

According to this page
http://www.awalnet.com/en/cons_cust_shooting_outlook_microsoft.php
the smtp server address of your iSP is
smtp.awalnet.net.sa

So for the SMTPSmartHost setting you should change it to
smtp.awalnet.net.sa
If that is not correct then you should check with awal & ask them specifically for the name of their smtp server that you can use.

This incorrect setting is likely the cause of your problems.
You can change it in server manager Email panel, or via command line.
« Last Edit: April 26, 2015, 08:25:23 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 jonson

  • *
  • 34
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #22 on: April 26, 2015, 08:47:38 PM »
Thank you for reply
my sme server is not new it is working before 5 years and my settings already fixed
and i can recieve email from outside domain no problem
and i can send to outside domain but it two much time late to reach(from one week)
before that every thing working very quickly
Meaning problem start before one week
so that i ask actually what the problem that can make email sending take too much time to send
outside domain and this is very slow
normal to sending in my domain take one minute or less
my computeres work in workstation is 30
and i use sme server 7.5
antivirus used is Eset End point updated until today
recieving not have any problem
only send take too much time may be 4 hour to send and after this reach


Offline jonson

  • *
  • 34
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #23 on: April 26, 2015, 08:53:16 PM »
This problem before one week
Why this problem happened although my external ip
is working and ping and my server status give me success connected to internet

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #24 on: April 26, 2015, 09:13:05 PM »
and i use sme server 7.5
1.  If you're using SME 7.5, why are you (1) posting in the SME 8 forums, and (2) posting in the contribs forums?
2.  SME 7.5 is EOL, and you really should upgrade to at least 8.1, and preferably 9.0.
3.  As janet asked, are you the same person as ahmedsa?  If not, it gets a little confusing when you're responding to questions directed to that user.
......

Offline jonson

  • *
  • 34
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #25 on: April 26, 2015, 09:19:45 PM »
Thank you for reply
if my version is problem
How it work before that without any problem and more quickly

Offline jonson

  • *
  • 34
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #26 on: April 26, 2015, 09:20:16 PM »
yes my same user

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #27 on: April 26, 2015, 09:25:34 PM »
jonson

You have already been told, so stop re-asking the same question, read the answers given.
You provide us with very little feedback & information so we cannot give you a magic exact answer, but it appears your ISP may have changed the way it filters mail coming from your server.

The SMTPSmartHost setting which is pointing at your own server is causing some sort of loop, & your mail server tries & retries to deliver the message, taking many days to do so.
To my understanding I do not see how your server could send any mail externally as there is a loop, it keeps using its own mail server to send mail to itself for delivery to other servers, rather than going out to the real world.
It's a puzzle to me what has happened & what you may have done to expedite this.
Perhaps you changed the setting inadvertantly, perhaps something changed in external DNS/MX records that allowed it to work previously, but once that was corrected it no longer works.

You have not provided us with enough information to answer your question accurately  & we are certainly not being paid to do extensive troubleshooting on your server.

Did you change the SMTPSmartHost setting to point at your ISPs SMTP server, & have you now checked that the mail messages are being sent OK ?

The setting you had appears to be totally incorrect to me, & I wonder how it worked at all.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline jonson

  • *
  • 34
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #28 on: April 26, 2015, 09:34:19 PM »
Im sorry for asking more question
but let me do what you say
i will try then if not ok i will tell you

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Remote host said: 451 Upstream SMTP server not available/
« Reply #29 on: April 26, 2015, 09:39:54 PM »
jonson/ahmedsa

Quote
The setting you had appears to be totally incorrect to me, & I wonder how it worked at all.

Oh I see here
http://mxtoolbox.com/SuperTool.aspx?action=mx%3aaltawi.com.sa&run=toolpage
you have two MX records configured, & altawi.com.sa points at an external mail server IP, so mail is forwarded to that server if mserver.altawi.com.sa does not respond or is not online or accessible, & any delay is caused by that mail server being busy, or doing filtering, or rejecting your messages (as it now appears to be doing).

Why do you have two MX records ?
With sme server you do not need any MX record as long as other DNS records exist.
Mail will be accepted by your sme server at altawi.com.sa
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.