Skip to content
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.

Improve handling of errors when sending messages #155

Open
clochix opened this issue Aug 6, 2015 · 4 comments
Open

Improve handling of errors when sending messages #155

clochix opened this issue Aug 6, 2015 · 4 comments

Comments

@clochix
Copy link
Contributor

clochix commented Aug 6, 2015

For now, messages sent from the user often use a wrong send address, displayName-noreply@domain. If the domain is not fully qualified and reachable, lots of email server reject the message. Would it be a privacy concern to use user's email address as the From address ?

If you think there may be privacy concerns, could we add another field in the preferences of the instance, where user can select the from address of this messages, defaulting to displayName-noreply@domain ?

We should also use this address in the reply-to (or sender ? or error-to ? or return path ?) message header, if application doesn't set it, so the rejection message don't get lost in some /dev/null, and users get informed when some message can't be sent.

@ZeHiro
Copy link

ZeHiro commented Aug 7, 2015

Maybe it should be nice to have a reconfiguration of postfix when setting the domain (when it is a self hosted instance)

@clochix
Copy link
Contributor Author

clochix commented Aug 7, 2015

I think we have now a way to distinguish between hosted and self-hosted instances (system env variable HOSTED ?), so we may at least display a link to the documentation on self-hosted instances.

@frankrousseau
Copy link
Contributor

Good idea @clochix

@clochix
Copy link
Contributor Author

clochix commented Aug 10, 2015

Also see #119 : for now, we have the cozycloud domain hardcoded in some mail options.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants