Email Notifications not working

Ask all your questions regarding OC 9.0 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
Gekkai
Newbie
Posts: 2
Joined: Mon May 23, 2016 3:05 pm
ownCloud version: 9.0.1
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 7.0.4-7ubuntu2

Email Notifications not working

Postby Gekkai » Wed Jul 20, 2016 2:31 pm

Steps to reproduce
1. Personal settings -> Activity: Tick every Mail-Notification-Checkbox
2. Create/Delete/Change files and folders

Expected behaviour
Receiving an email with changes done to the files and folders

Actual behaviour
Receiving no email

Server configuration
Operating system: Ubuntu 16.04 LTS (GNU/Linux 4.4.0-22-generic x86_64)
Web server: Apache/2.4.18 (Ubuntu) - 2.4.18-2ubuntu3.1
Database: MariaDB 10.0.25-0ubuntu0.16.04.1
PHP version: PHP 7.0.4-7ubuntu2.1
ownCloud version (see ownCloud admin page): ownCloud 9.0.3 (stable)
Updated from an older ownCloud or fresh install: 9.0 fresh install, 9.0.1 and 9.0.3 updated
ownCloud log (data/owncloud.log): http://pastebin.com/raw/BNhuu5Em

Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):
Separate hard drive mounted in /.../data, ownCloud Test email working

Possible cause:
{"reqId":"w7iRpVG1Y6XyQYs6rogn","remoteAddr":"1.2.3.1","app":"sharing","message":"Can't send mail to inform the user about an internal share: Address in mailbox given [@] does not comply with RFC 2822, 3.6.2.
","level":3,"time":"2016-06-07T18:31:48+02:00","method":"POST","url":"\/core\/ajax\/share.php","user":"comp"}

tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: Email Notifications not working

Postby tflidd » Wed Jul 20, 2016 4:16 pm

Did you set a valid e-mail address for this user? The message implies that you haven't. On the admin page you can as well send a test mail to verify your configuration, does that work?

Gekkai
Newbie
Posts: 2
Joined: Mon May 23, 2016 3:05 pm
ownCloud version: 9.0.1
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 7.0.4-7ubuntu2

Re: Email Notifications not working

Postby Gekkai » Wed Jul 20, 2016 5:20 pm

We did set a valid (and existing) address in the form of a.user@domain.com for the user and did verify the mail settings by sending a test mail which we received within seconds.

Perhaps the log excerpt with the error message I posted is unrelated after all. We updated to 9.0.3 a couple of days ago, tested it, haven't received a notification email and nothing shows up in the logs.

tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: Email Notifications not working

Postby tflidd » Wed Jul 20, 2016 5:39 pm

So if you clear the logfiles and you try it again there are no new entries? Do you have access to the mailserver and check if the mail was blocked? Increase the owncloud-loglevel to debug.


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 9.0”

Who is online

Users browsing this forum: No registered users and 1 guest