ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    OwnCloud

    IT Discussion
    owncloud
    7
    39
    6.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch @alex.olynyk
      last edited by

      @alex.olynyk said:

      0_1456165057444_Capture.PNG 0_1456165060989_mail.PNG

      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

      1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch
        last edited by

        did you add that second image while i was posting? I did not see it the first time i read the message

        1 Reply Last reply Reply Quote 0
        • alex.olynykA
          alex.olynyk
          last edited by

          Which Log file in CentOS can I look at to find out why I cant e-mail?

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by scottalanmiller

            /var/log/messages
            /var/log/maillog

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              But, I thought that you were emailing from another server, not from the one that you are on.

              alex.olynykA 1 Reply Last reply Reply Quote 0
              • alex.olynykA
                alex.olynyk @scottalanmiller
                last edited by

                @scottalanmiller I am. Our e-mail server is hosted.

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @alex.olynyk
                  last edited by JaredBusch

                  @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)
                  
                  alex.olynykA 1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch
                    last edited by

                    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',
                    );
                    
                    1 Reply Last reply Reply Quote 0
                    • alex.olynykA
                      alex.olynyk @JaredBusch
                      last edited by

                      @JaredBusch That file is empty. This server is only running owncloud. I thought owncloud would log the error somewhere.

                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @alex.olynyk
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch
                          last edited by

                          I just changed my settings to smtp and put in my gmail creds (and enabled less secure apps in gmail)

                          0_1456168163860_upload-ae2d5a9b-ddf9-4511-b02d-0e22c8d7e57c

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch
                            last edited by

                            @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.

                            alex.olynykA 1 Reply Last reply Reply Quote 0
                            • alex.olynykA
                              alex.olynyk @JaredBusch
                              last edited by

                              @JaredBusch I disabled SSL and now I get this. 0_1456168608664_Capture.PNG

                              JaredBuschJ 1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @alex.olynyk
                                last edited by

                                @alex.olynyk well, do so.

                                alex.olynykA 1 Reply Last reply Reply Quote 0
                                • alex.olynykA
                                  alex.olynyk @JaredBusch
                                  last edited by

                                  @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?

                                  1 Reply Last reply Reply Quote 0
                                  • alex.olynykA
                                    alex.olynyk
                                    last edited by

                                    When I login to my webmail I see its on port 2095. Do I need to add that port in config.php and OC?

                                    1 Reply Last reply Reply Quote 0
                                    • alex.olynykA
                                      alex.olynyk
                                      last edited by

                                      0_1456169447457_Capture.PNG this is the error

                                      1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch
                                        last edited by

                                        Webmail is not SMTP.

                                        You need to contact your provider and ask them how to setup a device to send SMTP.

                                        1 Reply Last reply Reply Quote 1
                                        • coliverC
                                          coliver @JaredBusch
                                          last edited by

                                          @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.

                                          DashrenderD 1 Reply Last reply Reply Quote 0
                                          • DashrenderD
                                            Dashrender @coliver
                                            last edited by

                                            @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.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post