This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

can not send email - SMTP error on roundcube
#1
[Solved] can not send email - SMTP error on roundcube
Hi,
First: there's no or very little info about email server in Sentora documentation. Maybe becuz we can go directly to Dovecot, etc... to get support.

I'm using roundcube... I can loggin but when I press to send I get this error:
[img][Image: error_mailserver.jpg][/img]
Quote:Which means: An error has ocurred! Error SMTP (-1): Server connection has failed
I went to Admin > Sentora Config and I put by mistake something in SMTP Server field... I deleted and saved my change, but Sentora does not accept the change... it's still there what I wrote. Then I tried leaving in blank but is not taking the change. Is there any file where I can go set up this?

Then, I went to:
/etc/sentora/panel/etc/apps/webmail/config/config.inc.php
In SMTP server is written: 'localhost'... not the one I wrote.
Is this the correct file to set up email server config.?

I can not receive email as well.

Why Sentora is not getting my changes? Huh
Reply
Thanks given by:
#2
[Solved] RE: can not send email - SMTP error on roundcube
I'm not sure why Sentora is not saving your settings in admin > config, but you can manually edit the table x_settings for the config. Roundcube's config.inc.php needs to be edited manually, it does not get changed by Sentora.
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:
#3
[Solved] RE: can not send email - SMTP error on roundcube
Thanks for your answer.
I made the change in x_settings but it didn't solve the problem or maybe it wasn't related to that.
I opened the ports 25 and 465 in iptables to allow smtp server but my Ubuntu does not open really.. I telnet but it shows connection refused...
   
Here you see the ports.

I really don't know what to do because I'm getting the same error. Sad
Reply
Thanks given by:
#4
[Solved] RE: can not send email - SMTP error on roundcube
Now it's partially solved.
I can send (unfortunately it falls in the spam box) but I can not receive.

What I did is:
Code:
sudo dpkg-reconfigure postfix
And follow the instructions.
This solved the problem of the port, but not the smtp server.
For smtp I edited /etc/postfix/main.cf file with:
Quote:smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes

I can send but not receive.
Reply
Thanks given by:
#5
[Solved] RE: can not send email - SMTP error on roundcube
Is there anything in the log files showing what is hoinh on when an incoming email is received?
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:
#6
[Solved] RE: can not send email - SMTP error on roundcube
(08-11-2016, 01:24 AM)TGates Wrote: Is there anything in the log files showing what is hoinh on when an incoming email is received?

Sorry for my delay on answering, but first I went to check SPF, DKIM, etc records and set up.
Now, everything is OK, but I still can not receive emails.

I also checked all the logs in Dovecot, mail, Sentora, etc but nothing in there to give me hints about what's happening.
I did a mail-tester.com and I got a score of 6.8, which is good.

Sending a test email from my Gmail I got this:
Quote:Delivery to the following recipient failed permanently:

info@tld.com

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain tld.com by mail.tld.com. [x.x.x.x].

The error that the other server returned was:
554 5.7.1 <info@tld.com>: Relay access denied


Which other logs do I need to check to find info about what could be the issue?
Reply
Thanks given by:
#7
[Solved] RE: can not send email - SMTP error on roundcube
There are a few reason why this could happen. I took a peek on Google (since I am still learning the ins-and-outs of *nix email systems) and it could be improper MX records, email address blocked, spam blocking, etc. Google: The error that the other server returned was: 554 5.7.1: Relay access denied

Not much help from me Sad
But there are a lot of reasons for it and you will need to read through them and check your settings. The first one (Bob Cares?) seems to have several solutions.
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:
#8
[Solved] RE: can not send email - SMTP error on roundcube
Ok. Let me go through the process... I'll let you know what I got.
Thanks.
Reply
Thanks given by:
#9
[Solved] RE: can not send email - SMTP error on roundcube
Ok, great. Yeah, there was a lot of reasons :Sad
Good luck!
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:
#10
[Solved] RE: can not send email - SMTP error on roundcube
I know this is old post and marked as not resolved, but, digging around I found a solution which resolved my issue with SMTP error:

I have modified this file:

/etc/sentora/configs/roundcube/roundcube_config.inc.php


replace this line:

$config['smtp_user'] = '%u';

to

$config['smtp_user'] = '';

and replace this line:

$config['smtp_password'] = '%p';

to 

$config['smtp_password'] = '';

// NOTE: '' is TWO ' , and this is not a single " symbol.

Spent 2 weeks re-installing and modifiying configs, but by the end, changes above fixed "smtp error (535) authentication failed" issue.... Yay.... Hope it will help others.

Angel
Reply
Thanks given by: TGates , wormsunited


Possibly Related Threads...
Thread Author Replies Views Last Post
Webmail Send / Receive works but Outlook doesn't | Digital Ocean dipakcg 12 13 935 04-17-2020, 04:52 PM
Last Post: iraqiboy90
suhosin.session.encrypt error With Https MET4LG0D 7 15 142 04-05-2020, 09:38 PM
Last Post: iraqiboy90
Dovecot Error Help Please! Feilding Weather 2 907 03-14-2020, 08:36 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)