-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email invitation for events should come from the user's email address, not server's [$20] #25470
Comments
@georgehrke interested in having a look? THX |
I think you have this covered but just in case you weren't aware this issue impacts Thunderbird users when Thunderbird/Lightning calendars sync with ownCloud: The email address that Thunderbird (TB) is using for calendar invitations is the server level email address for ownCloud, not the email address of the calendar owner on ownCloud, and not the email address set in the calendar settings in Thunderbird. Indeed in my case the email address that is being used is not even set up in TB. This makes no sense and recipients of calendar invitations get emails from a completely unknown address. Surely this is not what TB or ownCloud intends? |
Hate bumping this @georgehrke but this makes invites unusable, and I really don't want to switch to nextcloud... |
Some email providers won't like this and will ban the server which sends the notification. A better solution would be to show in the From header : |
Are you assuming that the user account specifies an email from a different domain (one for which the server is not authorized to send mail), or from an email that doesn't exist? Both of those are abuse scenarios, no?. It's the OC administrator's job to make sure that the server is authenticated to send emails from whatever domain(s) users use. Your suggestion does not work in the case of multi-domain OC installations. Why would you not just send the email from the user account's email? |
well - the owncloud server cannot access the users mail account (smtp server to be precise). |
Correct, yes, by that I meant via the e.g. postfix server configured on the box. I'm not sure why you're concerned with whether or not a functional message will bounce, when we know that what we're sending right now is not functional (there's no point in sending out calendar invites from [email protected])? If it's rejected by the outbound mail server, then the admin needs to change their mail config or mail server. |
552/5000 |
Moving to backlog since no one seems to be working on this right now. Let me know otherwise. |
Suggestion here: #29093 (comment) |
Fully quoting the the above suggestion #29093 (comment) in here:
|
Another possibility: For me owncloud does not need to send event invites. My users have Thunderbird and send their invites and mails direct from Thunderbird. So they see outgoing and sent mails - owncloud is just used as a service to synchronize between users, groups and their devices. |
@amnesiemaniac This is certainly a valid use case -- but in our layout, we use web-based ownCloud, and smartphone clients. It would be helpful maybe if Calendar proposed a user-level setting (SMTP details) for example, to be used by Send Invite feature. I'm currently learning the project's code-base, to check if this is any feasible. |
There are many use cases for owncloud in different flavors. |
@DeepDiver1975 please change label from enhancement to bug. This bug is already existing and nobody is looking at it |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io. |
Hi, what is the current state? |
@git-darius Didn't have any time to investigate, unfortunately. I hope someone will come up with a patch :) |
Still no solution for this? |
To solve the problem described here owncloud#25470
Hi, editing the file https://github.com/owncloud/core/blob/master/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php and adding the instruction |
Would you please create a pull request? |
@drohhyn I added a pull request. |
will be released in 10.2 |
Hello This change causes my mail server to refuse sending mail.
Regards. |
Steps to reproduce
Using OC 9.0.3 + Calendar 1.2.2, invite someone to calendar event.
The outbound email "From" address shows as the server from, configured in
Admin-->Email Server-->From Address.
The email should come from the user's configured email address, not the server. This is especially confusing when the OC instance is host for a number of unrelated domains.
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
Server configuration
Operating system:
Ubuntu 14.04
Web server:
Apache 2.4.7
Database:
MariaDB 10.0.26
PHP version:
php 5.5.9
ownCloud version: (see ownCloud admin page)
9.0.3
Contacts version: (see ownCloud apps page)
1.3.1.0 (calendar = 1.2.2)
Updated from an older ownCloud or fresh install:
Updated from 8.2.2
Signing status (ownCloud 9.0 and above):
No errors have been found.
List of activated apps:
Enabled:
activity: 2.2.1
calendar: 1.2.2
comments: 0.2
contacts: 1.3.1.0
dav: 0.1.6
federatedfilesharing: 0.1.0
federation: 0.0.4
files: 1.4.4
files_pdfviewer: 0.8.1
files_sharing: 0.9.1
files_texteditor: 2.1
files_trashbin: 0.8.0
files_versions: 1.2.0
files_videoplayer: 0.9.8
gallery: 14.5.0
notifications: 0.2.3
provisioning_api: 0.4.1
systemtags: 0.2
tasks: 0.8.1
updatenotification: 0.1.0 Disabled:
bookmarks
encryption
external
files_antivirus
files_external
firstrunwizard
news
notes
templateeditor
user_external
user_ldap
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
Client configuration
Browser:
Chrome / Safari
Operating system:
OS X El Cap
CalDAV-clients:
Logs
Web server error log
N/A
ownCloud log (data/owncloud.log)
N/A
Browser log
N/A
The text was updated successfully, but these errors were encountered: