OwnCloud
-
Here is the message I get when I try e-mailing myself.
Does my config look correct? -
@alex.olynyk said:
@JaredBusch 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?
Notification settings are also a user configuration piece.
So the user sets up their e-mail address upon their first login to ownCloud?
Unfortunately, no. There is nothing that makes a user go to the settings screen and add an email address.
Edit: This is in regards to the self hosted solution. I have no experience with what their paid hosted solution does.
-
@alex.olynyk said:
Here is the message I get when I try e-mailing myself.
Does my config look correct?Have you conrrectly configured your ownCLoud server to send email?
https://doc.owncloud.org/server/6.0/admin_manual/configuration/configuration_mail.html
-
did you add that second image while i was posting? I did not see it the first time i read the message
-
Which Log file in CentOS can I look at to find out why I cant e-mail?
-
/var/log/messages
/var/log/maillog -
But, I thought that you were emailing from another server, not from the one that you are on.
-
@scottalanmiller I am. Our e-mail server is hosted.
-
@alex.olynyk said:
@scottalanmiller I am. Our e-mail server is hosted.
I have port 25 blocked on my firewall, so for me
tail -f /var/log/maillog
results in:
[root@oc-jared log]# tail -f /var/log/maillog Feb 22 12:44:32 oc-jared postfix/smtp[6795]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400d:c02::1b]:25: Network is unreachable Feb 22 12:44:52 oc-jared postfix/pickup[6217]: 3AC56C0BC00A: uid=48 from=<[email protected]> Feb 22 12:44:52 oc-jared postfix/cleanup[6793]: 3AC56C0BC00A: message-id=<[email protected]> Feb 22 12:44:52 oc-jared postfix/qmgr[2174]: 3AC56C0BC00A: from=<[email protected]>, size=527, nrcpt=1 (queue active) Feb 22 12:45:02 oc-jared postfix/smtp[6795]: connect to alt1.gmail-smtp-in.l.google.com[173.194.205.26]:25: Connection timed out Feb 22 12:45:22 oc-jared postfix/smtp[6807]: connect to gmail-smtp-in.l.google.com[74.125.126.26]:25: Connection timed out Feb 22 12:45:22 oc-jared postfix/smtp[6807]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4001:c1d::1a]:25: Network is unreachable Feb 22 12:45:22 oc-jared postfix/smtp[6807]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400d:c02::1b]:25: Network is unreachable Feb 22 12:45:32 oc-jared postfix/smtp[6795]: connect to alt2.gmail-smtp-in.l.google.com[173.194.211.26]:25: Connection timed out Feb 22 12:45:32 oc-jared postfix/smtp[6795]: 672DBC0BBFF7: to=<[email protected]>, relay=none, delay=90, delays=0.04/0.01/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[173.194.211.26]:25: Connection timed out) Feb 22 12:45:52 oc-jared postfix/smtp[6807]: connect to alt1.gmail-smtp-in.l.google.com[173.194.205.26]:25: Connection timed out Feb 22 12:46:22 oc-jared postfix/smtp[6807]: connect to alt2.gmail-smtp-in.l.google.com[173.194.211.26]:25: Connection timed out Feb 22 12:46:22 oc-jared postfix/smtp[6807]: 3AC56C0BC00A: to=<[email protected]>, relay=none, delay=90, delays=0.02/0.01/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[173.194.211.26]:25: Connection timed out)
-
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.