Koozali.org: home of the SME Server

Obsolete Releases => SME 8.x Contribs => Topic started by: globalsi on April 04, 2014, 04:38:30 PM

Title: [SOLVED] sme8 egroupware can't sent message : smtp error
Post by: globalsi on April 04, 2014, 04:38:30 PM
Hi,

I have a problem with egroupware 1.8 on my SME 8.1 (64bits).
The installation (http://wiki.contribs.org/Egroupware) was clean, no problems  8-)

Via the webmail (horde), I can send an email from user1@domain1.aaa to user2@domaine2.bbb.  8-)
Via egroupware, I can't send this message : "smtp error: could not connect to SMTP host."  :-(

Do you have any idea what's wrong ?

Thank's for help.

----
Edit : oops, wrong folder, this topic must be under sme8/contribs. Can a admin move this topic ? thks.
Title: Re: sme8 egroupware can't sent message : smtp error
Post by: Stefano on April 04, 2014, 05:16:07 PM
moving to SME 8.x Contribs as requested
Title: Re: sme8 egroupware can't sent message : smtp error
Post by: janet on April 04, 2014, 07:27:06 PM
globalsi

The error message is the clue.
IIRC go into the admin user config screens in egroupware & configure the global &/or per user global smtp server settings.
Look & you will find it. Been a while since I used it so cannot be more specific, other than to say you really need to set egroupware up correctly & thoroughly before using it. Installation of the contrib is really step 1.
Title: Re: sme8 egroupware can't sent message : smtp error
Post by: globalsi on April 07, 2014, 11:59:02 AM
Hi,

thks for your post.

I think i have a correct configuration in https://myipsmeserveur/egroupware/setup/config.php :
hostname or IP adress of POP/IMAP mail server :    localhost
Mail server protocol:    IMAP
login type to  mail server:    standard
Domain email (for Virtual mail manager):    myrealdomain.com
hostname or IP adress for SMTP server:    localhost
port SMTP server:    587
user for SMTP 'authentification (empty if authentification isn't required):    
password for SMTP authentification:    



THe configuration of SME https://myipsmeserveur/server-manager/  Configuration/E-mail/ e-mail delivery settings/SMTP server is :
Address of Internet provider's mail server    :
SMTP Authentication for Internet provider    :Disabled
Mail server user id    :
Mail server password    :


So i don't undertstand why i can send email from the webmail horde et not from egroupware... :(
Title: Re: sme8 egroupware can't sent message : smtp error
Post by: janet on April 07, 2014, 12:28:22 PM
globalsi

You have just told egroupware where to find the mail server.

IIRC login to egroupware as the admin user or a user with admin rights.
Then go into the admin user config screens in egroupware & configure the global &/or per user global smtp server settings.
Title: Re: sme8 egroupware can't sent message : smtp error
Post by: globalsi on April 07, 2014, 01:22:28 PM
ok janet,

I login to egroupware as the admin user
I go to admin/emailadmin (https://myipsmeserver/egroupware/index.php?menuaction=emailadmin.emailadmin_ui.index)
I can see the default profile created by setup :

ID : 1
Description : default profile (created by setup)
Domain name : myrealdomain.com
SMTP server ,ame : localhost
SMTP Server Type : Serveur SMTP standard
SMTP Server Port : 587
IMAP server name : localhost
IMAP Server Type : Serveur IMAP standard
Port IMAP : 143
IMAP Server Login Type : Standard
Application : any applications
Group :
User :
Order :
Active    : 1

When I edit the profile, i can see in SMTP tab :
Select type of SMTP server : Standard SMTP server (emailadmin_smtp)
SMTP settings
SMTP server hostname or IP address    : localhost
SMTP server port    : 587
SMTP authentication
Use SMTP authentication    : No
Send using this email address    
Username    
Password

i can't see where something is wrong...  :-x :-x :-x
Title: Re: sme8 egroupware can't sent message : smtp error
Post by: Frank VB on April 07, 2014, 02:24:54 PM
Try setting the smtp server port to 0 (instead of 587). My configuration is set in that way.
Title: Re: sme8 egroupware can't sent message : smtp error
Post by: globalsi on April 07, 2014, 02:45:04 PM
yes !
well done Frank VB ! and thank you  :-)

This is ok now.

It would be great to add this tips in the wiki no ?