# Reason of having TO equal to FROM address for the "galaxy tool error report" ?

**URL:** <https://help.galaxyproject.org/t/reason-of-having-to-equal-to-from-address-for-the-galaxy-tool-error-report/2868>\
**Category:** Uncategorized\
**Created:** [January 28, 2020, 3:43pm UTC](https://help.galaxyproject.org/t/reason-of-having-to-equal-to-from-address-for-the-galaxy-tool-error-report/2868 "2020-01-28T15:43:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eancelet](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/eancelet/32/7548_2.png) [@eancelet](https://help.galaxyproject.org/u/eancelet)\
**Post date:** [January 28, 2020, 3:43pm UTC](https://help.galaxyproject.org/t/reason-of-having-to-equal-to-from-address-for-the-galaxy-tool-error-report/2868/1 "2020-01-28T15:43:59Z")

</div>

As already discussed [in github](https://github.com/galaxyproject/galaxy/issues/3144), when sending a galaxy tool error report, the TO and FROM address are the same.  
Though it is possible to set an email\_from param in galaxy.yml, it is assigned to error\_email\_to when the report is sent.

> <https://github.com/galaxyproject/galaxy/blob/0fa3ffa01b0d2c2ec542343e064156af94fa50c6/lib/galaxy/tools/errors.py#L243>

I wander why such a behavior. Can anyone tell me ?  
In my case, I have a sender address imposed by the mail server but it is not linked to a real email box. I need to give a different email address as recipient.

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [January 28, 2020, 6:48pm UTC](https://help.galaxyproject.org/t/reason-of-having-to-equal-to-from-address-for-the-galaxy-tool-error-report/2868/2 "2020-01-28T18:48:04Z")

</div>

Hello @eancelet

This is to prevent “email spoofing” as described in the GitHub ticket you referenced.

If you want to ask the developers about this again, you can post to that question for an updated rationale.

Thanks!

---

<div class="post-metadata">

**Author:** ![eancelet](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/eancelet/32/7548_2.png) [@eancelet](https://help.galaxyproject.org/u/eancelet)\
**Post date:** [January 29, 2020, 7:49am UTC](https://help.galaxyproject.org/t/reason-of-having-to-equal-to-from-address-for-the-galaxy-tool-error-report/2868/3 "2020-01-29T07:49:47Z")

</div>

Thanks @jennaj for your response.  
Sorry, I don’t know this subject very well. Is it to prevent “email spoofing” from Galaxy admins or from malicious persons throughout the internet ?

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [January 29, 2020, 5:41pm UTC](https://help.galaxyproject.org/t/reason-of-having-to-equal-to-from-address-for-the-galaxy-tool-error-report/2868/4 "2020-01-29T17:41:54Z")

</div>

@eancelet

The idea is to ensure that a bug report is sent in by the actual person who has control over that registered account.

Now, bug reports themselves are fairly sparse: the error message and a few clues about what is going wrong. Only the account owner themselves or an administrator on that server would be able to make use of that content (for practical reasons like troubleshooting).

---

<div class="post-metadata">

**Author:** ![eancelet](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/eancelet/32/7548_2.png) [@eancelet](https://help.galaxyproject.org/u/eancelet)\
**Post date:** [February 3, 2020, 8:32am UTC](https://help.galaxyproject.org/t/reason-of-having-to-equal-to-from-address-for-the-galaxy-tool-error-report/2868/5 "2020-02-03T08:32:53Z")

</div>

Ok, I understand. Thanks for your reply (and sorry my response is late).
