Koozali.org: home of the SME Server

sending and receive email problem

Offline ahmedsa

  • ****
  • 180
  • +0/-0
sending and receive email problem
« on: March 04, 2015, 11:51:27 AM »
Hi guys i have SME server 8 when i make test internet access to server
it give me failed connection
this problem happen suddenly and setting fixed not one change or play in it
what the reason that can make connection failed
My mode in server server only mode
Setting on server is fixed and not changed#
Why not send and receive
if possible help me and i will give you all information you need
thanks


   

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #1 on: March 04, 2015, 12:22:07 PM »
login as root on your server and use diagnostic tools (ping, traceroute, dig and so on) to check your internet connection

it could be an external issue

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #2 on: March 04, 2015, 12:39:20 PM »
if this is external issue what i must do or talk

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #3 on: March 04, 2015, 12:44:11 PM »
your ISP? :-)

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #4 on: March 04, 2015, 12:55:50 PM »
we  test the real ip that we used in sme server it work and i can ping and give me response in it  and using internet from this IP
but in same time when test internet access on sme server it give me
connection failed

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #5 on: March 04, 2015, 01:07:57 PM »
we need to see what you did and tried..
so, please, post here

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #6 on: March 04, 2015, 01:40:40 PM »
ok
Before you see this setting
this setting work before long time and until yesterday
this is my data on sme server
Domain name is altawi.com.sa
System name :mserver
IP Server local 192.168.1.4
subnet mask :255.255.255.0
server only mode
Gatway ip address to access to internet 192.168.1.254
DHCP SETTINGS Dont provide dhcp service to local
address of isp
84.22.224.11
test internet connection is failed
if you need any information please tell me

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #7 on: March 04, 2015, 02:20:04 PM »
Are you need any information about the problem

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #8 on: March 04, 2015, 03:17:04 PM »
from your server, logged in as root

Code: [Select]
ping 192.168.1.254
ping 84.22.224.11
ping 8.8.8.8
ping www.libero.it

the first tests your internal connectivity
the second tests your external/wan IP
the third tests external connectivity
the last tests dns mane resolution

please post here the results, thank you

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #9 on: March 04, 2015, 05:44:42 PM »
Can you show to me
In which place i will write these commandes
please if possible

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #10 on: March 04, 2015, 05:55:19 PM »
use putty to connect via ssh to your server, login as root

https://www.youtube.com/watch?v=9CZphjhQxIQ

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #11 on: March 04, 2015, 07:14:17 PM »
I download putty
IF i need to access my sme server
from internal network
or outside network
and what i write in host name

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #12 on: March 04, 2015, 09:29:03 PM »
first of all:

go to server-manager and enable ssh (remote-access panel) at least from lan.. enable administrative commands and password authentication..

then start putty and insert your local ip

you'd see a new black window.. login as root, using its password

to copy and paste, yust select the text you need in your putty session and paste here

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #13 on: March 05, 2015, 07:08:31 AM »
Thank you for reply
What i have is admin username and password
and now i can access the sme server from my computer
but it show me interface(server console) not show to me command prompt to write ping commands
please help me

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #14 on: March 05, 2015, 08:43:04 AM »
OK i make ping to the following ip
------------------------------------
ping 192.168.1.254
it is working
64 bytes from 192.168.1.254 icmp_seq=1,2,3,etc, ttl=255,time= 0.846,847ms
-------------------------
ping 8.8.8.8
it is working
64 bytes from 8.8.8.8 icmp_seq=1,2,3,etc, ttl=56,time= 125,126ms
--------------------------
ping to 84.22.224.11
it is not give me any response
it give me
(84.22.224.11)56(84)bytes of data
it give me only one line as following :
ping 84.22.224.11(84.22.224.11)56(84)bytes of data
--------------------------
ping  www.libero.it
it give me unknown host
------
this is above all results
if possible help me

 

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #15 on: March 05, 2015, 11:17:07 AM »
If possible can any one help me

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #16 on: March 05, 2015, 11:21:15 AM »
you have some DNS issue

try with
Code: [Select]
config setprop dnscache Forwarder 8.8.8.8
signal-event dns-update

P.S. this is a forum, not an helpdesk.. you should not keep begging for help..

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #17 on: March 05, 2015, 11:27:20 AM »
Thank you for reply
OK i check internet access on server it success work
it receive but not send why

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #18 on: March 05, 2015, 11:40:39 AM »
first of all: 1 problem, 1 topic

anyway.. you have to take a look at qmail/qpsmtpd log

Code: [Select]
tail -f /var/log/qmail/current

will tell you more


Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #19 on: March 05, 2015, 01:05:13 PM »
Thank you for reply

internet access on server is success
i can send and receive email locally
we can receive email from outside (gmail,yahoo,etc)
but we cannot send email to outside (gmail,yahoo,etc)
How to solve problem of sending

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #20 on: March 05, 2015, 01:59:21 PM »
why sending only problem and what i must check to solve the issue

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #21 on: March 05, 2015, 02:06:04 PM »
1) I don't know, you aren't giving me/us any element
2) my first guess is that your IP has been blacklisted.. so you can receive but, de facto, you can't send

how do you solve your problem? I don't know, I already told you where to look, it seems you aren't listening

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #22 on: March 05, 2015, 02:25:49 PM »
can you tell me which element you need i will give you
or there are any way to solve problem

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #23 on: March 05, 2015, 02:46:35 PM »

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #24 on: March 05, 2015, 03:32:23 PM »
login as: root
root@192.168.1.4's password:
Last login: Thu Mar  5 14:21:34 2015 from 192.168.1.105
[root@mserver ~]# tail -f /var/log/qmail/current
@4000000054f863e324e876a4 delivery 59: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f863e324e88e14 status: local 0/10 remote 19/20
@4000000054f863e333338564 delivery 60: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f863e3333398ec status: local 0/10 remote 18/20
@4000000054f863eb3522da14 starting delivery 81: msg 4576724 to remote rmtawi2@ya                                             hoo.com
@4000000054f863eb3522f184 status: local 0/10 remote 19/20
@4000000054f863ff34f18cfc warning: trouble opening info/1/4573942; will try agai                                             n later
@4000000054f863ff34f1a084 warning: trouble opening info/20/4576353; will try aga                                             in later
@4000000054f8640134ee50dc warning: trouble opening info/10/4572893; will try aga                                             in later
@4000000054f8640134ee6464 warning: trouble opening info/11/4575010; will try aga                                             in later
@4000000054f8645937f1fbbc delivery 63: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8645937f2132c status: local 0/10 remote 18/20
@4000000054f8645a29351c44 delivery 64: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8645a2935379c status: local 0/10 remote 17/20
@4000000054f8645b16065804 delivery 65: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8645b16066b8c status: local 0/10 remote 16/20
@4000000054f8645b24db66e4 delivery 66: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8645b24db7a6c status: local 0/10 remote 15/20
@4000000054f8645b3309f4c4 delivery 67: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8645b330a084c status: local 0/10 remote 14/20
@4000000054f8646234745264 starting delivery 82: msg 4576354 to remote altawirmc@                                             hotmail.com
@4000000054f86462347465ec status: local 0/10 remote 15/20
@4000000054f8646f34e246d4 starting delivery 83: msg 4576646 to remote altawi.university@gmail.com
@4000000054f8646f34e25e44 status: local 0/10 remote 16/20
@4000000054f8647b34c96f74 warning: trouble opening info/1/4573942; will try again later
@4000000054f8647b34c986e4 warning: trouble opening info/20/4576353; will try again later
@4000000054f8647d34c59714 warning: trouble opening info/10/4572893; will try again later
@4000000054f8647d34c5aa9c warning: trouble opening info/11/4575010; will try again later
@4000000054f8649836f14114 starting delivery 84: msg 4576575 to remote altawi.rabigh@gmail.com
@4000000054f8649836f15884 status: local 0/10 remote 17/20
@4000000054f8649a36edbea4 starting delivery 85: msg 4576576 to remote altawirmc@hotmail.com
@4000000054f8649a36edd22c status: local 0/10 remote 18/20
@4000000054f8649f38a5da9c starting delivery 86: msg 4576352 to remote emad19742@hotmail.com
@4000000054f8649f38a5f20c status: local 0/10 remote 19/20
login as: root
root@192.168.1.4's password:
Last login: Thu Mar  5 14:21:34 2015 from 192.168.1.105
[root@mserver ~]# tail -f /var/log/qmail/current
@4000000054f863e324e876a4 delivery 59: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f863e324e88e14 status: local 0/10 remote 19/20
@4000000054f863e333338564 delivery 60: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f863e3333398ec status: local 0/10 remote 18/20
@4000000054f863eb3522da14 starting delivery 81: msg 4576724 to remote rmtawi2@ya                                             hoo.com
@4000000054f863eb3522f184 status: local 0/10 remote 19/20
@4000000054f863ff34f18cfc warning: trouble opening info/1/4573942; will try agai                                             n later
@4000000054f863ff34f1a084 warning: trouble opening info/20/4576353; will try aga                                             in later
@4000000054f8640134ee50dc warning: trouble opening info/10/4572893; will try aga                                             in later
@4000000054f8640134ee6464 warning: trouble opening info/11/4575010; will try aga                                             in later
@4000000054f8645937f1fbbc delivery 63: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8645937f2132c status: local 0/10 remote 18/20
@4000000054f8645a29351c44 delivery 64: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8645a2935379c status: local 0/10 remote 17/20
@4000000054f8645b16065804 delivery 65: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8645b16066b8c status: local 0/10 remote 16/20
@4000000054f8645b24db66e4 delivery 66: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8645b24db7a6c status: local 0/10 remote 15/20
@4000000054f864c63ac58264 starting delivery 87: msg 4576647 to remote altawirmc@hotmail.com
@4000000054f864c63ac599d4 status: local 0/10 remote 20/20
@4000000054f864d1376cdd9c delivery 68: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_s                   aid:_451_Upstream_SMTP_server_not_available/
@4000000054f864d1376cf8f4 status: local 0/10 remote 19/20
@4000000054f864d2293ef3cc delivery 69: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_s                   aid:_451_Upstream_SMTP_server_not_available/
@4000000054f864d2293f0754 status: local 0/10 remote 18/20
@4000000054f864d31573b10c delivery 70: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_s                   aid:_451_Upstream_SMTP_server_not_available/
@4000000054f864d31573c87c status: local 0/10 remote 17/20
@4000000054f864d32494ad6c delivery 71: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_s                   aid:_451_Upstream_SMTP_server_not_available/
@4000000054f864d32494c4dc status: local 0/10 remote 16/20
@4000000054f864d3327970ac delivery 72: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_s                   aid:_451_Upstream_SMTP_server_not_available/
@4000000054f864d33279881c status: local 0/10 remote 15/20
@4000000054f864df325aec2c starting delivery 88: msg 4576868 to remote al.haraish@hotmail.com
@4000000054f864df325affb4 status: local 0/10 remote 16/20
@4000000054f864f732296864 warning: trouble opening info/1/4573942; will try again later
@4000000054f864f732297fd4 warning: trouble opening info/20/4576353; will try again later
@4000000054f864f9322597d4 warning: trouble opening info/10/4572893; will try again later
@4000000054f864f93225af44 warning: trouble opening info/11/4575010; will try again later
@4000000054f8650333e83f04 starting delivery 89: msg 4576362 to remote altawiairportbranch@gmail.com
@4000000054f8650333e85674 status: local 0/10 remote 17/20
@4000000054f8650333e8622c starting delivery 90: msg 4576362 to remote altawinaseem@gmail.com
@4000000054f8650333e871cc status: local 0/10 remote 18/20
@4000000054f8650333eafe24 starting delivery 91: msg 4576362 to remote mg.aramco@gmail.com
@4000000054f8650333eb0dc4 status: local 0/10 remote 19/20
@4000000054f8650333edb95c starting delivery 92: msg 4576362 to remote osamahilmy@yahoo.com
@4000000054f8650333edc8fc status: local 0/10 remote 20/20
@4000000054f86549376c83c4 delivery 73: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_s                   aid:_451_Upstream_SMTP_server_not_available/
@4000000054f86549376c974c status: local 0/10 remote 19/20
@4000000054f86549376ca6ec starting delivery 93: msg 4576362 to remote universityaltawi@gmail.com
@4000000054f86549376cb68c status: local 0/10 remote 20/20
@4000000054f8654a290dd97c delivery 74: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_s                   aid:_451_Upstream_SMTP_server_not_available/
@4000000054f8654a290df0ec status: local 0/10 remote 19/20
@4000000054f8654a29d93414 starting delivery 94: msg 4576793 to remote ahmed_elbarbary.2010@yahoo.com
@4000000054f8654a29d943b4 status: local 0/10 remote 20/20
@4000000054f8654b15444c3c delivery 75: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_s                   aid:_451_Upstream_SMTP_server_not_available/
@4000000054f8654b154463ac status: local 0/10 remote 19/20
@4000000054f8654b160978cc starting delivery 95: msg 4576317 to remote ahmed_elbarbary.2010@yahoo.com
@4000000054f8654b1609903c status: local 0/10 remote 20/20
@4000000054f8654b241b56ec delivery 76: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_s                   aid:_451_Upstream_SMTP_server_not_available/
@4000000054f8654b241b6e5c status: local 0/10 remote 19/20
@4000000054f8654b2581cc8c starting delivery 96: msg 4576385 to remote altawirmc@hotmail.com
@4000000054f8654b2581e3fc status: local 0/10 remote 20/20
@4000000054f8654b3283bd64 delivery 77: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_s                   aid:_451_Upstream_SMTP_server_not_available/
@4000000054f8654b3283d4d4 status: local 0/10 remote 19/20
@4000000054f8654b33537144 starting delivery 97: msg 4576634 to remote sos.waqas1@gmail.com
@4000000054f8654b335384cc status: local 0/10 remote 20/20
@4000000054f865733301943c warning: trouble opening info/1/4573942; will try again later
@4000000054f865733301abac warning: trouble opening info/20/4576353; will try again later
@4000000054f8657532fdc794 warning: trouble opening info/10/4572893; will try again later
@4000000054f8657532fddf04 warning: trouble opening info/11/4575010; will try again later
@4000000054f865c1374c1314 delivery 78: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f865c1374c2e6c status: local 0/10 remote 19/20
@4000000054f865c138e2bc8c starting delivery 98: msg 4576340 to remote Mohammad.baida@saint-gobain.com
@4000000054f865c138e2d3fc status: local 0/10 remote 20/20
@4000000054f865c228bccb7c delivery 79: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f865c228bcdf04 status: local 0/10 remote 19/20
@4000000054f865c228bceabc starting delivery 99: msg 4576340 to remote Mohammad.Rafeeq@saint-gobain.com
@4000000054f865c228bcfa5c status: local 0/10 remote 20/20
@4000000054f865c314f3b754 delivery 80: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f865c314f3d2ac status: local 0/10 remote 19/20
@4000000054f865c316e9ca94 starting delivery 100: msg 4576676 to remote altawirmc@hotmail.com
@4000000054f865c316e9e204 status: local 0/10 remote 20/20
@4000000054f865c324142714 delivery 81: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f865c324143e84 status: local 0/10 remote 19/20
@4000000054f865c324144e24 starting delivery 101: msg 4576869 to remote al.haraish@hotmail.com
@4000000054f865c3241459dc status: local 0/10 remote 20/20
@4000000054f865c3322476c4 delivery 82: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f865c332248e34 status: local 0/10 remote 19/20
@4000000054f865c33335fe34 starting delivery 102: msg 4576348 to remote altawi.alkhumra@yahoo.com
@4000000054f865c33336198c status: local 0/10 remote 20/20
@4000000054f865ef32d8980c warning: trouble opening info/1/4573942; will try again later
@4000000054f865ef32d8af7c warning: trouble opening info/20/4576353; will try again later
@4000000054f865f132d4cf4c warning: trouble opening info/10/4572893; will try again later
@4000000054f865f132d4e2d4 warning: trouble opening info/11/4575010; will try again later
@4000000054f86639370b87a4 delivery 83: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f86639370b9f14 status: local 0/10 remote 19/20
@4000000054f866393852cce4 starting delivery 103: msg 4576360 to remote altawirmc@hotmail.com
@4000000054f866393852e454 status: local 0/10 remote 20/20
@4000000054f8663a28aa454c delivery 84: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8663a28aa5cbc status: local 0/10 remote 19/20
@4000000054f8663a28aa6874 starting delivery 104: msg 4576867 to remote saloum77@gmail.com
@4000000054f8663a28aa7814 status: local 0/10 remote 20/20
@4000000054f8663b14c5b9e4 delivery 85: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8663b14c5d154 status: local 0/10 remote 19/20
@4000000054f8663b152035f4 starting delivery 105: msg 4576289 to remote mohdkelly1985@gmail.com
@4000000054f8663b152189cc status: local 0/10 remote 20/20
@4000000054f8663b23bb4144 delivery 86: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8663b23bb58b4 status: local 0/10 remote 19/20
@4000000054f8663b23fb5b6c starting delivery 106: msg 4576297 to remote al.haraish@hotmail.com
@4000000054f8663b23fb72dc status: local 0/10 remote 20/20
@4000000054f8663b31e7fa64 delivery 87: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000054f8663b31e811d4 status: local 0/10 remote 19/20
@4000000054f8663b31ec0974 starting delivery 107: msg 4576333 to remote altawirmc@hotmail.com
@4000000054f8663b31ec1914 status: local 0/10 remote 20/20



Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #25 on: March 05, 2015, 04:22:06 PM »
try this:

Code: [Select]
signal-event email-update

and check again

are you sure your server is ok (I mean Hds ecc)?

I see these lines.. strange:

Quote
@4000000054f865ef32d8980c warning: trouble opening info/1/4573942; will try again later
@4000000054f865ef32d8af7c warning: trouble opening info/20/4576353; will try again later
@4000000054f865f132d4cf4c warning: trouble opening info/10/4572893; will try again later
@4000000054f865f132d4e2d4 warning: trouble opening info/11/4575010; will try again later

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #26 on: March 05, 2015, 05:59:06 PM »
What this command do and why i write

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #27 on: March 05, 2015, 06:01:23 PM »
the command I suggest you recreates all email related templates (i.e. configuration files) and restart the involved services

did you try it?

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #28 on: March 05, 2015, 06:40:53 PM »
I make this command
but it not give me any response
and i send email but no reached

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #29 on: March 05, 2015, 06:44:08 PM »
ahmedsa: you've been told you have to help us to help you

that command is not supposed to give any output
please check again qmail and qpsmtpd logs (I told you how)

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #30 on: March 05, 2015, 06:55:59 PM »
ok i will check

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #31 on: March 07, 2015, 06:30:43 AM »
Thank you for reply
every thing is work now but sending and receiving is slow
are there are any command to quick send and receive

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: sending and receive email problem
« Reply #32 on: March 07, 2015, 06:41:26 AM »
ahmedsa

Show output of
top -i

htop

These will show the active processes & how much memory & CPU resource is being used, so read the outputs & see if anything obvious there.

Please describe your Internet connection ie ADSL2+ etc, what upload & download speed is your connection rated at.
You can also test the actual performance eg from a workstation behind the server. Google for a suitable (local to your area) speed test site.
« Last Edit: March 07, 2015, 06:45:19 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 CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: sending and receive email problem
« Reply #33 on: March 12, 2015, 05:22:54 PM »
@4000000054f863e324e876a4 delivery 59: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/

This indicates that you have programmed the wrong FQDN or wrong IP address for your ISP's email server.

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #34 on: March 12, 2015, 05:26:43 PM »
This indicates that you have programmed the wrong FQDN or wrong IP address for your ISP's email server.

It could be due to a dns issue..
I remember that in some occasion, without using a dns forwarder, SME "floods" root servers with dns requests.. in such a case, wan connection becomes useless

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: sending and receive email problem
« Reply #35 on: March 12, 2015, 05:27:17 PM »
@4000000054f865ef32d8980c warning: trouble opening info/1/4573942; will try again later
@4000000054f865ef32d8af7c warning: trouble opening info/20/4576353; will try again later
@4000000054f865f132d4cf4c warning: trouble opening info/10/4572893; will try again later
@4000000054f865f132d4e2d4 warning: trouble opening info/11/4575010; will try again later

That probably indicates a qmail queue corruption. Perhaps you deleted some messages from the queue while qmail was running. Or maybe your system crashed or lost power.

Here is some advice I found by googling for the error message you showed us:

Quote
Messages were deleted from the queue while qmail-send was running.
Restart qmail-send and the errors will go away. If the queue is
badly corrupted you may need to run a utility to fix it; search
for for queue-fix or queue_repair in qmail.org. In future don't
manipulate the queue while qmail is running.

You can probably make those messages go away by doing:

sv stop /service/qmail
cd /var/qmail/queue
rm */1/4573942 */20/4576353 */10/4572893 */11/4575010
sv start /service/qmail
« Last Edit: March 12, 2015, 05:31:53 PM by CharlieBrady »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: sending and receive email problem
« Reply #36 on: March 12, 2015, 05:27:45 PM »
It could be due to a dns issue..

Perhaps. There might be more detail in the smtp-auth-proxy log file.

Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #37 on: March 12, 2015, 08:15:03 PM »
Thank you for reply
I think problem not in dns
because it give me test connection successfully in internet access on server
but i think problem between serveres and computeres in network meaning every thing reached until server and after this something prevent server from connect this with another computeres
So that i have two questions
1-why it dns issue and in same time internet access to server is successfully(i showed in test internet access)
2-the code you write above is warning but not error to prevent email send or recieve
so that are there are another reason for problem

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: sending and receive email problem
« Reply #38 on: March 12, 2015, 11:01:35 PM »
ahmedsa

What you "think" does not provide answers.

I suggest you listen to Charlie as he has examined your log files, found multiple errors/problems, & advised you suitable solutions.
Please read again his posts, here
http://forums.contribs.org/index.php/topic,51529.msg262229.html#msg262229
which answers your mail sending problem,

& here
http://forums.contribs.org/index.php/topic,51529.msg262231.html#msg262231
which answers other issues appearing in your log files.
« Last Edit: March 12, 2015, 11:03:13 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: sending and receive email problem
« Reply #39 on: March 13, 2015, 09:59:06 AM »
Thank you for reply
How to get detailes from  smtp-auth-proxy log file.
what command i write to get it
How i know there are wrong in FQDN or wrong ip address of your isp

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: sending and receive email problem
« Reply #40 on: March 13, 2015, 10:21:57 AM »
ahmedsa

Quote
How to get details from  smtp-auth-proxy log file.
what command i write to get it

Look in server manager View log files panel
select
smtp-auth-proxy/current
or an older log file by date/name


Quote
How i know there are wrong in FQDN or wrong ip address of your isp
What is your ISP name so we can check what it should be ? (ie search online or at your ISPs website)
To see what you have set, look in server manager Email panel, under the setting for
Address of Internet provider's mail server

For TPG in Australia it is
mail.tpg.com.au
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: sending and receive email problem
« Reply #41 on: March 13, 2015, 05:17:33 PM »
Thank you for reply
but this settings of isp is not new it is before 4 year
and until now work but sometimes sending problem
and Now we discuss about the reason of problem

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: sending and receive email problem
« Reply #42 on: March 13, 2015, 09:04:13 PM »
ahmedsa

Things can change, ISPs can make changes, there have been many occurrences mentioned in these forums over the years when ISPs have blocked access to ports etc & affected user access.

We are trying to help you discover what the problem is by looking at log file errors that give indications of where the problem is.
It can be a process of elimination.

If you do not provide us with real world answers re your server settings etc, then it is difficult to help you.

There is no point for you to keep discussing or suggesting your theoretical opinions as to why you have problems sending mail etc.
The log files have indicated a problem/error connecting to your ISPs smtp server so we need to investigate why.
Please provide the information requested.

Do you want help or not ?


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: sending and receive email problem
« Reply #43 on: March 14, 2015, 05:20:05 AM »
Thank you for reply
OK i will follow your reply and points.
 let me check and i will post what i found in log file

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: sending and receive email problem
« Reply #44 on: March 14, 2015, 05:55:01 AM »
ahmedsa

Charlie already found something in your log file.
    @4000000054f863e324e876a4 delivery 59: deferral: Connected_to_127.0.0.1_but_gree                                             ting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
This indicates that you have programmed the wrong FQDN or wrong IP address for your ISP's email server.

Please tell us what your ISP's smtp server address is, look in server manager Email panel, under the setting for
Address of Internet provider's mail server

You can also find that at the root prompt by doing
config show SMTPSmartHost

« Last Edit: March 14, 2015, 05:57:36 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: sending and receive email problem
« Reply #45 on: March 14, 2015, 03:09:22 PM »
Thank you for reply
ISP's smtp server address  is altawi.com.sa

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: sending and receive email problem
« Reply #46 on: March 14, 2015, 05:15:32 PM »
ahmedsa

 
Quote
ISP's smtp server address  is altawi.com.sa

Test at wormly.com suggests SMTP Athentication is needed.
Do you have SMTP Authentication enabled/configured on SME server (for mail server connection to other SMTP server) ?

Check the Email Howto & FAQ & Manual for details (links at top of Forum).



Resolving hostname... Connecting... SMTP -> FROM SERVER: 220-webx1.awalnet.com ESMTP Exim 4.82 #2 Sat, 14 Mar 2015 19:01:56 +0300 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. SMTP -> FROM SERVER: 250-webx1.awalnet.com Hello node-mec2.wormly.com [184.72.226.23] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP MAIL FROM: xxxxxx@xxxxx SMTP -> FROM SERVER: 250 OK RCPT TO: xxxxxx@xxxxx SMTP -> FROM SERVER: 550-Please turn on SMTP Authentication in your mail client, or login to the 550-IMAP/POP3 server before sending your message. node-mec2.wormly.com 550-(www.wormly.com) [184.72.226.23]:42404 is not permitted to relay through 550 this server without authentication. SMTP -> ERROR: RCPT not accepted from server: 550-Please turn on SMTP Authentication in your mail client, or login to the 550-IMAP/POP3 server before sending your message. node-mec2.wormly.com 550-(www.wormly.com) [184.72.226.23]:42404 is not permitted to relay through 550 this server without authentication. Message sending failed.
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: sending and receive email problem
« Reply #47 on: March 14, 2015, 05:35:20 PM »
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: sending and receive email problem
« Reply #48 on: March 17, 2015, 01:19:26 PM »
Thank you for reply
please in that reply
-----------
Test at wormly.com suggests SMTP Athentication is needed.
Do you have SMTP Authentication enabled/configured on SME server (for mail server connection to other SMTP server) ?

Check the Email Howto & FAQ & Manual for details (links at top of Forum).



Resolving hostname... Connecting... SMTP -> FROM SERVER: 220-webx1.awalnet.com ESMTP Exim 4.82 #2 Sat, 14 Mar 2015 19:01:56 +0300 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. SMTP -> FROM SERVER: 250-webx1.awalnet.com Hello node-mec2.wormly.com [184.72.226.23] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP MAIL FROM: xxxxxx@xxxxx SMTP -> FROM SERVER: 250 OK RCPT TO: xxxxxx@xxxxx SMTP -> FROM SERVER: 550-Please turn on SMTP Authentication in your mail client, or login to the 550-IMAP/POP3 server before sending your message. node-mec2.wormly.com 550-(www.wormly.com) [184.72.226.23]:42404 is not permitted to relay through 550 this server without authentication. SMTP -> ERROR: RCPT not accepted from server: 550-Please turn on SMTP Authentication in your mail client, or login to the 550-IMAP/POP3 server before sending your message. node-mec2.wormly.com 550-(www.wormly.com) [184.72.226.23]:42404 is not permitted to relay through 550 this server without authentication. Message sending failed.
-----------
what is wrong in my settings and what is the meaning of message

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #49 on: March 17, 2015, 03:12:30 PM »
ahmedsa:

how is your server configurated regarding email delivery? do you use a smarthost?


Offline ahmedsa

  • ****
  • 180
  • +0/-0
Re: sending and receive email problem
« Reply #50 on: March 17, 2015, 03:30:31 PM »
what you mean email delivery configuration
are you mean server configuration or which configuration

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #51 on: March 17, 2015, 03:34:30 PM »
server-manager -> email -> change email delivery settings

do you use an authenticated smarthost?


Offline janet

  • ****
  • 4,812
  • +0/-0
Re: sending and receive email problem
« Reply #52 on: March 17, 2015, 04:46:20 PM »
ahmedsa

Quote
what you mean email delivery configuration
are you mean server configuration or which configuration

Please pay attention to previous posts, you appear to be wasting your & our time.
Please re-read this earlier post
http://forums.contribs.org/index.php/topic,51529.msg262258.html#msg262258

Read that page of the Manual (about server manager Email settings), get the Authentication settings from your ISP, & enter them where the Manual advises. That should probably resolve your problem.

Your ISP has probably changed access to its mail server without necessarily advising you, or you have overlooked that advice.
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: sending and receive email problem
« Reply #53 on: March 17, 2015, 06:55:18 PM »
Thank you for reply
This settings i already do from first
I m not create new server it is already exist in my server and revise it from manual

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sending and receive email problem
« Reply #54 on: March 17, 2015, 07:11:26 PM »
ok.. so everything is as it is ever been, nothing changed and something isn't working, right?

sound strange to me, but you aren't giving us any detail and feedback..
sorry, I can't help you

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: sending and receive email problem
« Reply #55 on: March 17, 2015, 07:13:55 PM »
ahmedsa

As I just said to you in my last post:

"Your ISP has probably changed access to its mail server without necessarily advising you, or you have overlooked that advice."

That is probably why things have changed & are no longer working with your previously used settings.

Please contact your ISP & ask them to provide you with the Authentication settings (ie username & password etc), & then enter these details in the Server Manager Email panel.

The SMTP mail server test seems to support this.
 
I cannot help you any more, you have to do it yourself or get someone to help you who understands English better & who understands SME server & these instructions better than you appear to.


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