Koozali.org formerly Contribs.org

relaying denied when send message from outlook by sme server

Re: relaying denied when send message from outlook by sme server
« Reply #15 on: April 30, 2015, 04:27:00 PM »
it logged with admin user

Offline janet

  • ****
  • 4,812
Re: relaying denied when send message from outlook by sme server
« Reply #16 on: April 30, 2015, 07:56:10 PM »
ahmedsa

Quote
it logged with admin user

So by that I understand you mean you can login to webmail OK (on your sme server) using the admin name & password.
If another user cannot login to webmail, please check you have added that user in server manager User panel & check or correct their password.

Using webmail can you send email to external accounts OK (eg to yahoo or gmail accounts) ?
Using webmail can you receive email messages from external accounts (eg yahoo or gmail accounts) ?

Using webmail can you send mail to another user on sme server ?
Using webmail can you receive mail from another user who is using webmail to send to your sme server user (ie user@yourdomain) ?
Add additional users & login as them to check this.

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

Re: relaying denied when send message from outlook by sme server
« Reply #17 on: April 30, 2015, 08:57:30 PM »
Thank you for reply
Im sorry for wrong thing i write
No access webmail by admin or my user account
already i open this link
https://altawi.com.sa/webmail
it is show user name and password
i write my user name and password of admin or my account
it cannot open im sure it is enabled from myserver
i try with user of cpanel
it is open and i can access webmail
but this account not found in mailserver
i try to send
it give me 550 relay error
what i do now
based on your suggestions i try to make another server with sme 8.0
and when i make my setting of outlook to send email
it gie me message error rely 550

Offline Stefano

  • *
  • 10,805
  • Skype account: maghissimo
    • Smeserver italian community
Re: relaying denied when send message from outlook by sme server
« Reply #18 on: April 30, 2015, 09:10:52 PM »
cpanel?
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Offline janet

  • ****
  • 4,812
Re: relaying denied when send message from outlook by sme server
« Reply #19 on: April 30, 2015, 09:59:17 PM »
ahmedsa

I am guessing you have your sme server setup incorrectly & external DNS & MX records also not configured appropriately, or certainly not configured as we would expect them to be. Something seems wrong about everything you are doing, & it also seems your knowledge & understanding is poor.
I suspect you are also confusing access to your sme server & webmail with access to your ISP & their webmail system.

Please show ALL the details displayed in your sme server Server Manager, Review Configuration panel


What if you try access to your sme server webmail using
https://78.93.244.61/webmail

Quote
i try with user of cpanel
it is open and i can access webmail
but this account not found in mailserver

cpanel is something your ISP offers to access your services & hosting etc that they give you on their external server (not on your sme server)
SME server does not have a cpanel, so you are not accessing anything on sme server when you open the cpanel.

When I try to access
https://altawi.com.sa/webmail
it forwards me to
webx1.awalnet.com:2096
which appears to be your ISP's website webmail.
That is an external service & has NOTHING to do with your sme server.

When I open a browser to
http:/altawi.com.sa
I get the altawi site showing a photo of cement truck & pump etc, so I gather this is your hosted website on your ISPs web server

When I open a browser to
http://http://78.93.244.61/
I get
This web site is under construction
(which appears to be the default site page on a sme server)
so I assume this is accessing your real sme server.

When I open a browser to
https://78.93.244.61/webmail
I get the Welcome to Horde message, which is the sme servers webmail system.

So it seems your external DNS is directing your web URL to a hosted site rather than to your sme server.
That is why you are having all this trouble accessing & doing things.

You need to advise us how you prefer this to be all set up & what access you want to your server eg via web URL or email only or whatever.

At the moment I suggest you just use your servers external IP to access it
ie
https://78.93.244.61
&
https://78.93.244.61/webmail

Also you should use that URL in your email clients for address of sme server SMTP server & IMAP server
ie
https://78.93.244.61
« Last Edit: April 30, 2015, 10:01:58 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Re: relaying denied when send message from outlook by sme server
« Reply #20 on: May 01, 2015, 12:28:48 AM »
Thank you for reply
https://78.93.244.61/webmail
I enter my account in sme server
user name and password
it open my account and not have message
it is empty send or inbox
after this i send email to my yahoo email
but not send
and not give any error to failed in my yahoo mail

Offline janet

  • ****
  • 4,812
Re: relaying denied when send message from outlook by sme server
« Reply #21 on: May 01, 2015, 02:26:04 AM »
ahmedsa

You need to look in the mail system log files to see what happened to the message
eg
/var/log/qpsmtp/current
& sqpsmtpd/current
and
qmail/current
View log files panel in server manager

Try to send a message to yourself
eg ahmedsa@altawi.com.sa
(or whatever your username is)

Please also provide all details from Review configuration panel in server manager. We need to know these so we can understand your system configuration.

Show us the output of
config show SMTPSmartHost

db domains show

Also describe the network your sme server is attached to, is sme the gateway ? Is sme server configured in server & gateway mode ? Is your modem/router in bridged mode ? Is there another firewall between sme server & the Internet? Are you part of a larger corporate network ?
« Last Edit: May 01, 2015, 02:40:57 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Re: relaying denied when send message from outlook by sme server
« Reply #22 on: May 02, 2015, 09:16:34 AM »
Thank you for reply
all data and details found in this link
https://www.mediafire.com/?8or87hpi5e5xnjt

Offline janet

  • ****
  • 4,812
Re: relaying denied when send message from outlook by sme server
« Reply #23 on: May 02, 2015, 06:05:16 PM »
ahmedsa

Quote
...data and details found in this link
https://www.mediafire.com/?8or87hpi5e5xnjt

OK so your sme server mail system (when using webmail) appears to be working OK, sme can send & receive locally & externally.
The issue is that sending to external addresses take a longtime (a day or so).

As you have set your ISP's smtp server to deliver mail via, then that means delays are probably happening at your ISP's mail server.
You need to speak to them to ask why it is taking so long for them (their mail server) to deliver your mail to yahoo & gmail accounts etc.
This does not appear to be an sme server issue.

You should more thoroughly check your log files to identify the time & date that mail was sent from your server.
Use a command like
tail -f /var/log/qpsmtpd/current | tai64nlocal
tail -f /var/log/sqpsmtpd/current | tai64nlocal

Look for the time in the logs when you actually sent a message on your sme server webmail system & see what happens to it.

You should also be able to see some of these time/date details in the header of the received message (at yahoo account), you can see the mail servers that the message passed through & the time & date the message arrived & was dispatched etc, & therefore determine how long it took (or waited) at a particular mail server (eg your ISP's) or even when it was really sent by your sme server.

You can see this english date/time format format when using server manager View log files panel.

You can try removing the ISP's smtp server address ie the SMTPSmartHost setting would be blank, which means your sme servers mail server will send directly to other mail servers connected to the Internet. In this case the integrity of your domain becomes under question, as other mail servers will run checks such as spf, reverse DNS (ptr) & other tests, & may filter or block mail from your server if the credentials of your server do not match strict standards (this is to prevent spammers using their own mail servers).

It is worth a try to send directly to other mail servers (and not via your ISP's smtp server), to see if mail delivery to yahoo & gmail is any faster, but you should read the following notes
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Appendix
ie about PTR & SPF records
& if you have problems you may need to get your ISP to configure some of these settings for you eg spf, ptr & so on.

This error is of concern, but which transaction does it relate to ?
Getting the log file output in date & time format will give more useful info & allow you to correlate with when you send a particular email message.

@400000005543aae52d4c9884 delivery 2648: deferral:
Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP
_server_not_available/
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Re: relaying denied when send message from outlook by sme server
« Reply #24 on: May 05, 2015, 08:29:43 PM »
Thank you for reply
I remove smtp and leave it blank
and make it disabled
then try to send
it is ok sending qucikly to outside domain
problem solved by this way but until now we dont know what is the problem actually
I call isp it tell me
it tell me your ip in blacklist and we remove it
and the following reply for me
We remove you IP from our Firewall Black list , issue escalated to our Administrator Dept .
78.93.244.61 # lfd: (pop3d) Failed POP3 login from 78.93.244.61 (SA/Saudi Arabia/mserver.altawi.com.sa): 10 in the last 3600 secs -

and i notice in log file more error like this
ain later
@4000000055490a9c1f906fcc warning: trouble opening info/10/4572893; will try again later
@4000000055490a9c1f90873c warning: trouble opening info/20/4576353; will try again later
@4000000055490a9c1f9092f4 warning: trouble opening info/1/4573942; will try again later
Are this will be related to delay send email
and how to solve

Re: relaying denied when send message from outlook by sme server
« Reply #25 on: May 05, 2015, 09:10:25 PM »
@4000000055490a9c1f906fcc warning: trouble opening info/10/4572893; will try again later
@4000000055490a9c1f90873c warning: trouble opening info/20/4576353; will try again later
@4000000055490a9c1f9092f4 warning: trouble opening info/1/4573942; will try again later

These messages indicate that your qmail queue is corrupted. That could be due to file system corruption, but is more likely to have occurred by an admin meddling in an effort to purge some messages from the queue.

You've already been told this before. And you've already been told how to fix the problem.

http://forums.contribs.org/index.php?topic=51574.0

Re: relaying denied when send message from outlook by sme server
« Reply #26 on: May 07, 2015, 02:01:03 PM »
I make this command above to repair hard disk and repair directory and also problem still exist sending may be take more time as one day per sending email
I make as your suggestion and leave SMTP is blank in email delivery settings
AND now already send without problem
but the main problem not solve
are disabled smtp is good solutions 
are any suggestion to solve the problem

Offline Stefano

  • *
  • 10,805
  • Skype account: maghissimo
    • Smeserver italian community
Re: relaying denied when send message from outlook by sme server
« Reply #27 on: May 07, 2015, 02:09:43 PM »
ahmedsa: if you already cleaned your email queue in the suggested way and you're still experiencing the same issue, you should investigate on it.

usually, to check/edit qmail queue, I use this contrib:

http://wiki.contribs.org/Qmhandle_mail_queue_manager

Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Re: relaying denied when send message from outlook by sme server
« Reply #28 on: July 14, 2015, 12:16:11 AM »
I have seen 'relaying denied ' messages when the SME server was using the ISP email system.  Horde works fine, but Outlook and other clients cannot be set to use the SME smtp service, they have to be set to the same ISP smtp settings as the SME server.   Often involved installing stunnel on PC's too.
...

Re: relaying denied when send message from outlook by sme server
« Reply #29 on: July 14, 2015, 09:54:06 PM »
I have seen 'relaying denied ' messages when the SME server was using the ISP email system.  Horde works fine, but Outlook and other clients cannot be set to use the SME smtp service...

If you have applied all available updates and see that problem, you should report details of your problem via the bug tracker so that we can investigate and fix the problem. Make sure that you have configured Outlook and the other clients correctly; they need to enable encryption and authentication.

http://wiki.contribs.org/SME_Server:Documentation:User_Manual:Chapter2