OwnCloud
-
That is with no specific mail server setup in ownCloud.
<?php $CONFIG = array ( 'instanceid' => '', 'passwordsalt' => '', 'secret' => '', 'trusted_domains' => array ( 0 => 'oc.daerma.com', ), 'datadirectory' => '/home/owncloud/data', 'overwrite.cli.url' => 'http://oc.daerma.com/owncloud', 'dbtype' => 'mysql', 'version' => '8.2.2.2', 'dbname' => '', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => '', 'dbpassword' => '', 'logtimezone' => 'UTC', 'installed' => true, 'maintenance' => false, 'theme' => '', 'loglevel' => 2, 'mail_from_address' => 's', 'mail_smtpmode' => 'php', 'mail_domain' => 'gmail.com', );
-
@JaredBusch That file is empty. This server is only running owncloud. I thought owncloud would log the error somewhere.
-
@alex.olynyk said:
@JaredBusch That file is empty. This server is only running owncloud. I thought owncloud would log the error somewhere.
ownCloud's default log is
/etc/httpd/html/owncloud/owncloud.log
My ownCloud log file is in the data directory
/home/owncloud/data/owncloud.log
, but i have no idea why. Might just be how ownCloud does it when you use a non default data directory. -
I just changed my settings to smtp and put in my gmail creds (and enabled less secure apps in gmail)
-
@alex-olynyk You have SSL enabled in the ownCloud settings, but you are telling it to use port 25. That is completely non-standard. I would say check your hosts settings for remote SMTP.
-
@JaredBusch I disabled SSL and now I get this.
-
@alex.olynyk well, do so.
-
@JaredBusch I did and it reads E-mail Sent with a green button but when I try to share a link and e-mail myself still reads could not send e-mail? Anything else I can check?
-
When I login to my webmail I see its on port 2095. Do I need to add that port in config.php and OC?
-
this is the error
-
Webmail is not SMTP.
You need to contact your provider and ask them how to setup a device to send SMTP.
-
@JaredBusch said:
@scottalanmiller said:
@alex.olynyk said:
Thanks guys. I see no way of adding a users e-mail address to their account. How can I notify them that a file has been shared with them?
There is a way, that's how it is supposed to work. The system has to do the notifications via email itself.
Actually, there is not. It is a huge failing from an admin point of view.
Users have to set their email address themselves.
The only way for an admin to do it is via the MySQL/MariaDB command line directly.
I guess one could write a script to do it.
Yep, I found this to be the case as well. It makes no sense from an enterprise/business point of view why this field can't be edited.
-
@coliver said:
@JaredBusch said:
@scottalanmiller said:
@alex.olynyk said:
Thanks guys. I see no way of adding a users e-mail address to their account. How can I notify them that a file has been shared with them?
There is a way, that's how it is supposed to work. The system has to do the notifications via email itself.
Actually, there is not. It is a huge failing from an admin point of view.
Users have to set their email address themselves.
The only way for an admin to do it is via the MySQL/MariaDB command line directly.
I guess one could write a script to do it.
Yep, I found this to be the case as well. It makes no sense from an enterprise/business point of view why this field can't be edited.
Other than it's not enterprise ready yet.
-
I also get this message
but I can login to CentOS and ping google and other sites. -
@alex.olynyk said:
I also get this message
but I can login to CentOS and ping google and other sites.Mine has always said that. Never bothered to troubleshoot the reason.
-
The From To address field had to be a valid address. Its working now. Thanks everyone.
-
@alex.olynyk said:
The From To address field had to be a valid address. Its working now. Thanks everyone.
Glad you found a solution. Learn stuff in this thread.
-
@alex.olynyk said:
The From To address field had to be a valid address. Its working now. Thanks everyone.
That was a restriction of your SMTP server, not ownCloud.