# リプライ用メールアドレスを差出人として設定したスパム

**URL:** <https://meta.discourse.org/t/spam-with-from-address-set-to-reply-by-email-address/87786>\
**Category:** Product Support\
**Created:** [2018 年 5 月 17 日午後 11:20 UTC](https://meta.discourse.org/t/spam-with-from-address-set-to-reply-by-email-address/87786 "2018-05-17T23:20:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [2018 年 5 月 18 日午前 12:20 UTC](https://meta.discourse.org/t/spam-with-from-address-set-to-reply-by-email-address/87786/3 "2018-05-18T00:20:13Z")

</div>

What’s the `To` address on these e-mails? If Discourse is rejecting them, then it’s presumably an invalid recipient, in which case [the fast-rejection code](https://github.com/discourse/mail-receiver/commit/cddc3669beeb60080afb27afbc4fb4b39129b1af) might need to be tweaked a little to catch whatever it is you’re seeing. That’ll stop Discourse sending a rejection back to itself, because it’ll never even see the message.

Discourse shouldn’t be rejecting the rejection e-mail, though, because the initial rejection should be marked as auto-generated, and we shouldn’t be responding to auto-generated mail. Presumably one of those "should"s isn’t true, which is a bug.

Otherwise, it’s reasonable that Discourse ignore e-mail sent to it from its own address; I can’t think of a legitimate circumstance in which that would happen.

Finally, it’s not a particularly good idea to disable rejections _entirely_ for messages sent to mangled variations of the reply-to address; e-mail clients (and servers) are universally terrible, and do all manner of unspeakable things. Having a response back saying “everything is awful” is more user-friendly (in general) than blackholing mail.

---

_[View the full topic](https://meta.discourse.org/t/spam-with-from-address-set-to-reply-by-email-address/87786)._
